Home
last modified time | relevance | path

Searched refs:className (Results 1 – 25 of 25) sorted by relevance

/PHP-8.1/Zend/tests/varSyntax/
H A DnewVariable.phpt6 $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 $obj->className);
19 var_dump(new Test::$className);
20 var_dump(new $test::$className);
21 var_dump(new $weird[0]->foo::$className);
/PHP-8.1/Zend/tests/
H A Dlsb_010.phpt7 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 Dbug49908.phpt6 spl_autoload_register(function ($className) {
7 var_dump($className);
9 if ($className == 'Foo') {
12 throw new Exception($className);
H A Dbug42798.phpt5 spl_autoload_register(function ($className) {
6 print "$className\n";
H A Dbug80030.phpt7 var_dump(isset($className::$test));
13 Warning: Undefined variable $className in %s on line %d
H A Dbug78921.phpt6 spl_autoload_register(function($className) {
7 if ($className == 'PrivateStatic') {
/PHP-8.1/ext/spl/tests/
H A Dspl_autoload_005.phpt10 function autoLoad($className)
12 echo __METHOD__ . "($className)\n";
15 function autoThrow($className)
17 echo __METHOD__ . "($className)\n";
H A Dspl_autoload_008.phpt8 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 Dspl_autoload_007.phpt10 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 Dspl_autoload_006.phpt10 static function autoLoad($className) {
11 echo __METHOD__ . "($className)\n";
H A Dspl_autoload_004.phpt10 static function autoLoad($className) {
11 echo __METHOD__ . "($className)\n";
/PHP-8.1/Zend/tests/enum/
H A Denum_exists.phpt12 spl_autoload_register(function ($className) {
13 echo "Triggered autoloader with class $className\n";
15 if ($className === 'Quux') {
/PHP-8.1/ext/reflection/tests/
H A DReflectionObject_isSubclassOf_basic.phpt15 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 DReflectionClass_isSubclassOf_basic.phpt14 foreach ($classNames as $className) {
15 $rcs[$className] = new ReflectionClass($className);
H A DReflectionClass_implementsInterface_001.phpt17 foreach ($classNames as $className) {
18 $rcs[$className] = new ReflectionClass($className);
/PHP-8.1/ext/xsl/tests/
H A Dbug33853.phpt8 spl_autoload_register(function ($className) {
9 var_dump($className);
H A Dthrow_in_autoload.phpt8 spl_autoload_register(function ($className) {
9 var_dump($className);
/PHP-8.1/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt35 function f($className) {
37 foreach (new $className as $k=>$v) {
/PHP-8.1/ext/standard/tests/class_object/
H A Dclass_exists_basic_001.phpt7 spl_autoload_register(function ($className) {
8 echo "In autoload($className)\n";
H A Dis_subclass_of_variation_001.phpt6 spl_autoload_register(function ($className) {
7 echo "In autoload($className)\n";
H A Dis_subclass_of_variation_004.phpt6 spl_autoload_register(function ($className) {
7 echo "In autoload($className)\n";
H A Dmethod_exists_variation_001.phpt5 spl_autoload_register(function ($className) {
6 echo "In autoload($className)\n";
H A Dget_parent_class_variation_002.phpt5 spl_autoload_register(function ($className) {
6 echo "In autoload($className)\n";
/PHP-8.1/build/
H A Dgen_stub.php831 private $className; variable in MethodName
836 $this->className = $className;
841 return implode('_', $this->className->parts);
857 return "$this->className::$this->methodName";
1720 $className = $this->name->getLast();
2566 $className = $stmt->namespacedName;
2585 $className,
2867 if ($className) {
2973 $className = $firstChild->textContent;
2974 if (!isset($classMap[$className])) {
[all …]
/PHP-8.1/ext/soap/tests/bugs/
H A Dbug28751.phpt7 spl_autoload_register(function ($className) {

Completed in 59 milliseconds