/PHP-5.4/Zend/tests/ |
H A D | bug38772.phpt | 5 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 D | bug30140.phpt | 5 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 D | property_exists.phpt | 8 $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 D | lsb_021.phpt | 5 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 D | bug40784.phpt | 6 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 D | bug64239_4.phpt | 5 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 D | bug38220.phpt | 17 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 D | closure_044.phpt | 5 /* 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 D | lsb_017.phpt | 5 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.4/ext/date/tests/ |
H A D | bug41964.phpt | 2 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.4/ext/reflection/tests/ |
H A D | ReflectionProperty_getDocComment_basic.phpt | 6 class A { 24 class B extends A { 26 /** A doc comment for $b */ 28 /** A doc comment for $e */ 32 foreach(array('A', 'B') as $class) { 44 ---> Doc comment for A::$a: 51 ---> Doc comment for A::$b: 55 ---> Doc comment for A::$c: 59 ---> Doc comment for A::$d: 65 ---> Doc comment for A::$e: [all …]
|
H A D | 005.phpt | 12 /** Comment for class A */ 13 class A 15 /** Method A::bla() 32 * Comment for A::baz() 38 $r = new ReflectionClass('A'); 49 string(19) "Comment for class A" 50 string(15) "Method A::bla()" 53 string(22) "* Comment for A::baz()"
|
H A D | ReflectionClass_implementsInterface_001.phpt | 9 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.4/tests/classes/ |
H A D | final_ctor3.phpt | 5 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 D | type_hinting_004.phpt | 12 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 D | property_override_private_private.phpt | 5 class A 7 private $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p 33 A::p
|
H A D | property_override_private_protected.phpt | 5 class A 7 private $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p 33 A::p
|
H A D | property_override_private_public.phpt | 5 class A 7 private $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p 33 A::p
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_chunk_variation25.phpt | 18 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.4/sapi/cgi/tests/ |
H A D | bug61605.phpt | 9 header("A: first"); 10 header("A: second", TRUE); 12 header("A: third", FALSE); 14 header_remove("A"); 23 [1] => A: second 28 [1] => A: second 29 [2] => A: third
|
/PHP-5.4/ |
H A D | README.namespaces | 64 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.4/ext/pcre/tests/ |
H A D | preg_filter.phpt | 6 $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.4/ext/standard/tests/strings/ |
H A D | crypt_variation1.phpt | 12 $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";
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_011.phpt | 89 test(1,N/A) 90 test(2,N/A) 91 test(3,N/A) 92 test(4,N/A) 121 test(1,A) 129 string(1) "A" 161 string(1) "A" 199 string(1) "A" 232 string(1) "A" 258 string(1) "A" [all …]
|
/PHP-5.4/ext/pdo_firebird/tests/ |
H A D | rowCount.phpt | 14 $dbh->exec('CREATE TABLE testz (A VARCHAR(10))'); 15 $dbh->exec("INSERT INTO testz VALUES ('A')"); 16 $dbh->exec("INSERT INTO testz VALUES ('A')"); 20 $query = "SELECT * FROM testz WHERE A = ?"; 23 $stmt->execute(array('A')); 29 $stmt = $dbh->prepare('UPDATE testZ SET A="A" WHERE A != ?'); 30 $stmt->execute(array('A'));
|