Home
last modified time | relevance | path

Searched refs:A (Results 176 – 200 of 1571) sorted by relevance

12345678910>>...63

/PHP-7.2/tests/classes/
H A Dconstants_visibility_error_004.phpt2 A redeclared class constant must have the same or higher visibility
6 class A {
10 class B extends A {
14 Fatal error: Access level to B::protectedConst must be protected (as in class A) or weaker in %s on…
H A Dbug23951.phpt9 class A {
15 class B extends A {
21 $a = new A;
30 A Object
H A Dmethod_override_optional_arg_001.phpt6 class A {
11 class B extends A {
18 class C extends A {
29 Warning: Declaration of C::foo() should be compatible with A::foo($arg1 = 1) in %s on line %d
H A Dtype_hinting_004.phpt12 class A { }
13 function f1(A $a) {
16 function f2(A $a = null) {
25 call_user_func('f1', new A);
40 call_user_func('f2', new A);
52 static function f1(A $a) {
59 static function f2(A $a = null) {
74 call_user_func(array('C', 'f1'), new A);
101 function f1(A $a) {
108 function f2(A $a = null) {
[all …]
/PHP-7.2/ext/standard/tests/strings/
H A Dsprintf_variation34_64bit.phpt71 string(10) "0-9A-Fa-f]"
86 string(10) "0-9A-Fa-f]"
101 string(10) "0-9A-Fa-f]"
116 string(10) "0-9A-Fa-f]"
131 string(10) "0-9A-Fa-f]"
146 string(10) "0-9A-Fa-f]"
161 string(10) "0-9A-Fa-f]"
176 string(10) "0-9A-Fa-f]"
191 string(10) "0-9A-Fa-f]"
206 string(10) "0-9A-Fa-f]"
[all …]
H A Dsprintf_variation35.phpt70 string(10) "0-9A-Fa-f]"
85 string(10) "0-9A-Fa-f]"
100 string(10) "0-9A-Fa-f]"
115 string(10) "0-9A-Fa-f]"
130 string(10) "0-9A-Fa-f]"
145 string(10) "0-9A-Fa-f]"
160 string(10) "0-9A-Fa-f]"
175 string(10) "0-9A-Fa-f]"
190 string(10) "0-9A-Fa-f]"
205 string(10) "0-9A-Fa-f]"
[all …]
H A Dsprintf_variation35_64bit.phpt66 string(10) "0-9A-Fa-f]"
81 string(10) "0-9A-Fa-f]"
96 string(10) "0-9A-Fa-f]"
111 string(10) "0-9A-Fa-f]"
126 string(10) "0-9A-Fa-f]"
141 string(10) "0-9A-Fa-f]"
156 string(10) "0-9A-Fa-f]"
171 string(10) "0-9A-Fa-f]"
186 string(10) "0-9A-Fa-f]"
201 string(10) "0-9A-Fa-f]"
[all …]
/PHP-7.2/ext/standard/tests/general_functions/
H A Dcallbacks_001.phpt5 class A {
7 echo "A\n";
10 echo "A\n";
14 class B extends A {
30 $this->call(array('A', 'who'));
89 A
92 A|who
93 A
97 A
/PHP-7.2/ext/standard/tests/array/
H A Dbug26458.phpt1 --TEST--
2 Bug #26458 (var_dump(), var_export() & debug_zval_dump() are not binary safe for array keys)
3 --FILE--
4 <?php
5 $test = array("A\x00B" => "Hello world");
6 var_dump($test);
7 var_export($test);
8 debug_zval_dump($test);
9 ?>
10 --EXPECTF--
[all …]
/PHP-7.2/Zend/tests/
H A Dbug34678.phpt5 class A {
11 class B extends A {
20 if (is_callable(array('A', 'foo'))) {
21 call_user_func(array('A', 'foo'));
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();
52 Foo\Bar\A::__construct
66 Fatal error: Uncaught Error: Call to undefined function Foo\Bar\A() in %sns_092.php:45
H A Dns_091.phpt6 class A { function __construct() {echo __METHOD__,"\n";} }
13 use Foo\Bar\{ A, Baz\B };
14 new A;
18 Foo\Bar\A::__construct
H A Dheredoc_018.phpt6 $heredoc = <<< A
10 A;
11 A;
H A Dns_061.phpt5 class A {}
6 use \A as B;
9 A
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'));
/PHP-7.2/ext/reflection/tests/
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(44) "Cannot access non-public member A::protected"
120 string(50) "Cannot access non-public member A::protectedStatic"
121 string(42) "Cannot access non-public member A::private"
122 string(48) "Cannot access non-public member A::privateStatic"
[all …]
H A Dbug75231.phpt5 class A
17 class B extends A
20 print_r((new ReflectionMethod(B::class, 'method'))->invoke(new A()).PHP_EOL);
21 print_r((new ReflectionProperty(B::class, 'prop'))->getValue(new A()).PHP_EOL);
H A Dbug60367.phpt5 abstract class A {
7 const WHAT = 'A';
15 class B extends A {
24 $method = new ReflectionMethod("A::call");
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 DReflectionClass_getNamespaceName.phpt5 namespace A\B;
15 $function = new \ReflectionClass('A\\B\\Foo');
27 string(7) "A\B\Foo"
28 string(3) "A\B"
/PHP-7.2/ext/standard/tests/file/
H A Dbug52820.phpt45 * %ATrying 127.0.0.1...%AConnection refused%A
46 * Closing connection%A%d
50 * %ATrying 127.0.0.1...%AConnection refused%A
51 * Closing connection%A%d
55 * %ATrying 127.0.0.1...%AConnection refused%A
56 * Closing connection%A%d
60 * %ATrying 127.0.0.1...%AConnection refused%A
61 * Closing connection%A%d
/PHP-7.2/Zend/tests/return_types/
H A Dinheritance008.phpt10 public static function test() : A {
11 return new A;
16 public static function test() : A {
26 object(A)#%d (0) {
/PHP-7.2/ext/opcache/tests/
H A Dbug73583.phpt13 class A { }
14 function A() { }
15 function A() { }
19 Fatal error: Cannot redeclare A() (previously declared in %sbug73583.php:4) in %sbug73583.php on li…
/PHP-7.2/ext/pdo_sqlite/tests/
H A Dbug46542.phpt9 class A extends PDO
12 $a = new A('sqlite:' . __DIR__ . '/dummy.db');
23 A::truc
24 A::TRUC
/PHP-7.2/ext/spl/tests/
H A Dbug71202.phpt7 if ($name == 'A') {
8 class A {
23 if ($name == 'A') {
30 $c = new A();

Completed in 57 milliseconds

12345678910>>...63