]> granicus.if.org Git - php/commitdiff
Fix tests. Add missing SKIPIF. Tested on Windows, Linux and Linux 64
authorandy wharmby <wharmby@php.net>
Fri, 23 Jan 2009 20:23:32 +0000 (20:23 +0000)
committerandy wharmby <wharmby@php.net>
Fri, 23 Jan 2009 20:23:32 +0000 (20:23 +0000)
ext/json/tests/bug46215.phpt

index da3344fec04ec769718e30c5f0b8e30683342f24..0ac460cc15fde571f7c0828923ec756c2c4d44b9 100644 (file)
@@ -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