cvs: php-src /ext/json/tests bug46215.phpt

From: Date: Fri, 23 Jan 2009 20:23:32 +0000
Subject: cvs: php-src /ext/json/tests bug46215.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-55903@lists.php.net to get a copy of this message
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

« previous php.cvs (#55903) next »