]> granicus.if.org Git - php/commitdiff
Drop SKIPIF check for ext/reflection.
authorSebastian Bergmann <sebastian@php.net>
Sat, 24 May 2008 13:34:22 +0000 (13:34 +0000)
committerSebastian Bergmann <sebastian@php.net>
Sat, 24 May 2008 13:34:22 +0000 (13:34 +0000)
92 files changed:
ext/reflection/tests/001.phpt
ext/reflection/tests/002.phpt
ext/reflection/tests/003.phpt
ext/reflection/tests/004.phpt
ext/reflection/tests/005.phpt
ext/reflection/tests/006.phpt
ext/reflection/tests/007.phpt
ext/reflection/tests/008.phpt
ext/reflection/tests/009.phpt
ext/reflection/tests/026.phpt
ext/reflection/tests/ReflectionMethod_basic1.phpt
ext/reflection/tests/ReflectionMethod_basic2.phpt
ext/reflection/tests/ReflectionMethod_basic3.phpt
ext/reflection/tests/ReflectionMethod_basic4.phpt
ext/reflection/tests/ReflectionMethod_constructor_basic.phpt
ext/reflection/tests/ReflectionMethod_getDeclaringClass_basic.phpt
ext/reflection/tests/ReflectionMethod_getDocComment_basic.phpt
ext/reflection/tests/ReflectionMethod_getDocComment_error.phpt
ext/reflection/tests/ReflectionMethod_getModifiers_basic.phpt
ext/reflection/tests/ReflectionMethod_getStaticVariables_basic.phpt
ext/reflection/tests/ReflectionMethod_invokeArgs_basic.phpt
ext/reflection/tests/ReflectionMethod_invokeArgs_error1.phpt
ext/reflection/tests/ReflectionMethod_invokeArgs_error2.phpt
ext/reflection/tests/ReflectionMethod_invokeArgs_error3.phpt
ext/reflection/tests/ReflectionMethod_invoke_basic.phpt
ext/reflection/tests/ReflectionMethod_invoke_error1.phpt
ext/reflection/tests/ReflectionMethod_invoke_error2.phpt
ext/reflection/tests/ReflectionMethod_returnsReference_basic.phpt
ext/reflection/tests/bug26640.phpt
ext/reflection/tests/bug26695.phpt
ext/reflection/tests/bug29268.phpt
ext/reflection/tests/bug29523.phpt
ext/reflection/tests/bug29828.phpt
ext/reflection/tests/bug29986.phpt
ext/reflection/tests/bug30146.phpt
ext/reflection/tests/bug30148.phpt
ext/reflection/tests/bug30209.phpt
ext/reflection/tests/bug30856.phpt
ext/reflection/tests/bug30961.phpt
ext/reflection/tests/bug31651.phpt
ext/reflection/tests/bug32981.phpt
ext/reflection/tests/bug33312.phpt
ext/reflection/tests/bug33389.phpt
ext/reflection/tests/bug36308.phpt
ext/reflection/tests/bug36337.phpt
ext/reflection/tests/bug36434.phpt
ext/reflection/tests/bug37816.phpt
ext/reflection/tests/bug38132.phpt
ext/reflection/tests/bug38194.phpt
ext/reflection/tests/bug38217.phpt
ext/reflection/tests/bug38465.phpt
ext/reflection/tests/bug38653.phpt
ext/reflection/tests/bug38942.phpt
ext/reflection/tests/bug39001.phpt
ext/reflection/tests/bug39067.phpt
ext/reflection/tests/bug39884.phpt
ext/reflection/tests/bug40431.phpt
ext/reflection/tests/bug40794.phpt
ext/reflection/tests/bug41061.phpt
ext/reflection/tests/parameters_001.phpt
ext/reflection/tests/parameters_002.phpt
ext/reflection/tests/property_exists.phpt
ext/reflection/tests/reflectionClass_getExtensionName_basic.phpt
ext/reflection/tests/reflectionClass_getExtensionName_variation.phpt
ext/reflection/tests/reflectionClass_getExtension_basic.phpt
ext/reflection/tests/reflectionClass_getExtension_variation.phpt
ext/reflection/tests/reflectionClass_getInterfaceNames_basic.phpt
ext/reflection/tests/reflectionClass_getModifiers_basic.phpt
ext/reflection/tests/reflectionClass_getParentClass.phpt
ext/reflection/tests/reflectionClass_hasConstant_basic.phpt
ext/reflection/tests/reflectionClass_hasMethod_basic.phpt
ext/reflection/tests/reflectionClass_hasProperty_basic.phpt
ext/reflection/tests/reflectionClass_isAbstract_basic.phpt
ext/reflection/tests/reflectionClass_isFinal_basic.phpt
ext/reflection/tests/reflectionClass_isInterface_basic.phpt
ext/reflection/tests/reflectionClass_isIterateable_basic.phpt
ext/reflection/tests/reflectionClass_isIterateable_variation1.phpt
ext/reflection/tests/reflectionProperty_basic1.phpt
ext/reflection/tests/reflectionProperty_basic2.phpt
ext/reflection/tests/reflectionProperty_constructor_error.phpt
ext/reflection/tests/reflectionProperty_error.phpt
ext/reflection/tests/reflectionProperty_export_basic.phpt
ext/reflection/tests/reflectionProperty_export_error.phpt
ext/reflection/tests/reflectionProperty_getDeclaringClass_variation1.phpt
ext/reflection/tests/reflectionProperty_getDocComment_basic.phpt
ext/reflection/tests/reflectionProperty_getDocComment_error.phpt
ext/reflection/tests/reflectionProperty_getModifiers_basic.phpt
ext/reflection/tests/reflectionProperty_getValue_error.phpt
ext/reflection/tests/reflectionProperty_isDefault_basic.phpt
ext/reflection/tests/reflectionProperty_setAccessible.phpt
ext/reflection/tests/reflectionProperty_setValue_error.phpt
ext/reflection/tests/static_properties_002.phpt

index 8e4a487298c0cca589d7c0aa2580b988058fc830..f68afc950e3ef6dab8326a61fe01f3aa735cbac9 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection inheritance
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index e522ac807a59d9032394af9b6cbe3dbc47da8765..195aeb23e7d9fa24d2c9134d6411d928d8934848 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection properties are read only
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index af8d82d5762692cd34f3c957769c88a058fab5c3..80bf0a65130f549c2341d2a140e1f3b12a6323d3 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invoke() with base class method
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 362cbcecdda8e9d0ebbf42c624541dfed917dcdc..2c81c506bea3008dfc88b317a7245e4971340008 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invoke() with non object or null value
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index bedc7d032661c1c1d9d52f94e5ffe09b44429b5c..f337e44ae684a841c576ef6912269ed6be2f805c 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::getDocComment() uses wrong comment block
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 9e97ae4654e4efa4162bd2cbab6b0543fe9b3e79..89c438765a1f4a3ce88ed408034ba0503ea46d74 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::[gs]etStaticPropertyValue
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 83764e551545b9bef7841013f117360f608754ab..004158ccffad61b3199e1eff9e6ce6e49d2af409 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::newInstance[Args]
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index c5ee5b33e11a9aea56141d0994c39b5c76a58f6c..2abdcdb57b5dba29ecbd6d345b6ed9f5b44b0124 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::__construct() tests
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index bfe37c52f9455e2653d4afbc4bda0c679f87a8f5..e96b21ebaf2687936c7fa39ddccecddb11317da2 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionFunction basic tests
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 8043cb835600d178fd13e8839a479c343fe28805..dc4c4a39232ae7ebc46b17b8cdc7bea30923f7cc 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionExtension::info()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 $r = new ReflectionExtension("reflection");
index 8671c5acb72c63894833c9c6ce277a48db102d5d..75ab957690c1f4f029b88b694981ae8087700320 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod class - various methods
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 56ddb7fce7f23f54a0e3e7217032994f544cb96c..1e21c427e4d9f7fc8ad0690a16a3408c560f1814 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod class __toString() and export() methods
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 3bc5171386c5090ed08ac47e0c79fc06101d5354..7b65927667df824c838d3ecf79b7d36f9f104902 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod class getName(), isInternal() and isUserDefined() methods
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 9aac8c67f16f8f080bbe73bc4b1e95edaeff761c..82672e44f582bf2280314fe32d1dcda140ddf658 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod class getFileName(), getStartLine() and getEndLine() methods
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 5655b0eeabc45f6c4f06ae4cc6e47d2a02e8282d..dcc6080b425e394b7de703cfe95354d3d7dcbf39 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::isConstructor()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index f043e5247acffcaf218b71852bc5d4b776bdde31..6afc70032a5ecc8f808a2c921765ec4c7e85d1b8 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::getDeclaringClass()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 542ddf01412b9f78140d1007dfdf6f25f858f783..c01f689cf483f5d1c6f4f31b31cac9d93b192b86 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::getDocComment()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 /**
@@ -112,4 +110,4 @@ string(%d) "/** My Doc Comment for B::protStatf
 string(%d) "/**
 
      * My Doc Comment for A::finalStatPubf
-     */"
\ No newline at end of file
+     */"
index 041d17ef3282ee5eaed2de44543067ab917f09da..b3e4d9e30f7ac9f8f721a95c0e340e0a68570876 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::getDocComment() errors
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class C { function f() {} }
index 74b96f8eef3baf33631e2d9b2c54ae2b09260ff9..3e6ddc6b2c2fe86e5cec75328f2520ee169c323f 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::getModifiers()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 1a3d7c8ea95e6ca81400192d548b8a1a03fa4d5a..4c50b96b9d867f3331f064b45bc5db5a6b0e7541 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::getStaticVariables()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
@@ -62,4 +60,4 @@ array(0) {
 
 Internal Method:
 array(0) {
-}
\ No newline at end of file
+}
index b6dd1c90f7c0127e07dd9c9d9818ac0fb6b62a6c..24282cda46753bcf15611f7af398bb73b2480cee 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invokeArgs()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 19b7fe2885477c2d34d4605c06b3e62e2823bb7c..ac97e3ed2a4470500957880a58955e02d3d80250 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod:invokeArgs() errors
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index ebdf9730b0e8f586b7f67f6c73d69303b72f5d36..2ec41c2ddbf183d87443c2cfff66ad9b44a672ab 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invokeArgs() further errors
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 834f35d668d920290e1be2d9d9dfc84a82a0defa..a0a336a9ae3223bccf7072782b93e28ebd511905 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invokeArgs() further errors
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index c08b915e805bbe00b8ae07934b9b04cbbf2a55ae..c03a510e5bfb27cbc58ce9aeb50fa7b7e077238d 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invoke()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 2846a13c6ad6de47bb6f493ff3958c2933df7b75..758f1acd133be681ffa7fe5daa7cf83fd30301d3 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invoke() errors
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index cb3b1c2d2a6f1f9fbf57f16d8dfd770b9bdee9dd..a070c8f583131d6d23ddb75498febe3d50baad86 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::invoke() further errors
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index b3a1f8c00cedcd2b51ff94c22f18fd1d6ebce497..f1fd205118b72cb5762905471bc68495de753d80 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionMethod::returnsReference()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 026e67561a9fd1f96c87b46f666fcc8e08087f5c..e375fd4f89b75054b7fe9a74e0382a2bf7e1654f 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #26640 (__autoload() not invoked by Reflection classes)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 22619d4f1a1e5f6443c01a8873c3d8520d04684e..e429f766e9e4802bc848207ebd5243d1c8be20a6 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
@@ -24,4 +22,4 @@ var_dump($class->getName());
 ===DONE===
 --EXPECT--
 string(3) "Foo"
-===DONE===
\ No newline at end of file
+===DONE===
index cd8f9b8ed17a91217e6f93967f3d39ce9d70e024..d8efc0b06e8d44e4aa55d53b61c468194fc35179 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #29268 (__autoload() not called with reflectionProperty->getClass())
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 function __autoload($classname) {
index ac83cc789b824724aa6d8cdda537d267a82b5e9f..e74403c6a631202177b0db889e31fe20cbd1c077 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #29523 (ReflectionParameter::isOptional() is incorrect)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 7d4de40c12a1ba8d901a5e53108043976d7140bf..43e32d2116e09ee3dec17c94e01383a7f3472817 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #29828 (Interfaces no longer work)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 062eff6f92c8caa885c97da8221c7d8dfbdccb5d..d30b3a6f886c52f8b1dd99d159d93b1f736ad770 100644 (file)
@@ -2,8 +2,6 @@
 Reflection Bug #29986 (Class constants won't work with predefined constants when using ReflectionClass)
 --INI--
 precision=14
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class just_constants
index 3a7ce92a01c5ae2c5d013e7e293550eeae0e19eb..3f621414f155af96aeb0616549c7a69367db4115 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #30146 (ReflectionProperty->getValue() requires instance for static property)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class test {
@@ -22,4 +20,4 @@ var_dump($r->getValue());
 int(1)
 int(2)
 int(3)
-===DONE===
\ No newline at end of file
+===DONE===
index d058aaa248c1c78bfbbc79afec7d5d41166ce3fb..aa5841ee5bebd7114327051b415385a58c9d4d38 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #30148 (ReflectionMethod->isConstructor() fails for inherited classes)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
@@ -34,4 +32,4 @@ bool(false)
 bool(true)
 bool(false)
 bool(true)
-===DONE===
\ No newline at end of file
+===DONE===
index bab16ee35ec0d5bcce979bbfbadaf387059ba299..2735a741e2d7e1a5438322c8a66ffe0aec722490 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index e5f06ab0570dc135b7c7ca5984b2adaac8435479..39fc1104abb219927a9926be6290561ff00c3086 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #30856 (ReflectionClass::getStaticProperties segfaults)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class bogus {
index dab07417b312d1f792cfc16a5579f19acf65191e..a61c992ec61010d407ee4b8de670274d16785768 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
     class a
index 66a56c0f472ae8ef4de1da220b93d76198212f47..59f19eae5d69dbdc802c5dd05adcd13a53e43267 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays.)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 53214d7aa0dfc705fb4745b65f952fde140688aa..573567458547e78b58cd15002e37be6ac6f35950 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index b39ec3c6f1baab6d446161f91ae3c111a8368977..ffa9180fceaeafd95e90af0d9c7ee75a1c83517a 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #33312 (ReflectionParameter methods do not work correctly)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class Foo {
index d2a84e212d4b3247ab791d2ee2772eef61f9607d..f1997a397c246c2836451d849654ece9c933ec96 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #33389 (double free() when exporting a ReflectionClass)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 define ('foobar', 1);
index 52717b474a5ff2f14d1988f24912daa0d6b06651..79aa5f8fa12f14b9dd036f2bae56c870be6097e5 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class Base {
@@ -19,4 +17,4 @@ $props = $reflect->getProperties();
 echo $props[0]->getDocComment();
 ?>
 --EXPECT--
-/** Extended commentary */
\ No newline at end of file
+/** Extended commentary */
index 8ec928fc8915ad282748d607d605a3ef0fca75f0..369d5bef1a4b2441fd2da9fd75aea34153686083 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #36337 (ReflectionProperty fails to return correct visibility)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index e305c657a8baee5fa6899338e6ebc0d7ebf00a6c..218055d546743a3dfb55b395e53cfc51ec9dd93a 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #36434 (Properties from parent class fail to indetify their true origin)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class ancester
index 1121d541882bc6bd01950d5b9b5694412c966178..18a49046dc799358ab701359cbf0956e8f32dbc2 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #37816 (ReflectionProperty does not throw exception when accessing protected attribute)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index aeb6246b89f29475ede6d74c0defc9f8a6e20531..16e56411f23a0f7d3b87af0d5582ad49ac516121 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key names)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class foo {
index 5c888af59d9a6b025d4771e484d42c8696d4ae9e..d12f4e4a7786061f5248644b2150117f8add3167 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the class itself)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class Object { }
index 590d7f79eb515a930c2f9ac0d5a75bd0bc62a492..cf007d95478e6a235f6d4db5706025c4f7b2a3e9 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too much memory)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 1c703cb30e0d701bc10bb11211212233ec6e5fcf..f40d487a904444efb058c3aacbdd018104561d07 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #38465 (ReflectionParameter fails on access to self::)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class Baz {
index 0e6fcd035f5266bb32c2f49ae1c5de579fe09835..68781d2aba1e1141cf64aa78e2134e571922a377 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #38653 (memory leak in ReflectionClass::getConstant())
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index a02f596aff3fa3806183dc5d6ec52914bad3771d..817190c997041837ea942351836e63fbd686ddd6 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #38942 (Double old-style-ctor inheritance)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class foo {
index 59bab0291a93de93ce5af5f758a7d7f5b090a36e..1ed675f029e167f96bca00cf2534d807f0fe0ca1 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #39001 (ReflectionProperty returns incorrect declaring class for protected properties)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 020ae74e419ec14f68ff12905c7492b6a7bfa3f2..8a7a6044e1b90a82b13c81139feec64219389f0f 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #39067 (getDeclaringClass() and private properties)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 8022954bf2d7a53d4f4384907415f3876dfedd1e..dbc57ee5210971f76c0449c5c791472ff4aacede 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #39884 (ReflectionParameter::getClass() throws exception for type hint self)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 class stubParamTest
index 2f2b2d932eac14d173147c16172553508468bd44..6e6e4c5eb16bc1724f13cae07f3d480bd88958b5 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Bug #40431 (dynamic properties may cause crash in ReflectionProperty methods)
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index ca4f3e92b9fb11c121a7c3c957b9906efd4d5113..bb93b91280ce28d095ad9420730307f4c5862423 100644 (file)
@@ -1,11 +1,5 @@
 --TEST--
 Bug #40794 (ReflectionObject::getValues() may crash when used with dynamic properties)
---SKIPIF--
-<?php
-if (!extension_loaded("reflection")) {
-       die("skip");
-}
-?>
 --FILE--
 <?php
 
index 977828ef65da5a81076eaf03a2163c1a893b6cdf..771cd408d9da5074e12400d366b85581007ca533 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection Bug #41061 ("visibility error" in ReflectionFunction::export())
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 62cd069b6024cebaee03c8dd6c3f6a42d98a8fef..972b97c1c73ad2633c03e1d3111d8b144acf6426 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionParameter Check for parameter being optional
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 6f911448c26a6fc4f672b86bfb0e3ff72c562b02..a86191042f8f5be4f8434ec139773b9d56398ecf 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionParameter::getClass(), getDeclaringClass(), getDeclaringFunction()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 8fd45f2b8caa024b5ba921abd296b560f8ab9583..aa8e1142482d6f76113c3e29ab3c042f3af0248e 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection and property_exists()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 7813cca315d98c7e22ceedbef01dcc55bbcfdf10..310b22e69581feb5031eb7e933f11ec066f7d0eb 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 ReflectionClass::getExtensionName() method - basic test for getExtensionName() method
 --SKIPIF--
-<?php extension_loaded('reflection') && extension_loaded('dom') or die('skip - reflection or dom extension not loaded'); ?>
+<?php extension_loaded('dom') or die('skip - dom extension not loaded'); ?>
 --CREDITS--
 Rein Velt <rein@velt.org>
 #testFest Roosendaal 2008-05-10
index 35372c4f841488735a1c9f73e04360cb1ae191ec..998355cc7cbd9a35dd256a96616a99e50e3ae018 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::getExtensionName() method - variation test for getExtensionName()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Rein Velt <rein@velt.org>
 #testFest Roosendaal 2008-05-10
@@ -17,4 +15,4 @@ Rein Velt <rein@velt.org>
        var_dump( $rc->getExtensionName()) ;
 ?>
 --EXPECT--
-bool(false)
\ No newline at end of file
+bool(false)
index efc1ed8eed9b2f62750bf53eb04f28bd56771673..dbe157acd6dab483ee818d11923d79d6fa69dccd 100644 (file)
@@ -1,7 +1,7 @@
 --TEST--
 ReflectionClass::getExtension() method - basic test for getExtension() method
 --SKIPIF--
-<?php extension_loaded('reflection') && extension_loaded('dom') or die('skip - reflection or dom extension not loaded'); ?>
+<?php extension_loaded('dom') or die('skip - dom extension not loaded'); ?>
 --CREDITS--
 Rein Velt <rein@velt.org>
 #testFest Roosendaal 2008-05-10
@@ -14,4 +14,4 @@ Rein Velt <rein@velt.org>
 object(ReflectionExtension)#%d (1) {
   ["name"]=>
   string(3) "dom"
-}
\ No newline at end of file
+}
index f2272777a0e9cc5b9ae8533ae74902b605280d6c..5409504716bdcbfd9e1dce8dd677141282bdeb85 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::getExtension() method - variation test for getExtension()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Rein Velt <rein@velt.org>
 #testFest Roosendaal 2008-05-10
@@ -17,4 +15,4 @@ Rein Velt <rein@velt.org>
        var_dump( $rc->getExtension()) ;
 ?>
 --EXPECT--
-NULL
\ No newline at end of file
+NULL
index abbaa35f5c2b3da6201fbf4e165eee0df6178d16..6681c9f3161beea266d5fc18c0c983c7afd5d164 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::getInterfaceNames()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Michelangelo van Dam <dragonbe@gmail.com>
 #testfest roosendaal on 2008-05-10
index fad4e318c331d3e7eb23592daf2ad481d4018848..65f23c935f91e6b9e875c45241e157db80bddaf5 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::getModifiers()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>
 --FILE--
@@ -36,4 +34,4 @@ int(64)
 int(128)
 int(524288)
 int(524416)
-int(0)
\ No newline at end of file
+int(0)
index c73aeaa84e6fdce24774a5148f4502dab0493d8f..46884ca2ba4ad32840a39686e927b53f0eb58f5e 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::getParentClass()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Michelangelo van Dam <dragonbe@gmail.com>
 #testfest roosendaal on 2008-05-10
index 75d3d30e782dade64b3ac8e7b286669302083b6a..0ff2523d6ff5b271e07f5dd163843fb4995ae71a 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::hasConstant()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Marc Veldman <marc@ibuildings.nl>
 #testfest roosendaal on 2008-05-10
index 700218951f4bed2402940af7c490b790327dd51b..fa4ee482b25b3f173af20598a9aef22d2e96e455 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::hasMethod()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Marc Veldman <marc@ibuildings.nl>
 #testfest roosendaal on 2008-05-10
index 26ca6a4cd58d15162445ee7da4030ebd8625fc72..d6dda7c2a39864d324d7afdacbfdf20701aa9ab0 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::hasProperty()
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Marc Veldman <marc@ibuildings.nl>
 #testfest roosendaal on 2008-05-10
index 7a3d577ef6a48aa5b1745e72dda3ba87eba4fae7..a7d19829a860e3ed3324c42771040586e9377684 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::isAbstract() method
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>
 #testfest roosendaal on 2008-05-10
index efa131724e3a0da62fd86d041bb59c58b8a16588..57e577ad5ff97b104dc49df9f213c136afcdacc8 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::isFinal() method
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>
 #testfest roosendaal on 2008-05-10
index 2e5c6302d837840ec47938191e7a4961044614fb..66c9ae7d094c276f63a7f1712203fe752dcee7d0 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::isInterface() method
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>
 #testfest roosendaal on 2008-05-10
index cfcf799e38f7394dbc9e994061fa80f9af0f3b37..8b65b9a0bd996914816457f333608dee5db6911d 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::isIterateable() basic
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>, Marc Veldman <marc@ibuildings.nl>
 --FILE--
index 654a37ec99ab49167f2489400d7e2d7c77b46ed8..f6d0d5346a82c1c1fadbd86f284c68a5a1c338a6 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 ReflectionClass::isIterateable() variations
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip - reflection extension not loaded'); ?>
 --CREDITS--
 Felix De Vliegher <felix.devliegher@gmail.com>
 --FILE--
index f7c1c8f10d530a9ce9628d47bc5e71f250b32422..63f9542015e4fd97ec113c8b1ae8711d471a314e 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test usage of ReflectionProperty methods __toString(), export(), getName(), isPublic(), isPrivate(), isProtected(), isStatic(), getValue() and setValue().
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index f2b5ff4fb9578c62ed28c87a775093a7538317fd..b7b21333d323fa033c5f6f4c795ddb0d611e7dc9 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test usage of ReflectionProperty methods isDefault(), getModifiers(), getDeclaringClass() and getDocComment().
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 46cdc87ea983867174ce9abf9a442862530d7b37..38a34681db276c9b49267e4dbb6bc466f396470b 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty class constructor errors.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index bae255c2328bfbc06c78dae065f1d1fce13429a9..441d4d2b5e0de7170e8039fbddbb7fa743b7d1bc 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty class errors.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 331fdb6a28265d006d91e8746db10d83e92ce13b..e77a3b714a1cb706d39d9e1e02bf7546429c63d7 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::export() usage.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 9351846f6bc5112ab3ef12754b7e1d5fcc7a8a63..ab09ed01f0d4de869dd179308909891478fe4f7b 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::export() errors.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 3df3b26055c1f64a4df28779f28e67c8a1a92595..f4a3a0f543e5a5673858d7251f7e168d8726bca1 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::getDeclaringClass() with inherited properties.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 44416b7fcb2a2b2b8a88c3dd054ead940f6428a9..2c4815a35b8e39c21bd965124b674f1ce508e24c 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::getDocComment() usage.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 8c1b68e81f17a3e9d5ee6960ef56dae7b05dc693..12a62173c3ee2c35eb1125524564198ed2c4861a 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::getDocComment() errors.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 907a7e7be2359bc5ece8c4c109667d1c24558cc6..0d1b6bd13a2b361051ad40debbc003c8d05eddfe 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::getModifiers() usage.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
@@ -45,4 +43,4 @@ D::a4: int(257)
 C::a5: int(513)
 D::a5: int(513)
 C::a6: int(1025)
-D::a6: int(3073)
\ No newline at end of file
+D::a6: int(3073)
index acfc3b0a09f6fed953167c40b4b88196b2cf0b82..c2152e9f8708e9a64a4294017b25fbfbf0b7233d 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::getValue() errors.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 57c3d0f3ccaae84fa9791b801f66b250cc6c52b6..99f7c8bbc6d6c23cd6476e537e56f01b692f2fe2 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::isDefault() usage.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 5e26b2808aad0bf36cc9f11c707b55c1afd4c0a6..c48a828e6bf089b4481db11a3235cde6bd18d56b 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::setAccessible().
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 960778235c06eff30276af59bf4881d91e2fa8d0..7161c5352945d4ba3d790b9b81bb337958728cd9 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 Test ReflectionProperty::setValue() error cases.
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
index 0713af40c44b39bd0d898da2c451163afb5a5f11..218c629cdbfc81acb776620090efe627c77f4ed0 100755 (executable)
@@ -1,7 +1,5 @@
 --TEST--
 Reflection and inheriting static properties
---SKIPIF--
-<?php extension_loaded('reflection') or die('skip'); ?>
 --FILE--
 <?php
 
@@ -59,4 +57,4 @@ derived::inc()
 base::show(3)
 derived::show(3)
 Number of properties: 1
-Done
\ No newline at end of file
+Done