Home
last modified time | relevance | path

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

12

/PHP-8.2/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.2/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.2/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.2/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.2/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.2/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.2/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt35 function f($className) {
37 foreach (new $className as $k=>$v) {
/PHP-8.2/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";
/PHP-8.2/ext/random/tests/03_randomizer/
H A Dserialize.phpt35 $className = $engine::class;
/PHP-8.2/build/
H A Dgen_stub.php1074 public Name $className; variable in MethodName
1078 $this->className = $className;
1083 return implode('_', $this->className->parts);
1103 return "$this->className::$this->methodName";
3670 $className = $stmt->namespacedName;
3702 $className,
4060 if ($className) {
4282 $className = $firstChild->textContent;
4283 if (!isset($classMap[$className])) {
4287 $existingClassSynopses[$className] = $className;
[all …]
/PHP-8.2/ext/soap/tests/bugs/
H A Dbug28751.phpt7 spl_autoload_register(function ($className) {

Completed in 41 milliseconds

12