I have the following code that works on php 5.6 but throws Zend_Json_Exception on PHP7. ``` php Zend_Json::decode(null); Zend_Json::decode(''); ``` Each call causes Zend_Json_Exception. ``` Zend_Json_Exception: Decoding failed: Syntax error ``` This bug caused by https://bugs.php.net/bug.php?id=71718 Code: ``` php Zend_Json::$useBuiltinEncoderDecoder = true; Zend_Json::decode(null); Zend_Json::decode(''); ``` runs without exceptions.
I have the following code that works on php 5.6 but throws Zend_Json_Exception on PHP7.
Each call causes Zend_Json_Exception.
This bug caused by https://bugs.php.net/bug.php?id=71718
Code:
runs without exceptions.