com php-src: Fix 64bit JSON test: ext/json/tests/pass001 .1_64bit.phpt

From: Date: Mon, 13 Aug 2012 16:43:03 +0000
Subject: com php-src: Fix 64bit JSON test: ext/json/tests/pass001 .1_64bit.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-69817@lists.php.net to get a copy of this message
Commit: f3192ea6e4405dded21cc81a6587374b019a6173 Author: Nikita Popov <nikic@saturn.(none)> Mon, 13 Aug 2012 18:42:16 +0200 Parents: 80d5ae3cea4c6fdd85789edfde0e2da721a0741b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f3192ea6e4405dded21cc81a6587374b019a6173 Log: Fix 64bit JSON test Changed paths: M ext/json/tests/pass001.1_64bit.phpt Diff: diff --git a/ext/json/tests/pass001.1_64bit.phpt b/ext/json/tests/pass001.1_64bit.phpt index 9c3e669..ff27144 100644 --- a/ext/json/tests/pass001.1_64bit.phpt +++ b/ext/json/tests/pass001.1_64bit.phpt @@ -90,10 +90,10 @@ $arr = json_decode($test, true); var_dump($arr); echo "ENCODE: FROM OBJECT\n"; -$obj_enc = json_encode($obj); +$obj_enc = json_encode($obj, JSON_PARTIAL_OUTPUT_ON_ERROR); echo $obj_enc . "\n"; echo "ENCODE: FROM ARRAY\n"; -$arr_enc = json_encode($arr); +$arr_enc = json_encode($arr, JSON_PARTIAL_OUTPUT_ON_ERROR); echo $arr_enc . "\n"; echo "DECODE AGAIN: AS OBJECT\n";

« previous php.cvs (#69817) next »