jani            Thu Apr 30 09:50:49 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/soap/tests/bugs        bug41477.phpt 
  Log:
  - It is possible to disable reflection extension in PHP_5_2
  
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/tests/bugs/bug41477.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/soap/tests/bugs/bug41477.phpt
diff -u php-src/ext/soap/tests/bugs/bug41477.phpt:1.1.2.1 
php-src/ext/soap/tests/bugs/bug41477.phpt:1.1.2.2
--- php-src/ext/soap/tests/bugs/bug41477.phpt:1.1.2.1   Sun May 27 17:46:46 2007
+++ php-src/ext/soap/tests/bugs/bug41477.phpt   Thu Apr 30 09:50:48 2009
@@ -1,7 +1,10 @@
 --TEST--
 Bug #41477 (no arginfo about SoapClient::__soapCall())
 --SKIPIF--
-<?php require_once('skipif.inc'); ?>
+<?php
+if (!extension_loaded("reflection")) die("skip");
+require_once('skipif.inc');
+?>
 --FILE--
 <?php
 $objRfClass = new ReflectionClass('SoapClient');
@@ -9,7 +12,7 @@
 $arrParams = $objRfMethod->getParameters();
 foreach($arrParams as $objRfParam)
 {
-        var_dump($objRfParam->getName());
+       var_dump($objRfParam->getName());
 }
 ?>
 --EXPECT--



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to