/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionClass_getNamespaceName.phpt | 5 namespace A\B; 15 $function = new \ReflectionClass('A\\B\\Foo'); 27 string(7) "A\B\Foo" 28 string(3) "A\B"
|
H A D | ReflectionFunction_getNamespaceName.phpt | 5 namespace A\B; 14 $function = new \ReflectionFunction('A\\B\\foo'); 26 string(7) "A\B\foo" 27 string(3) "A\B"
|
H A D | ReflectionProperty_setAccessible.phpt | 5 class A { 12 class B extends A {} 14 $a = new A; 16 $protectedStatic = new ReflectionProperty('A', 'protectedStatic'); 18 $privateStatic = new ReflectionProperty('A', 'privateStatic'); 72 $a = new A; 119 string(47) "Cannot access non-public property A::$protected" 120 string(53) "Cannot access non-public property A::$protectedStatic" 121 string(45) "Cannot access non-public property A::$private" 122 string(51) "Cannot access non-public property A::$privateStatic" [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | get_class_vars_006.phpt | 6 class A { 10 class B extends A { } 14 var_dump(get_class_vars('A')); 22 var_dump(get_class_vars('A'));
|
H A D | ns_092.phpt | 6 class A { function __construct() {echo __METHOD__,"\n";} } 20 A // <- this one must fail 29 use Foo\Bar\{ A, B, const BAR as BOZ }; 35 new A(); 48 A(); 53 Foo\Bar\A::__construct 67 Fatal error: Uncaught Error: Call to undefined function Foo\Bar\A() in %sns_092.php:45
|
H A D | bug75079_2.phpt | 24 class A{} 25 $a = new A; 26 var_dump($f->bindTo($a, A::CLASS)()()); 34 #0 %s(%d): A->{closure}()
|
H A D | bug73156.phpt | 5 class A { 11 $a = new A(); 35 string(1) "A" 37 object(A)#%d (0) {
|
H A D | ns_034.phpt | 5 namespace A; 6 use A as B; 16 function f3($x=\A\Foo::C) { 21 echo \A\Foo::C;
|
H A D | objects_034.phpt | 5 class A implements ArrayAccess { 20 $a = new A; 24 $a = new A; 28 $a = new A;
|
H A D | bug39017.phpt | 5 class A {} 6 foreach(($a=(object)new A()) as $v); 10 object(A)#%d (0) {
|
H A D | bug32660.phpt | 5 class A 20 $a = new A; 31 Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php o… 32 A Object 37 Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php o…
|
H A D | bug72944.phpt | 6 ("a"== e & $A = $A? 0 : 0) ?:0; 10 Warning: Undefined variable $A in %s on line %d
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | basename_variation1.phpt | 15 "A:/", 17 "A:\\", 57 basename for path A:/foo is: 59 basename for path A:/foo/ is: 61 basename for path A:/foo\ is: 98 string(6) "A:\foo" 100 string(6) "A:\foo" 102 string(7) "A:\foo\" 104 string(10) "A:\foo.bar" 106 string(10) "A:\foo.bar" [all …]
|
/PHP-8.0/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error6.phpt | 7 if ($class == 'A') { 8 class A { 11 var_dump(new A); 13 class B extends A { 34 object(A)#2 (0) {
|
H A D | class_order_autoload_error3.phpt | 7 if ($class == 'A') { 8 class A { 12 class B extends A { 29 public function method(): A {} 38 Fatal error: Declaration of R::method(): A must be compatible with Q::method(): B in %s on line %d
|
/PHP-8.0/tests/classes/ |
H A D | type_hinting_004.phpt | 7 class A { } 8 function f1(A $a) { 11 function f2(A $a = null) { 20 call_user_func('f1', new A); 35 call_user_func('f2', new A); 47 static function f1(A $a) { 54 static function f2(A $a = null) { 69 call_user_func(array('C', 'f1'), new A); 96 function f1(A $a) { 103 function f2(A $a = null) { [all …]
|
/PHP-8.0/ext/pdo_firebird/tests/ |
H A D | bug_53280.phpt | 14 $dbh->exec('CREATE TABLE testz(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))'); 15 $dbh->exec("INSERT INTO testz VALUES ('A', 'B', 'C')"); 18 $stmt1 = "SELECT B FROM testz WHERE A = ? AND B = ?"; 19 $stmt2 = "SELECT B, C FROM testz WHERE A = ? AND B = ?"; 22 $stmth2->execute(array('A', 'B')); 27 $stmth1->execute(array('A', 'B'));
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | bug69107.phpt | 11 var_dump($finfo->buffer("<?php\nclass A{}")); 12 var_dump($finfo->buffer("<?php class A{}")); 13 var_dump($finfo->buffer("<?php\tclass A{}")); 14 var_dump($finfo->buffer("<?php\n\rclass A{}"));
|
/PHP-8.0/tests/lang/ |
H A D | bug26869.phpt | 5 define("A", "1"); 6 static $a=array(A => 1); 8 var_dump(isset($a[A]));
|
H A D | bug26182.phpt | 8 class A { 17 $t = new A (); 23 A Object
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | self_on_closure_in_method.phpt | 6 class A { 14 var_dump((new A)->test()()); 18 object(A)#1 (0) {
|
/PHP-8.0/ext/simplexml/tests/ |
H A D | bug62639.phpt | 10 class A extends SimpleXMLElement 25 $a1 = new A($xml1); 40 $a2 = new A($xml2); 46 object(A)#2 (2) { 55 object(A)#3 (2) {
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | levenshtein_error_conditions.phpt | 9 …jklmnopqrtsuvwxyzAbcdefghijklmnopqrtsuvwxyzAbcdefghijklmnopqrtsuvwxyzAbcdefghijklmnopqrtsu', 'A')); 11 …klmnopqrtsuvwxyzAbcdefghijklmnopqrtsuvwxyzAbcdefghijklmnopqrtsuvwxyzAbcdefghijklmnopqrtsuv', 'A')); 16 var_dump(levenshtein('A', 'AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrst… 18 …var_dump(levenshtein('A', 'AbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrstuvwxyzAbcdefghijklmnopqrs…
|
/PHP-8.0/ext/pcre/tests/ |
H A D | bug42298.phpt | 5 $str = "A\xc2\xa3BC"; 9 $str = "A\xe2\x82\xac "; 19 string(3) "A£" 28 string(3) "A£"
|
/PHP-8.0/ext/opcache/tests/ |
H A D | bug66251.phpt | 11 printf ("A=%s\n", getA()); 12 const A="hello"; 13 function getA() {return A;} 16 Fatal error: Uncaught Error: Undefined constant "A" in %s:%d
|