]> granicus.if.org Git - php/commitdiff
MFH: Fix skipif
authorArnaud Le Blanc <lbarnaud@php.net>
Wed, 20 May 2009 10:08:32 +0000 (10:08 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Wed, 20 May 2009 10:08:32 +0000 (10:08 +0000)
ext/soap/tests/interop/Round2/Base/r2_base_005p.phpt
ext/soap/tests/interop/Round2/Base/r2_base_005s.phpt
ext/soap/tests/interop/Round2/Base/r2_base_005w.phpt
sapi/cli/tests/006.phpt

index d8f91d328e2bc8262304b5f17393f023570db261..22bab4eae3fcfd86a32d267d59672e81d15088c4 100644 (file)
@@ -2,6 +2,7 @@
 SOAP Interop Round2 base 005 (php/direct): echoString(utf-8)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
+<?php if (!function_exists('utf8_encode')) die('skip utf8_encode() not available'); ?>
 --FILE--
 <?php
 $client = new SoapClient(NULL,array("location"=>"test://","uri"=>"http://soapinterop.org/","trace"=>1,"exceptions"=>0));
index 116e14faac0850ca5a206d3354eced915ef807b7..f94c06f58c318e41e1aefc654c6a62f09a4493ff 100644 (file)
@@ -2,6 +2,7 @@
 SOAP Interop Round2 base 005 (soap/direct): echoString(utf-8)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
+<?php if (!function_exists('utf8_encode')) die('skip utf8_encode() not available'); ?>
 --FILE--
 <?php
 $client = new SoapClient(NULL,array("location"=>"test://","uri"=>"http://soapinterop.org/","trace"=>1,"exceptions"=>0));
index 728b4f5c58bf3e72ccf7910fd8f5c558270b70f2..3bb1368b97b196de649b3cbc573a116ffb7476a3 100644 (file)
@@ -2,6 +2,7 @@
 SOAP Interop Round2 base 005 (php/wsdl): echoString(utf-8)
 --SKIPIF--
 <?php require_once('skipif.inc'); ?>
+<?php if (!function_exists('utf8_encode')) die('skip utf8_encode() not available'); ?>
 --INI--
 soap.wsdl_cache_enabled=0
 --FILE--
index f9d24322470fc85692fc97d9f5e8dbe917e99218..e322d7ef71838c097b6eb6ffa65840fc292b5d47 100644 (file)
@@ -3,7 +3,7 @@ show information about extension
 --SKIPIF--
 <?php 
 include "skipif.inc"; 
-if (!extension_loaded("reflection")) {
+if (!extension_loaded("reflection") || !extension_loaded("session")) {
        die("skip");
 }
 ?>