Home
last modified time | relevance | path

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

12345678910>>...65

/PHP-5.4/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>
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>
65 <tr class="v"><td>
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.4/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.phpt17 class A {}
20 class B extends A { }
22 class C extends B {}
36 class D implements I {}
48 foreach ($classes as $class) {
49 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 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 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_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 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 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 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 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_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.4/ext/date/tests/
H A DDateTimeZone_verify.phpt2 Test DateTimeZone class registration
10 var_dump($class);
13 $methods = $class->getMethods();
22 *** Verify DateTimeZone class ***
34 ["class"]=>
41 ["class"]=>
48 ["class"]=>
55 ["class"]=>
62 ["class"]=>
69 ["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.4/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.4/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
/PHP-5.4/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 …]
H A Darray_map_object1.phpt13 * 2) class without members
15 * 4) abstract and child class
22 class SimpleClass
36 class SimpleClassPri
46 class SimpleClassPro
56 class EmptyClass
62 abstract class AbstractClass
68 // class deriving the above abstract class
79 class FinalClass
89 class StaticClass
[all …]
/PHP-5.4/Zend/tests/
H A Dbug60573.phpt5 class Foo1 {
11 class Bar1 extends Foo1 {
17 class Foo2 {
23 class Bar2 extends Foo2 {
29 class Base {
32 class Foo3 extends Base{
38 class Bar3 extends Foo3 {
44 class Foo4 {
50 class Bar4 extends Foo4 {
56 class Foo5 extends Base {
[all …]

Completed in 42 milliseconds

12345678910>>...65