Home
last modified time | relevance | path

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

12

/php-src/ext/dom/tests/
H A DDOMElement_className.phpt2 DOMElement::className
17 var_dump($dom->documentElement->className);
19 var_dump($dom->documentElement->className);
20 $dom->documentElement->className = "";
21 var_dump($dom->documentElement->className);
22 $dom->documentElement->className = "é";
23 var_dump($dom->documentElement->className);
24 $dom->documentElement->className = "\0";
25 var_dump($dom->documentElement->className);
26 $dom->documentElement->className = 12345;
[all …]
H A Dbug80602_3.phpt29 ["className"]=>
86 ["className"]=>
H A Dgh16356.phpt27 ["className"]=>
89 ["className"]=>
/php-src/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-src/Zend/tests/lsb/
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';
/php-src/Zend/tests/
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-src/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-src/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-src/ext/reflection/tests/
H A DReflectionProperty_isDynamic_basic.phpt6 function reflectProperty($classOrObj, $property, $className = null) {
7 $className ??= $classOrObj;
10 echo "Reflecting on property $className::$property\n\n";
H A DReflectionExtension_getClassNames_basic.phpt10 foreach ($classNames as $className) {
11 echo $className, PHP_EOL;
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 DReflectionProperty_basic2.phpt8 function reflectProperty($classOrObj, $property, $className = null) {
9 $className ??= $classOrObj;
12 echo "Reflecting on property $className::$property\n\n";
/php-src/Zend/tests/property_hooks/
H A Dset_value_parameter_type_variance_004.phpt6 spl_autoload_register(function ($className) {
7 echo "Autoloading $className\n";
/php-src/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-src/tests/lang/
H A DforeachLoopIteratorAggregate.002.phpt35 function f($className) {
37 foreach (new $className as $k=>$v) {
/php-src/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";

Completed in 29 milliseconds

12