Home
last modified time | relevance | path

Searched refs:A (Results 26 – 50 of 1323) sorted by relevance

12345678910>>...53

/PHP-5.5/Zend/tests/
H A Dget_class_vars_004.phpt6 class A {
8 static public $A = 2;
17 var_dump(get_class_vars('A'));
21 var_dump(get_class_vars('A'));
25 var_dump(get_class_vars('A'));
27 new A;
29 var_dump(A::test());
36 ["A"]=>
46 ["A"]=>
60 ["A"]=>
H A Dbug38772.phpt5 class A {
16 class B extends A {
22 class C extends A {
28 class D extends A {
34 $a = new A();
39 A::foo
40 A::foo
41 A::foo
42 A::foo
H A Dbug30140.phpt5 class A {
11 class B extends A {
14 A::$test1 = "x";
15 A::$test2 = "y";
16 A::$test3 = "z";
17 var_dump(A::$test1);
18 var_dump(A::$test2);
19 var_dump(A::$test3);
H A Dproperty_exists.phpt8 $a = new A;
13 var_dump(property_exists("A", "prot"));
14 var_dump(property_exists("A", "prot2"));
15 var_dump(property_exists("A", "prot3"));
19 $a = new A;
24 var_dump(property_exists("A", "prot"));
25 var_dump(property_exists("A", "prot2"));
26 var_dump(property_exists("A", "prot3"));
30 class A extends aParent {
36 A::staticTest();
H A Dlsb_021.phpt5 class A {
11 class B extends A {
21 A::test();
22 call_user_func("A::test");
23 call_user_func(array("A", "test"));
45 A
46 A
47 A
H A Dbug40784.phpt6 class A {
7 function A () { echo "I'm A\n"; }
10 class B extends A {
22 I'm A
23 I'm A
H A Dbug64239_4.phpt5 class A {
9 class C extends A {
21 A::Bmethod();
22 A::t2method();
28 #0 A::Bmethod() called at [%sbug64239_4.php:%d]
29 #0 A::t2method() called at [%sbug64239_4.php:%d]
31 #0 A::t2method() called at [%sbug64239_4.php:%d]
H A Dbug38220.phpt17 class A {
40 echo "A::__destruct()\n";
55 $obj1 = new A(1);
58 $obj2 = new A(2);
64 A Object
70 A::__destruct()
72 A Object
79 A Object
85 A::__destruct()
87 A Object
H A Dclosure_044.phpt5 /* A non-static closure has a bound instance if it has a scope
8 $nonstaticUnscoped = function () { var_dump(isset(A::$priv)); var_dump(isset($this)); };
10 class A {
13 return function() { var_dump(isset(A::$priv)); var_dump(isset($this)); };
17 $a = new A();
29 $d = $nonstaticUnscoped->bindTo(new A, null); $d(); echo "\n";
30 $d = $nonstaticScoped->bindTo(new A, null); $d(); echo "\n";
33 $d = $nonstaticUnscoped->bindTo(null, 'A'); $d(); echo "\n";
34 $d = $nonstaticScoped->bindTo(null, 'A'); $d(); echo "\n";
37 $d = $nonstaticUnscoped->bindTo(new A, 'A'); $d(); echo "\n";
[all …]
H A Dlsb_017.phpt5 class A {
14 class B extends A {
16 class C extends A {
18 class D extends A {
21 echo A::test(B::test(C::test(D::test())))."\n";
28 A
/PHP-5.5/tests/classes/
H A Dinheritance_005.phpt5 class A
7 function A()
13 class B extends A
28 echo "Is B::A() callable?\n";
29 var_dump(is_callable(array($b, "A")));
34 echo "Is C::A() callable?\n";
35 var_dump(is_callable(array($c, "A")));
45 In A::A
48 Is B::A() callable?
51 In A::A
[all …]
H A Dfinal_ctor3.phpt5 class A {
6 final function A() { }
8 class B extends A {
9 function A() { }
13 Fatal error: Cannot override final method A::A() in %s on line %d
H A Dtype_hinting_004.phpt12 class A { }
13 function f1(A $a) {
16 function f2(A $a = null) {
20 call_user_func('f1', new A);
23 call_user_func('f2', new A);
29 static function f1(A $a) {
36 static function f2(A $a = null) {
45 call_user_func(array('C', 'f1'), new A);
54 function f1(A $a) {
61 function f2(A $a = null) {
[all …]
H A Dproperty_override_private_private.phpt5 class A
7 private $p = "A::p";
14 class B extends A
24 $a = new A;
32 A::p
33 A::p
H A Dproperty_override_private_protected.phpt5 class A
7 private $p = "A::p";
14 class B extends A
24 $a = new A;
32 A::p
33 A::p
H A Dproperty_override_private_public.phpt5 class A
7 private $p = "A::p";
14 class B extends A
24 $a = new A;
32 A::p
33 A::p
/PHP-5.5/ext/date/tests/
H A Dbug41964.phpt2 Bug #41964 (strtotime returns a timestamp for non-time string of pattern '(A|a) .+')
13 $res = date_parse('A ');
17 $res = date_parse('A');
29 $res = date_parse('A Revolution in Development');
44 string(1) "A"
47 string(1) "A"
50 string(1) "A"
53 string(1) "A"
56 string(1) "A"
59 string(1) "A"
/PHP-5.5/ext/reflection/tests/
H A DReflectionProperty_getDocComment_basic.phpt9 class A {
27 class B extends A {
29 /** A doc comment for $b */
31 /** A doc comment for $e */
35 foreach(array('A', 'B') as $class) {
47 ---> Doc comment for A::$a:
54 ---> Doc comment for A::$b:
58 ---> Doc comment for A::$c:
62 ---> Doc comment for A::$d:
68 ---> Doc comment for A::$e:
[all …]
H A D005.phpt15 /** Comment for class A */
16 class A
18 /** Method A::bla()
35 * Comment for A::baz()
41 $r = new ReflectionClass('A');
52 string(19) "Comment for class A"
53 string(15) "Method A::bla()"
56 string(22) "* Comment for A::baz()"
H A DReflectionClass_implementsInterface_001.phpt9 class A implements I1 {}
10 class B extends A {}
69 Does A implement A?
72 Does A implement B?
75 Does A implement C?
78 Does A implement I1?
81 Does A implement I2?
84 Does B implement A?
99 Does C implement A?
114 Does I1 implement A?
[all …]
/PHP-5.5/ext/standard/tests/array/
H A Darray_chunk_variation25.phpt18 string(1) "A"
40 string(1) "A"
72 string(1) "A"
104 string(1) "A"
138 string(1) "A"
161 string(1) "A"
184 string(1) "A"
209 string(1) "A"
229 string(1) "A"
249 string(1) "A"
[all …]
/PHP-5.5/
H A DREADME.namespaces64 namespace A\B\C;
73 namespace A\B\C;
111 namespace. So "new A\B\C()" refers to class C from namespace A\B.
116 namespace A;
123 namespace A;
130 namespace A;
131 new A(); // first tries to create object of class "A" from namespace "A" (A\A)
136 namespace A;
145 namespace A;
146 A\foo(); // first tries to call function "foo" from namespace "A\A"
[all …]
/PHP-5.5/sapi/cgi/tests/
H A Dbug61605.phpt11 header("A: first");
12 header("A: second", TRUE);
14 header("A: third", FALSE);
16 header_remove("A");
25 [1] => A: second
30 [1] => A: second
31 [2] => A: third
/PHP-5.5/ext/pcre/tests/
H A Dpreg_filter.phpt6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4');
8 $replace = array('A:$0', 'B:$0', 'C:$0');
17 string(5) "A:C:1"
21 string(3) "A:2"
25 string(3) "A:3"
27 string(3) "A:4"
/PHP-5.5/ext/standard/tests/strings/
H A Dcrypt_variation1.phpt12 $b = str_repeat("A", 124);
13 echo crypt("A", "$5$" . $b)."\n";
14 $b = str_repeat("A", 125);
15 echo crypt("A", "$5$" . $b)."\n";
16 $b = str_repeat("A", 4096);
17 echo crypt("A", "$5$" . $b)."\n";

Completed in 39 milliseconds

12345678910>>...53