/PHP-7.1/Zend/tests/varSyntax/ |
H A D | newVariable.phpt | 6 $className = 'stdClass'; 7 $array = ['className' => 'stdClass']; 8 $obj = (object) ['className' => 'stdClass']; 11 public static $className = 'stdClass'; 16 var_dump(new $className); 17 var_dump(new $array['className']); 18 var_dump(new $array{'className'}); 19 var_dump(new $obj->className); 20 var_dump(new Test::$className); 21 var_dump(new $test::$className); [all …]
|
/PHP-7.1/scripts/dev/generate-phpt/src/ |
H A D | gtMethod.php | 8 private $className; variable in gtMethod 19 * @param string $className 22 public function __construct($className, $methodName) { argument 23 $this->className = $className; 33 $reflectionClass = new ReflectionClass($this->className); 49 $methodClass = new reflectionMethod($this->className, $this->methodName); 88 return $this->className;
|
/PHP-7.1/Zend/tests/ |
H A D | lsb_010.phpt | 7 protected static $className = 'Foo'; 9 echo static::$className . "::bar\n"; 12 echo static::$className . "::__construct\n"; 15 echo static::$className . "::__destruct\n"; 20 protected static $className = 'FooChild';
|
H A D | bug49908.phpt | 6 function __autoload($className) { 7 var_dump($className); 9 if ($className == 'Foo') { 12 throw new Exception($className);
|
H A D | bug42798.phpt | 5 function __autoload($className) { 6 print "$className\n";
|
/PHP-7.1/ext/spl/tests/ |
H A D | spl_autoload_005.phpt | 10 function autoLoad($className) 12 echo __METHOD__ . "($className)\n"; 15 function autoThrow($className) 17 echo __METHOD__ . "($className)\n";
|
H A D | spl_autoload_008.phpt | 8 function MyAutoLoad($className) 10 echo __METHOD__ . "($className)\n"; 16 static function autoLoad($className) 18 echo __METHOD__ . "($className)\n"; 22 function dynaLoad($className) 24 echo __METHOD__ . "($className)\n";
|
H A D | spl_autoload_007.phpt | 10 static protected function noAccess($className) { 11 echo __METHOD__ . "($className)\n"; 14 static function autoLoad($className) { 15 echo __METHOD__ . "($className)\n"; 18 function dynaLoad($className) { 19 echo __METHOD__ . "($className)\n";
|
H A D | spl_autoload_006.phpt | 10 static function autoLoad($className) { 11 echo __METHOD__ . "($className)\n";
|
H A D | spl_autoload_004.phpt | 10 static function autoLoad($className) { 11 echo __METHOD__ . "($className)\n";
|
/PHP-7.1/scripts/dev/generate-phpt/src/setup/preconditions/ |
H A D | gtIsValidClass.php | 11 $className = $clo->getOption('c'); 12 if( in_array( $className, get_declared_classes() ) ) {
|
H A D | gtIsValidMethod.php | 11 $className = $clo->getOption('c'); 12 $class = new ReflectionClass($className);
|
/PHP-7.1/ext/reflection/tests/ |
H A D | ReflectionObject_isSubclassOf_basic.phpt | 15 foreach ($classNames as $className) { 16 $rcs[$className] = new ReflectionClass($className); 20 foreach ($classNames as $className) { 21 if ($rcs[$className]->isInstantiable()) { 22 $ros[$className] = new ReflectionObject(new $className);
|
H A D | ReflectionClass_isSubclassOf_basic.phpt | 14 foreach ($classNames as $className) { 15 $rcs[$className] = new ReflectionClass($className);
|
H A D | ReflectionClass_implementsInterface_001.phpt | 17 foreach ($classNames as $className) { 18 $rcs[$className] = new ReflectionClass($className);
|
/PHP-7.1/ext/xsl/tests/ |
H A D | bug33853.phpt | 8 function __autoload($className) { 9 var_dump($className);
|
/PHP-7.1/tests/lang/ |
H A D | foreachLoopIteratorAggregate.002.phpt | 31 function f($className) { 33 foreach (new $className as $k=>$v) {
|
/PHP-7.1/ext/standard/tests/class_object/ |
H A D | class_exists_basic_001.phpt | 13 function __autoload($className) { 14 echo "In __autoload($className)\n";
|
H A D | method_exists_variation_001.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|
H A D | get_parent_class_variation_002.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|
H A D | is_subclass_of_variation_001.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|
H A D | is_subclass_of_variation_004.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|
H A D | class_exists_variation_001.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|
H A D | is_subclass_of_variation_002.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|
H A D | method_exists_variation_002.phpt | 11 function __autoload($className) { 12 echo "In __autoload($className)\n";
|