/PHP-7.1/ext/phar/tests/ |
H A D | phpinfo_004.phpt | 30 <tr><td class="e">Phar EXT version </td><td class="v">%s </td></tr> 31 <tr><td class="e">Phar API version </td><td class="v">1.1.1 </td></tr> 32 <tr><td class="e">SVN revision </td><td class="v">%sId: %s $ </td></tr> 41 <tr class="v"><td> 46 <tr><td class="e">phar.cache_list</td><td class="v"><i>no value</i></td><td class="v"><i>no value</… 47 <tr><td class="e">phar.readonly</td><td class="v">Off</td><td class="v">Off</td></tr> 48 <tr><td class="e">phar.require_hash</td><td class="v">Off</td><td class="v">Off</td></tr> 54 <tr><td class="e">Phar EXT version </td><td class="v">%s </td></tr> 70 <tr><td class="e">phar.cache_list</td><td class="v"><i>no value</i></td><td class="v"><i>no value</… 71 <tr><td class="e">phar.readonly</td><td class="v">On</td><td class="v">Off</td></tr> [all …]
|
/PHP-7.1/ext/reflection/tests/ |
H A D | ReflectionClass_getProperties_001.phpt | 8 class pubf { 15 class protf { 22 class privf { 32 echo "Reflecting on class $class: \n"; 45 [%u|b%"class"]=> 52 [%u|b%"class"]=> 62 [%u|b%"class"]=> 69 [%u|b%"class"]=> 79 [%u|b%"class"]=> 86 [%u|b%"class"]=> [all …]
|
H A D | ReflectionClass_getMethods_001.phpt | 8 class pubf { 15 class protf { 22 class privf { 32 echo "Reflecting on class $class: \n"; 45 [%u|b%"class"]=> 52 [%u|b%"class"]=> 62 [%u|b%"class"]=> 69 [%u|b%"class"]=> 79 [%u|b%"class"]=> 86 [%u|b%"class"]=> [all …]
|
H A D | ReflectionClass_getConstants_basic.phpt | 5 class C { 8 class D extends C { 10 class E extends D { 12 class F extends E { 15 class X { 20 echo "Constants from class $class: \n"; 26 Constants from class C: 31 Constants from class D: 36 Constants from class E: 41 Constants from class F: [all …]
|
H A D | ReflectionClass_getDocComment_001.phpt | 19 class A {} 22 class B extends A { } 24 class C extends B {} 38 class D implements I {} 50 foreach ($classes as $class) { 51 echo "\n\n---> Doc comment for class $class:\n"; 59 ---> Doc comment for class A: 71 ---> Doc comment for class B: 75 ---> Doc comment for class C: 79 ---> Doc comment for class D: [all …]
|
H A D | ReflectionClass_getConstant_basic.phpt | 5 class C { 8 class D extends C { 10 class E extends D { 12 class F extends E { 15 class X { 20 echo "Reflecting on class $class: \n"; 27 Reflecting on class C: 30 Reflecting on class D: 33 Reflecting on class E: 36 Reflecting on class F: [all …]
|
H A D | ReflectionObject_getConstants_basic.phpt | 5 class C { 8 class D extends C { 10 class E extends D { 12 class F extends E { 15 class X { 19 foreach($classes as $class) { 20 echo "Reflecting on instance of class $class: \n"; 27 Reflecting on instance of class C: 32 Reflecting on instance of class D: 37 Reflecting on instance of class E: [all …]
|
H A D | bug48336.phpt | 5 class A { 8 class B extends A { 12 class C extends B { 16 class D extends C { 19 class E extends D { 22 class F extends E { 26 $class = 'A'; 27 for($class = 'A'; $class <= 'F'; $class ++) { 28 print($class.' => '); 30 $rp = new ReflectionProperty($class, 'prop');
|
H A D | ReflectionObject_getConstant_basic.phpt | 5 class C { 8 class D extends C { 10 class E extends D { 12 class F extends E { 15 class X { 19 foreach($classes as $class) { 20 echo "Reflecting on instance of class $class: \n"; 27 Reflecting on instance of class C: 30 Reflecting on instance of class D: 33 Reflecting on instance of class E: [all …]
|
H A D | ReflectionObject_getConstructor_basic.phpt | 5 class NewCtor { 12 class OldCtor { 20 class X { 24 class Y extends X { 27 class OldAndNewCtor { 32 class NewAndOldCtor { 36 class B { 40 class C extends B { 44 class D1 extends C { 48 class D2 extends C { [all …]
|
H A D | ReflectionClass_getConstructor_basic.phpt | 5 class NewCtor { 12 class OldCtor { 20 class X { 24 class Y extends X { 27 class OldAndNewCtor { 32 class NewAndOldCtor { 36 class B { 40 class C extends B { 44 class D1 extends C { 48 class D2 extends C { [all …]
|
H A D | ReflectionClass_getMethod_001.phpt | 8 class pubf { 15 class protf { 22 class privf { 32 echo "Reflecting on class $class: \n"; 53 [%u|b%"class"]=> 59 [%u|b%"class"]=> 65 [%u|b%"class"]=> 73 [%u|b%"class"]=> 79 [%u|b%"class"]=> 85 [%u|b%"class"]=> [all …]
|
H A D | ReflectionClass_getMethods_003.phpt | 8 class C { 49 ["class"]=> 56 ["class"]=> 63 ["class"]=> 70 ["class"]=> 79 ["class"]=> 86 ["class"]=> 93 ["class"]=> 100 ["class"]=> 109 ["class"]=> [all …]
|
H A D | ReflectionClass_getProperties_003.phpt | 8 class C { 47 ["class"]=> 54 ["class"]=> 61 ["class"]=> 68 ["class"]=> 77 ["class"]=> 84 ["class"]=> 91 ["class"]=> 98 ["class"]=> 107 ["class"]=> [all …]
|
/PHP-7.1/ext/date/tests/ |
H A D | DateTimeZone_verify.phpt | 2 Test DateTimeZone class registration 10 var_dump($class); 34 ["class"]=> 41 ["class"]=> 48 ["class"]=> 55 ["class"]=> 62 ["class"]=> 69 ["class"]=> 76 ["class"]=> 83 ["class"]=> [all …]
|
H A D | DateTime_verify.phpt | 10 var_dump($class); 35 ["class"]=> 42 ["class"]=> 49 ["class"]=> 56 ["class"]=> 63 ["class"]=> 70 ["class"]=> 77 ["class"]=> 84 ["class"]=> 91 ["class"]=> [all …]
|
/PHP-7.1/Zend/tests/anon/ |
H A D | 003.phpt | 6 var_dump(new class($i) { 14 object(class@%s)#1 (1) { 18 object(class@%s)#1 (1) { 22 object(class@%s)#1 (1) { 26 object(class@%s)#1 (1) { 30 object(class@%s)#1 (1) { 34 object(class@%s)#1 (1) { 38 object(class@%s)#1 (1) { 42 object(class@%s)#1 (1) { 46 object(class@%s)#1 (1) { [all …]
|
/PHP-7.1/ext/standard/tests/class_object/ |
H A D | get_class_methods_basic_001.phpt | 6 * Description: Returns an array of method names for class or class instance. 12 * Test basic behaviour with existing class and non-existent class. 17 class C { 23 echo "Argument is class name:\n"; 25 echo "Argument is class instance:\n"; 29 class D {} 33 echo "Argument is non existent class:\n"; 40 Argument is class name: 49 Argument is class instance: 58 Argument is name of class which has no methods: [all …]
|
/PHP-7.1/ext/spl/tests/ |
H A D | spl_autoload_014.phpt | 5 $closure = function($class) { 6 echo "closure called with class $class\n"; 9 class Autoloader { 14 public function __invoke($class) { 15 echo ("Autoloader('{$this->dir}') called with $class\n"); 19 class WorkingAutoloader { 20 public function __invoke($class) { 21 echo ("WorkingAutoloader() called with $class\n"); 22 eval("class $class { }"); 43 closure called with class TestX
|
H A D | bug61697.phpt | 6 function f1($class) { echo "f1: [[$class]]\n"; } 7 function f2($class) { echo "f2: [[$class]]\n"; } 11 spl_autoload_register(create_function('$class', 'echo "cf1: [[$class]]\n";')); 12 spl_autoload_register(create_function('$class', 'echo "cf2: [[$class]]\n";'));
|
/PHP-7.1/Zend/tests/ |
H A D | bug66811.phpt | 2 Bug #66811: Cannot access static::class in lambda, writen outside of a class 5 class A { 8 var_dump(self::class); 9 var_dump(static::class); 14 class B extends A {} 19 $g = $f->bindTo(null, A::class); 23 var_dump(self::class); 24 var_dump(static::class); 27 $bar = $foo->bindTo(null, A::class);
|
H A D | class_name_as_scalar.phpt | 2 class name as scalar from ::class keyword 7 class One { 9 const A = self::class; 10 const B = Two::class; 12 class Two extends One { 20 class Three extends Two { 23 $one = self::class, 24 $two = Baz::class, 39 var_dump(One::class); // resolve from use 43 $class = One::class; // assign class as scalar to var [all …]
|
H A D | closure_061.phpt | 10 class Cls { 15 class ClsChild extends Cls {} 17 class ClsUnrelated {} 59 [new DLL, DLL::class], 63 [null, DLL::class], 120 bindTo(new Cls, Cls::class): 123 bindTo(null, Cls::class): 144 bindTo(null, Cls::class): 156 bindTo(null, Cls::class): 177 bindTo(null, Cls::class): [all …]
|
H A D | bug69676_3.phpt | 6 class P { 9 class A extends P { 14 class B extends A { 21 class A2 { 25 class B2 extends A2 { 29 class C2 extends B2 { 35 class A3 { 39 class B3 extends A3 { 43 class C3 extends B3 { 49 class A4 { [all …]
|
/PHP-7.1/ext/standard/tests/array/ |
H A D | array_map_object3.phpt | 12 * 1) child class method using parent object 13 * 2) parent class method using child object 14 * 3) child class method using parent class 15 * 4) parent class method using child class 21 class ParentClass 32 class ChildClass extends ParentClass 50 echo "-- accessing parent method from child class --\n"; 66 -- accessing parent method from child class -- 75 -- accessing child method from parent class -- 79 -- accessing parent method using child class object -- [all …]
|