We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 958a987 commit cc74ab3Copy full SHA for cc74ab3
compat/json-exception-polyfill.php
@@ -1,6 +1,6 @@
1
<?php
2
3
-if (PHP_VERSION_ID < 70300) {
+if (PHP_VERSION_ID < 70300 && ! class_exists('JsonException')) {
4
class JsonException extends Exception
5
{
6
}
0 commit comments