com php-src: Update UPGRADING with info about JSON decode error for empty string: UPGRADING

From: Date: Fri, 06 Mar 2015 18:41:43 +0000
Subject: com php-src: Update UPGRADING with info about JSON decode error for empty string: UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85300@lists.php.net to get a copy of this message
Commit: 9d037d574cc359405c7a818c2235644633705999 Author: Jakub Zelenka <bukka@php.net> Fri, 6 Mar 2015 18:41:43 +0000 Parents: 00c35cb6a52b2898f79d91738094a4d711de2553 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9d037d574cc359405c7a818c2235644633705999 Log: Update UPGRADING with info about JSON decode error for empty string Changed paths: M UPGRADING Diff: diff --git a/UPGRADING b/UPGRADING index d4b1d0a..9770c97 100644 --- a/UPGRADING +++ b/UPGRADING @@ -385,7 +385,8 @@ Other - JSON: . Rejected RFC 7159 incompatible number formats in json_decode string - top level (07, 0xff, .1, -.1) and all levels ([1.], [1.e1]) - . Empty PHP string passed to json_encode emits a JSON syntax error. + . Calling json_decode with 1st argument equal to empty PHP string or value that + after casting to string is empty string (NULL, FALSE) results in JSON syntax error. - Stream: . Removed set_socket_blocking() in favor of its alias stream_set_blocking().

« previous php.cvs (#85300) next »