svn: /php/php-src/branches/PHP_5_3/ext/json/tests/ bug54484.phpt
| From: | Christopher Jones | Date: | Fri, 17 Jun 2011 21:42:40 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_3/ext/json/tests/ bug54484.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-65244@lists.php.net to get a copy of this message | ||
sixd Fri, 17 Jun 2011 21:42:40 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312243
Log:
Remove duplicate lines present in PHP_5_3's .phpt (dtajchreber)
Changed paths:
U php/php-src/branches/PHP_5_3/ext/json/tests/bug54484.phpt
Modified: php/php-src/branches/PHP_5_3/ext/json/tests/bug54484.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/json/tests/bug54484.phpt 2011-06-17 20:26:35 UTC (rev 312242)
+++ php/php-src/branches/PHP_5_3/ext/json/tests/bug54484.phpt 2011-06-17 21:42:40 UTC (rev 312243)
@@ -23,28 +23,3 @@
int(0)
int(4)
int(0)
---TEST--
-Bug #54484 (Empty string in json_decode doesn't reset json_last_error)
---SKIPIF--
-<?php if (!extension_loaded("json")) print "skip"; ?>
---FILE--
-<?php
-json_decode('{"test":"test"}');
-var_dump(json_last_error());
-
-json_decode("");
-var_dump(json_last_error());
-
-
-json_decode("invalid json");
-var_dump(json_last_error());
-
-
-json_decode("");
-var_dump(json_last_error());
-?>
---EXPECT--
-int(0)
-int(0)
-int(4)
-int(0)