/PHP-7.4/tests/classes/ |
H A D | property_override_private_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 34 B::p (static)
|
H A D | property_override_private_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 34 B::p (static)
|
H A D | property_override_protectedStatic_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_protectedStatic_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | property_override_publicStatic_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 32 B::p (static)
|
H A D | constants_basic_004.phpt | 8 public static $sa_x = array(B::KEY => B::VALUE); 9 public $a_x = array(B::KEY => B::VALUE); 12 class B 22 class C extends B 32 // Should also include inherited properties from B. 36 var_dump(X::$sa_x, B::$sa_b, C::$sa_b, C::$sa_c_parent, C::$sa_c_self); 40 $b = new B; 75 object(B)#%d (1) {
|
H A D | property_override_protectedStatic_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 30 Fatal error: Access level to B::$p must be protected (as in class A) or weaker in %s on line 18
|
H A D | property_override_protected_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 18
|
H A D | property_override_protected_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 18
|
H A D | property_override_publicStatic_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 18
|
H A D | property_override_publicStatic_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 26 B::showA(); 27 B::showB(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 18
|
H A D | property_override_public_protectedStatic.phpt | 14 class B extends A 16 protected static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 18
|
H A D | property_override_public_publicStatic.phpt | 14 class B extends A 16 public static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 18
|
H A D | property_override_protected_privateStatic.phpt | 14 class B extends A 16 private static $p = "B::p (static)"; 27 $b = new B; 29 B::showB(); 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 18
|
/PHP-7.4/ext/reflection/tests/ |
H A D | ReflectionMethod_getDocComment_basic.phpt | 33 class B extends A { 38 * My Doc Comment for B::privf 47 /** My Doc Comment for B::protStatf 57 foreach (array('A', 'B') as $class) { 90 ---> Doc comment for B::f(): 94 ---> Doc comment for B::privf(): 96 * My Doc Comment for B::privf 100 ---> Doc comment for B::protStatf(): 101 string(%d) "/** My Doc Comment for B::protStatf 109 ---> Doc comment for B::finalStatPubf():
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_variation6.phpt | 12 …* Description: Converts the string to MIME "encoded-word" in the format of =?charset?(B|Q)?encoded… 32 var_dump(mb_encode_mimeheader($str, 'utf-8', 'B', $linefeed)); 43 string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= 44 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?=" 47 string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= 48 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?=" 51 string(116) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=--- =?UTF-8?B?…
|
/PHP-7.4/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error4.phpt | 12 } else if ($class == 'B') { 13 class B extends A { 16 var_dump(new B); 19 public function method(): B {} 30 var_dump(new B); 39 Fatal error: Declaration of Y::method(): A must be compatible with X::method(): B in %s on line %d
|
H A D | class_order_error.phpt | 7 public function method() : B {} 9 class B extends A { 12 class C extends B { 19 Fatal error: Could not check compatibility between B::method(): C and A::method(): B, because class…
|
H A D | class_order_autoload5.phpt | 13 } else if ($class == 'B') { 14 class B extends A { 17 var_dump(new B); 35 public function method(): B {} 41 var_dump(new B); 56 object(B)#2 (0) { 58 object(B)#2 (0) {
|
/PHP-7.4/Zend/tests/ |
H A D | get_class_vars_006.phpt | 10 class B extends A { } 12 class C extends B { } 15 var_dump(get_class_vars('B')); 20 class D extends B { 23 var_dump(get_class_vars('B'));
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | sprintf_variation21.phpt | 69 string(11) "a-bA-B@#$&]" 84 string(11) "a-bA-B@#$&]" 99 string(11) "a-bA-B@#$&]" 114 string(11) "a-bA-B@#$&]" 129 string(11) "a-bA-B@#$&]" 144 string(11) "a-bA-B@#$&]" 159 string(11) "a-bA-B@#$&]" 174 string(11) "a-bA-B@#$&]" 189 string(11) "a-bA-B@#$&]" 204 string(11) "a-bA-B@#$&]" [all …]
|
/PHP-7.4/Zend/tests/generators/ |
H A D | nested_method_calls.phpt | 12 class B { 14 echo "Called B::foo\n"; 25 $g2 = gen(new B); 35 Called B::foo 36 Called B::foo
|
/PHP-7.4/ext/spl/tests/ |
H A D | iterator_011.phpt | 15 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D')); 25 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D')); 43 1=>B 46 1=>B 48 1=>B 50 1=>B
|
H A D | iterator_018.phpt | 15 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D')); 25 $it = new ArrayIterator(array(0 => 'A', 1 => 'B', 2 => 'C', 3 => 'D')); 43 1=>B 46 1=>B 48 1=>B 50 1=>B
|
/PHP-7.4/ext/standard/tests/class_object/ |
H A D | bug71442.phpt | 15 class B extends A 17 const NAME = 'B'; 26 B::test('foo'); 35 B 36 B more,args
|