/PHP-5.4/Zend/tests/ |
H A D | bug30828.phpt | 5 class A { 31 class B extends A { 50 #0 A->__construct() called at [%sbug30828.php:30] 52 A->__construct 54 #0 A->foo() called at [%sbug30828.php:34] 56 A->foo 58 #0 A::bar() called at [%sbug30828.php:38] 60 A::bar
|
H A D | heredoc_017.phpt | 6 $a = <<<A 7 A; 9 A; 11 A;
|
H A D | ns_039.phpt | 5 function foo($a = A) { 8 function bar($a = array(A => B)) { 14 const A = "ok"; 15 const B = A; 16 echo A . "\n";
|
H A D | bug46246.phpt | 5 class A 20 class B extends A 28 $a = new A; 35 Hello from A 36 Hello from A 37 Hello from A
|
H A D | closure_043.phpt | 9 $staticUnscoped = static function () { var_dump(isset(A::$priv)); var_dump(isset($this)); }; 11 class A { 14 return static function() { var_dump(isset(A::$priv)); var_dump(isset($this)); }; 18 $staticScoped = A::getStaticClosure(); 29 $d = $staticUnscoped->bindTo(new A, null); $d(); echo "\n"; 30 $d = $staticScoped->bindTo(new A, null); $d(); echo "\n"; 33 $d = $staticUnscoped->bindTo(null, 'A'); $d(); echo "\n"; 34 $d = $staticScoped->bindTo(null, 'A'); $d(); echo "\n"; 37 $d = $staticUnscoped->bindTo(new A, 'A'); $d(); echo "\n"; 38 $d = $staticScoped->bindTo(new A, 'A'); $d(); echo "\n";
|
/PHP-5.4/ext/spl/tests/ |
H A D | regexiterator_getregex.phpt | 20 $regexIterator = new RegexIterator($iterator, '|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|'); 29 string(43) "|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|"
|
/PHP-5.4/Zend/tests/traits/ |
H A D | static_forward_static_call.phpt | 1 --TEST-- 2 Traits and forward_static_call(). 3 --CREDITS-- 4 Simas Toleikis simast@gmail.com 5 --FILE-- 6 <?php 7 8 trait TestTrait { 9 public static function test() { 10 return 'Forwarded '.forward_static_call(array('A', 'test')); [all …]
|
H A D | bug60165d.phpt | 8 trait A {} 15 use A, B { 16 A::bar insteadof B; 21 Fatal error: A precedence rule was defined for A::bar but this method does not exist in %s on line …
|
/PHP-5.4/ext/standard/tests/general_functions/ |
H A D | bug52138.data | 8 A=1 9 B=A "A" A
|
/PHP-5.4/ext/reflection/tests/ |
H A D | bug53915.phpt | 7 const A = 1; 8 const B = self::A; 16 const A = 1; 17 const B = self::A; 25 [A] => 1
|
H A D | ReflectionClass_getStaticPropertyValue_001.phpt | 10 class A { 16 class B extends A { 22 echo "Retrieving static values from A:\n"; 23 $rcA = new ReflectionClass('A'); 25 var_dump($rcA->getStaticPropertyValue("\0A\0privateOverridden")); 32 var_dump($rcB->getStaticPropertyValue("\0A\0privateOverridden")); 37 echo "\nRetrieving non-existent values from A with no default value:\n"; 54 Retrieving static values from A: 67 Retrieving non-existent values from A with no default value: 68 Class A does not have a property named protectedOverridden [all …]
|
H A D | bug43926.phpt | 11 class A extends D { 14 class C extends A { 17 $ra = new ReflectionClass('A'); 27 print("Is? A ". ($ra->isInstance($ca) ? 'true' : 'false') .", instanceof: ". (($ca instanceof A) ? … 32 print("Is? A ". ($ra->isInstance($cc) ? 'true' : 'false') .", instanceof: ". (($cc instanceof A) ? … 37 print("Is? A ". ($ra->isInstance($cd) ? 'true' : 'false') .", instanceof: ". (($cd instanceof A) ? … 42 print("Is? A ". ($ra->isInstance($ce) ? 'true' : 'false') .", instanceof: ". (($ce instanceof A) ? … 49 Is? A true, instanceof: true 54 Is? A true, instanceof: true 59 Is? A false, instanceof: false [all …]
|
H A D | ReflectionClass_setStaticPropertyValue_001.phpt | 10 class A { 16 class B extends A { 22 echo "Set static values in A:\n"; 23 $rcA = new ReflectionClass('A'); 24 $rcA->setStaticPropertyValue("\0A\0privateOverridden", "new value 1"); 31 $rcB->setStaticPropertyValue("\0A\0privateOverridden", "new value 4"); 38 echo "\nSet non-existent values from A with no default value:\n"; 55 Set static values in A: 77 Set non-existent values from A with no default value: 78 Class A does not have a property named protectedOverridden [all …]
|
H A D | ReflectionClass_export_basic1.phpt | 5 Class A { 7 public function pubf(A $a, 17 Class C extends A { } 23 Class [ <user> class C extends A ] { 39 Method [ <user, inherits A> public method privf ] { 47 Method [ <user, inherits A> public method pubf ] { 51 Parameter #0 [ <required> A $a ]
|
H A D | bug64239.phpt | 5 class A { 13 class B extends A{ 28 [class] => A 34 [class] => A 41 [class] => A
|
/PHP-5.4/ext/oci8/tests/ |
H A D | lob_030.phpt | 42 echo "Test 1: A CLOB with an even number of bytes\n"; 45 echo "Test 2: A CLOB with an odd number of bytes\n"; 51 echo "Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code)\n"; 54 echo "Test 5: A CLOB of 1049028-1 bytes\n"; 57 echo "Test 6: A CLOB of 1049028+1 bytes\n"; 66 Test 1: A CLOB with an even number of bytes 68 Test 2: A CLOB with an odd number of bytes 70 Test 3: A CLOB of 1048576 bytes (== size of PHP_OCI_LOB_BUFFER_SIZE at time of test creation) 72 Test 4: A CLOB of 1049028 bytes (the value used for chunks in the code) 74 Test 5: A CLOB of 1049028-1 bytes [all …]
|
H A D | bug45458.phpt | 14 $stmt = 'select dummy "A", dummy "20" from dual'; 21 var_dump($data[0]["A"]); 31 var_dump($data["A"]); 33 var_dump($data["A"][0]); 47 ["A"]=> 54 ["A"]=> 63 ["A"]=>
|
/PHP-5.4/tests/classes/ |
H A D | property_override_protected_protected.phpt | 5 class A 7 protected $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p
|
H A D | property_override_protected_public.phpt | 5 class A 7 protected $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p
|
H A D | property_override_public_public.phpt | 5 class A 7 public $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_chunk_variation24.phpt | 5 $array = array ("a" => "A"); 18 string(1) "A" 30 string(1) "A" 37 string(1) "A" 44 string(1) "A"
|
/PHP-5.4/ext/standard/tests/class_object/ |
H A D | forward_static_call_001.phpt | 6 class A 8 const NAME = 'A'; 14 class B extends A 30 forward_static_call(array('A', 'test')); 41 forward_static_call(array('A', 'test')); 45 A::test(); 62 A
|
/PHP-5.4/ext/intl/tests/ |
H A D | formatter_get_set_symbol.phpt | 94 A number formatted with the new symbol: 12,345_._123 99 A number formatted with the new symbol: 12_,_345.123 104 A number formatted with the new symbol: 12,345.123 114 A number formatted with the new symbol: `a,bcd.`ab 119 A number formatted with the new symbol: 12,345.123 139 A number formatted with the new symbol: $12,345.12 154 A number formatted with the new symbol: 12,345.123 159 A number formatted with the new symbol: 12,345.123 164 A number formatted with the new symbol: 12,345.123 169 A number formatted with the new symbol: 12,345.123 [all …]
|
H A D | formatter_get_set_symbol2.phpt | 94 A number formatted with the new symbol: 12,345_._123 99 A number formatted with the new symbol: 12_,_345.123 104 A number formatted with the new symbol: 12,345.123 114 A number formatted with the new symbol: 12,345.123 119 A number formatted with the new symbol: 12,345.123 139 A number formatted with the new symbol: $12,345.12 154 A number formatted with the new symbol: 12,345.123 159 A number formatted with the new symbol: 12,345.123 164 A number formatted with the new symbol: 12,345.123 169 A number formatted with the new symbol: 12,345.123 [all …]
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | sprintf_variation34.phpt | 75 string(10) "0-9A-Fa-f]" 90 string(10) "0-9A-Fa-f]" 105 string(10) "0-9A-Fa-f]" 120 string(10) "0-9A-Fa-f]" 135 string(10) "0-9A-Fa-f]" 150 string(10) "0-9A-Fa-f]" 165 string(10) "0-9A-Fa-f]" 180 string(10) "0-9A-Fa-f]" 195 string(10) "0-9A-Fa-f]" 210 string(10) "0-9A-Fa-f]" [all …]
|