/php-src/tests/classes/ |
H A D | property_override_protected_publicStatic.phpt | 5 class A 7 protected $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_publicStatic_privateStatic.phpt | 5 class A 7 public static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_publicStatic_protectedStatic.phpt | 5 class A 7 public static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 Fatal error: Access level to B::$p must be public (as in class A) in %s on line 11
|
H A D | property_override_public_privateStatic.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_public_protectedStatic.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
H A D | property_override_public_publicStatic.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 Fatal error: Cannot redeclare non static A::$p as static B::$p in %s on line 11
|
/php-src/Zend/tests/traits/ |
H A D | language005.phpt | 7 trait A { 12 echo 'A'; 26 use A, B { 27 B::smallTalk insteadof A; 28 A::bigTalk insteadof B;
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_089.phpt | 6 class A { 20 $a = new A; 24 $a = new A; 31 object(A)#1 (1) { 35 object(A)#%d (1) {
|
H A D | typed_class_constants_type_error7.phpt | 5 class A { 12 var_dump(A::CONST1); 18 var_dump(A::CONST1); 24 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable 25 Cannot assign stdClass to class constant A::CONST1 of type stdClass&Stringable
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload2.phpt | 7 if ($class === 'A') { 8 class A { 11 var_dump(new A); 13 class B extends A { 29 object(A)#2 (0) {
|
/php-src/Zend/tests/lazy_objects/ |
H A D | reset_as_lazy_accepts_sub_classes.phpt | 6 class A { 9 class B extends A {} 13 $reflector = new ReflectionClass(A::class); 15 $reflector->resetAsLazyGhost(new A(), function () {}); 27 TypeError: ReflectionClass::resetAsLazyGhost(): Argument #1 ($object) must be of type A, C given
|
/php-src/Zend/tests/type_declarations/dnf_types/redundant_types/ |
H A D | duplicate_class_alias_type.phpt | 8 use A as B; 9 function foo(): (X&A)|(X&B) {} 13 Fatal error: Type X&A is redundant with type X&A in %s on line %d
|
/php-src/Zend/tests/closures/ |
H A D | closure_from_callable_lsb.phpt | 6 class A { 12 class B extends A { 15 Closure::fromCallable(['A', 'test'])(); 20 string(1) "A"
|
/php-src/Zend/tests/ |
H A D | constants_007.phpt | 7 const A = 'b'; 12 const A = 'd'; 15 var_dump(a, A, a::a, a::A);
|
H A D | bug70187.phpt | 5 class A { 9 $a = new A; 15 object(A)#1 (1) { 19 string(12) "O:1:"A":0:{}"
|
H A D | modify_isref_value_return.phpt | 6 class A { 12 $a = new A; 15 (new ReflectionProperty('A', 'b'))->getValue($a)[] = 42; 21 object(A)#1 (1) {
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getStaticPropertyValue_001.phpt | 8 class A { 14 class B extends A { 20 echo "Retrieving static values from A:\n"; 21 $rcA = new ReflectionClass('A'); 34 echo "\nRetrieving non-existent values from A with no default value:\n"; 51 Retrieving static values from A: 63 Retrieving non-existent values from A with no default value: 64 Property A::$protectedDoesNotExist does not exist 65 Property A::$privateDoesNotExist does not exist
|
H A D | ReflectionClass_isInstance_basic.phpt | 5 class A {} 6 class B extends A {} 13 $classes = array("A", "B", "C", "I", "X"); 15 $instances = array( "myA" => new A, 32 is myA a A? bool(true) 33 is myB a A? bool(true) 34 is myC a A? bool(false) 35 is myX a A? bool(false)
|
/php-src/ext/pdo/tests/ |
H A D | pdo_015.phpt | 19 $db->exec("INSERT INTO test015 VALUES(1, 'A', 'A2')"); 20 $db->exec("INSERT INTO test015 VALUES(2, 'A', 'B2')"); 67 string(1) "A" 72 string(1) "A" 77 string(1) "A" 79 string(1) "A" 89 string(1) "A" 91 string(1) "A" 100 ["A"]=>
|
/php-src/ext/session/ |
H A D | mod_files.bat | 17 SET /A Depth=%2 + 0 2>NUL 24 SET /A Bits=%3 + 0 2>NUL 35 SET HashChars=0 1 2 3 4 5 6 7 8 9 A B C D E F 39 FOR %%A IN (%HashChars%) DO ( 40 ECHO Making %%A 41 CALL "%~0" AUTO "%~1\%%~A" %Depth% 47 SET /A ThisDepth=%3 - 1 48 IF /I %ThisDepth% GTR 0 FOR %%A IN (%HashChars%) DO CALL "%~0" AUTO "%~2\%%~A" %ThisDepth%
|
/php-src/ext/dom/tests/modern/token_list/ |
H A D | iteration_02.phpt | 8 $dom = DOM\XMLDocument::createFromString('<root class="A B C D E F"/>'); 23 string(1) "A" 26 string(1) "A" 42 string(1) "A" 58 string(1) "A" 74 string(1) "A" 90 string(1) "A" 106 string(1) "A"
|
H A D | replace.phpt | 8 $dom = DOM\XMLDocument::createFromString('<root class="A B C"/>'); 24 var_dump($list->replace('A', 'B')); 32 $list->value = 'A'; 33 $list->replace('A', 'AA'); 41 <root class="A B C"/> 44 <root class="A X C"/> 47 <root class="A X"/>
|
/php-src/ext/intl/tests/ |
H A D | formatter_get_set_symbol2.phpt | 95 A number formatted with the new symbol: 12,345_._123 100 A number formatted with the new symbol: 12_,_345.123 105 A number formatted with the new symbol: 12,345.123 115 A number formatted with the new symbol: 12,345.123 120 A number formatted with the new symbol: 12,345.123 140 A number formatted with the new symbol: $12,345.12 155 A number formatted with the new symbol: 12,345.123 160 A number formatted with the new symbol: 12,345.123 165 A number formatted with the new symbol: 12,345.123 170 A number formatted with the new symbol: 12,345.123 [all …]
|
/php-src/ext/spl/tests/ |
H A D | SplFixedArray_override_getIterator.phpt | 5 class A extends SplFixedArray 11 echo "In A: key={$iterator->key()} value={$iterator->current()}\n"; 28 $a = new A(3); 42 In A: key=0 value=d 44 In A: key=1 value=e 46 In A: key=2 value=f
|
/php-src/Zend/tests/constants/final_constants/ |
H A D | final_const2.phpt | 8 final const A = "foo"; 13 const A = "bar"; 18 Fatal error: Bar::A cannot override final constant Foo::A in %s on line %d
|