Home
last modified time | relevance | path

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

12345678910>>...59

/PHP-5.5/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-5.5/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_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 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_getDocComment_001.phpt20 class A {}
23 class B extends A { }
25 class C extends B {}
39 class D implements I {}
51 foreach ($classes as $class) {
52 echo "\n\n---> Doc comment for class $class:\n";
62 ---> Doc comment for class A:
74 ---> Doc comment for class B:
78 ---> Doc comment for class C:
82 ---> Doc comment for class D:
[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_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 …]
H A Dtraits005.phpt7 class C1 { }
8 class C2 { use T1; }
9 class C3 { use T1 { m1 as a1; } }
10 class C4 { use T1 { m1 as a1; m2 as a2; } }
13 echo "class $c:\n";
20 class C1:
24 class C2:
28 class C3:
34 class C4:
H A DReflectionClass_isInstantiable_variation.phpt5 class noCtor {
8 class publicCtorNew {
12 class protectedCtorNew {
16 class privateCtorNew {
20 class publicCtorOld {
24 class protectedCtorOld {
28 class privateCtorOld {
36 foreach($classes as $class ) {
37 $reflectionClass = new ReflectionClass($class);
38 echo "Is $class instantiable? ";
H A DReflectionClass_getProperty_001.phpt8 class pubf {
15 class protf {
22 class privf {
32 echo "Reflecting on class $class: \n";
66 [%u|b%"class"]=>
72 [%u|b%"class"]=>
81 [%u|b%"class"]=>
87 [%u|b%"class"]=>
96 [%u|b%"class"]=>
102 [%u|b%"class"]=>
[all …]
H A Dbug26695.phpt2 Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints)
6 class Foo {
9 class Bar {
14 $class = new ReflectionClass('bar');
15 $methods = $class->getMethods();
18 $class = $params[0]->getClass();
20 var_dump($class->getName());
/PHP-5.5/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-5.5/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-5.5/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-5.5/Zend/tests/
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 …]
/PHP-5.5/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 28 milliseconds

12345678910>>...59