wharmby Fri Jan 23 20:23:32 2009 UTC
Modified files:
/php-src/ext/json/tests bug46215.phpt
Log:
Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64
http://cvs.php.net/viewvc.cgi/php-src/ext/json/tests/bug46215.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/json/tests/bug46215.phpt
diff -u php-src/ext/json/tests/bug46215.phpt:1.1
php-src/ext/json/tests/bug46215.phpt:1.2
--- php-src/ext/json/tests/bug46215.phpt:1.1 Thu Oct 2 03:31:27 2008
+++ php-src/ext/json/tests/bug46215.phpt Fri Jan 23 20:23:32 2009
@@ -1,5 +1,11 @@
--TEST--
Bug #46215 (json_encode mutates its parameter and has some class-specific
state)
+--SKIPIF--
+<?php
+if (!extension_loaded("json")) {
+ die('skip JSON extension not available in this build');
+}
+?>
--FILE--
<?php
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php