Skip to content

Commit 3240eb0

Browse files
committed
Merge branch '2.3' into 2.5
* 2.3: [SecurityBundle] Authentication entry point is only registered with firewall exception listener, not with authentication listeners be smarter when guessing the document root Azerbaijani locale Fixed grammar error in docblock Adjust upgrade file rendering [Bridge/Propel1] Changed deps to accepts all upcoming propel1 versions compare version using PHP_VERSION_ID [Form] Add doc for FormEvents don't override internal PHP constants Conflicts: UPGRADE-3.0.md src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php src/Symfony/Component/Debug/ErrorHandler.php src/Symfony/Component/HttpFoundation/Response.php
2 parents cbac7a2 + 8307ab1 commit 3240eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Encoder/JsonDecode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function decode($data, $format, array $context = array())
9999
$recursionDepth = $context['json_decode_recursion_depth'];
100100
$options = $context['json_decode_options'];
101101

102-
if (version_compare(PHP_VERSION, '5.4.0') >= 0) {
102+
if (PHP_VERSION_ID >= 50400) {
103103
$decodedData = json_decode($data, $associative, $recursionDepth, $options);
104104
} else {
105105
$decodedData = json_decode($data, $associative, $recursionDepth);

0 commit comments

Comments
 (0)