Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2933124
D25808.1737751224.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
882 B
Referenced Files
None
Subscribers
None
D25808.1737751224.diff
View Options
diff --git a/src/utils/utils.php b/src/utils/utils.php
--- a/src/utils/utils.php
+++ b/src/utils/utils.php
@@ -1449,22 +1449,7 @@
$trap = new PhutilErrorTrap();
try {
- $have_call = false;
- if (function_exists('parse_ini_string')) {
- if (defined('INI_SCANNER_RAW')) {
- $results = @parse_ini_string($string, true, INI_SCANNER_RAW);
- $have_call = true;
- }
- }
-
- if (!$have_call) {
- throw new PhutilMethodNotImplementedException(
- pht(
- '%s is not compatible with your version of PHP (%s). This function '.
- 'is only supported on PHP versions newer than 5.3.0.',
- __FUNCTION__,
- phpversion()));
- }
+ $results = @parse_ini_string($string, true, INI_SCANNER_RAW);
if ($results === false) {
throw new PhutilINIParserException(trim($trap->getErrorsAsString()));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 20:40 (5 d, 16 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113936
Default Alt Text
D25808.1737751224.diff (882 B)
Attached To
Mode
D25808: Remove an outdated PHP 5.3 check in utils
Attached
Detach File
Event Timeline
Log In to Comment