Home
last modified time | relevance | path

Searched refs:A (Results 201 – 225 of 1312) sorted by relevance

12345678910>>...53

/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_getNamespaceName.phpt5 namespace A\B;
15 $function = new \ReflectionClass('A\\B\\Foo');
27 string(7) "A\B\Foo"
28 string(3) "A\B"
H A DReflectionFunction_getNamespaceName.phpt5 namespace A\B;
14 $function = new \ReflectionFunction('A\\B\\foo');
26 string(7) "A\B\foo"
27 string(3) "A\B"
H A DReflectionProperty_setAccessible.phpt5 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 Dget_class_vars_006.phpt6 class A {
10 class B extends A { }
14 var_dump(get_class_vars('A'));
22 var_dump(get_class_vars('A'));
H A Dns_092.phpt6 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 Dbug75079_2.phpt24 class A{}
25 $a = new A;
26 var_dump($f->bindTo($a, A::CLASS)()());
34 #0 %s(%d): A->{closure}()
H A Dbug73156.phpt5 class A {
11 $a = new A();
35 string(1) "A"
37 object(A)#%d (0) {
H A Dns_034.phpt5 namespace A;
6 use A as B;
16 function f3($x=\A\Foo::C) {
21 echo \A\Foo::C;
H A Dobjects_034.phpt5 class A implements ArrayAccess {
20 $a = new A;
24 $a = new A;
28 $a = new A;
H A Dbug39017.phpt5 class A {}
6 foreach(($a=(object)new A()) as $v);
10 object(A)#%d (0) {
H A Dbug32660.phpt5 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 Dbug72944.phpt6 ("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 Dbasename_variation1.phpt15 "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 Dclass_order_autoload_error6.phpt7 if ($class == 'A') {
8 class A {
11 var_dump(new A);
13 class B extends A {
34 object(A)#2 (0) {
H A Dclass_order_autoload_error3.phpt7 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 Dtype_hinting_004.phpt7 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 Dbug_53280.phpt14 $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 Dbug69107.phpt11 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 Dbug26869.phpt5 define("A", "1");
6 static $a=array(A => 1);
8 var_dump(isset($a[A]));
H A Dbug26182.phpt8 class A {
17 $t = new A ();
23 A Object
/PHP-8.0/Zend/tests/type_declarations/
H A Dself_on_closure_in_method.phpt6 class A {
14 var_dump((new A)->test()());
18 object(A)#1 (0) {
/PHP-8.0/ext/simplexml/tests/
H A Dbug62639.phpt10 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 Dlevenshtein_error_conditions.phpt9 …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 Dbug42298.phpt5 $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 Dbug66251.phpt11 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

Completed in 91 milliseconds

12345678910>>...53