Home
last modified time | relevance | path

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

12345678910>>...90

/PHP-7.1/ext/phar/tests/
H A Dphpinfo_004.phpt30 <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 DReflectionClass_getProperties_001.phpt8 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 DReflectionClass_getMethods_001.phpt8 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 DReflectionClass_getConstants_basic.phpt5 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 DReflectionClass_getDocComment_001.phpt19 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 DReflectionClass_getConstant_basic.phpt5 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 DReflectionObject_getConstants_basic.phpt5 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 Dbug48336.phpt5 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 DReflectionObject_getConstant_basic.phpt5 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 DReflectionObject_getConstructor_basic.phpt5 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 DReflectionClass_getConstructor_basic.phpt5 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 DReflectionClass_getMethod_001.phpt8 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 DReflectionClass_getMethods_003.phpt8 class C {
49 ["class"]=>
56 ["class"]=>
63 ["class"]=>
70 ["class"]=>
79 ["class"]=>
86 ["class"]=>
93 ["class"]=>
100 ["class"]=>
109 ["class"]=>
[all …]
H A DReflectionClass_getProperties_003.phpt8 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 DDateTimeZone_verify.phpt2 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 DDateTime_verify.phpt10 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 D003.phpt6 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 Dget_class_methods_basic_001.phpt6 * 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 Dspl_autoload_014.phpt5 $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 Dbug61697.phpt6 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 Dbug66811.phpt2 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 Dclass_name_as_scalar.phpt2 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 Dclosure_061.phpt10 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 Dbug69676_3.phpt6 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 Darray_map_object3.phpt12 * 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 …]

Completed in 41 milliseconds

12345678910>>...90