/PHP-8.4/ext/spl/tests/ |
H A D | iterator_041a.phpt | 8 static protected $fail = 0; 13 if (self::$fail == $state) 22 self::fail(0, __FUNCTION__); 24 self::fail(1, __FUNCTION__); 29 self::fail(2, __FUNCTION__); 35 self::fail(3, __FUNCTION__); 41 self::fail(4, __FUNCTION__); 65 self::$fail = 7; 66 while(self::$fail < 10) 79 self::$fail = $skip[self::$fail]; [all …]
|
H A D | iterator_041.phpt | 8 static protected $fail = 0; 13 if (self::$fail == $state) 22 self::fail(0, __FUNCTION__); 24 self::fail(1, __FUNCTION__); 29 self::fail(2, __FUNCTION__); 35 self::fail(3, __FUNCTION__); 59 // self::fail(7, __FUNCTION__); 65 self::$fail = 0; 66 while(self::$fail < 10) 79 self::$fail = $skip[self::$fail]; [all …]
|
H A D | iterator_041b.phpt | 8 static protected $fail = 0; 13 if (self::$fail == $state) 22 self::fail(0, __FUNCTION__); 24 self::fail(1, __FUNCTION__); 29 self::fail(2, __FUNCTION__); 35 self::fail(3, __FUNCTION__); 41 self::fail(4, __FUNCTION__); 65 self::$fail = 0; 66 while(self::$fail < 10) 79 self::$fail = $skip[self::$fail]; [all …]
|
H A D | iterator_047.phpt | 8 static public $fail = 0; 10 static function fail($state, $method): void 12 if (self::$fail == $state) 21 self::fail(1, __METHOD__); 28 self::fail(2, __METHOD__); 37 MyRecursiveArrayIterator::$fail = 0; 38 while(MyRecursiveArrayIterator::$fail < 4) 40 echo "===" . MyRecursiveArrayIterator::$fail . "===\n"; 53 MyRecursiveArrayIterator::$fail++;
|
H A D | spl_heap_iteration_error.phpt | 9 public $fail = false; 11 if ($this->fail) 23 $h->fail=true; 34 ["fail"]=>
|
/PHP-8.4/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromFile_with_failing_stream_wrapper.phpt | 10 public $fail = false; 17 if ($this->fail) { 18 throw new Error("fail"); 20 $this->fail = true; 33 stream_wrapper_register("fail", FailingWrapper::class, 0); 35 Dom\HTMLDocument::createFromFile("fail://x"); 39 Fatal error: Uncaught Error: fail in %s:%d 42 #1 %s(%d): Dom\HTMLDocument::createFromFile('fail://x')
|
/PHP-8.4/tests/classes/ |
H A D | protected_001.phpt | 7 protected static function fail() { 8 echo "Call fail()\n"; 12 pass::fail(); 17 pass::fail();// must fail because we are calling from outside of class pass 22 Call fail() 24 Fatal error: Uncaught Error: Call to protected method pass::fail() from global scope in %s:%d
|
H A D | protected_001b.phpt | 7 protected function fail() { 8 echo "Call fail()\n"; 12 $this->fail(); 18 $t->fail();// must fail because we are calling from outside of class pass 23 Call fail() 25 Fatal error: Uncaught Error: Call to protected method pass::fail() from global scope in %s:%d
|
H A D | private_002.phpt | 18 class fail { 20 echo "Call fail::show()\n"; 25 fail::show(); 31 Call fail::show() 33 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d 35 #0 %s(%d): fail::show()
|
H A D | protected_002.phpt | 18 class fail { 20 echo "Call fail::show()\n"; 25 fail::show(); 31 Call fail::show() 33 Fatal error: Uncaught Error: Call to protected method pass::show() from scope fail in %s:%d 35 #0 %s(%d): fail::show()
|
H A D | private_004.phpt | 16 class fail extends pass { 18 fail::show(); 23 fail::do_show(); 30 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d 32 #0 %s(%d): fail::do_show()
|
H A D | private_003.phpt | 16 class fail extends pass { 26 fail::ok(); 27 fail::not_ok(); // calling a private function 34 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d 36 #0 %s(%d): fail::not_ok()
|
H A D | abstract_class.phpt | 6 abstract class fail { 10 class pass extends fail { 19 $t = new fail(); 27 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
|
H A D | static_mix_1.phpt | 12 class fail extends pass { 14 echo "Call to function fail::show()\n"; 19 fail::show(); 24 Fatal error: Cannot make static method pass::show() non static in class fail in %s on line 10
|
H A D | static_mix_2.phpt | 12 class fail extends pass { 14 echo "Call to function fail::show()\n"; 20 fail::show(); 25 Fatal error: Cannot make non static method pass::show() static in class fail in %s on line 10
|
H A D | abstract_static.phpt | 21 class fail 27 fail::show(); 34 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
|
H A D | private_005.phpt | 16 class fail extends pass { 23 fail::do_show(); 30 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d 32 #0 %s(%d): fail::do_show()
|
H A D | private_004b.phpt | 16 class fail extends pass { 25 $t2 = new fail(); 33 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d 35 #0 %s(%d): fail->do_show()
|
H A D | private_003b.phpt | 16 class fail extends pass { 26 $t = new fail(); 35 Fatal error: Uncaught Error: Call to private method pass::show() from scope fail in %s:%d 37 #0 %s(%d): fail->not_ok()
|
H A D | abstract_not_declared.phpt | 6 class fail { 13 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
|
H A D | abstract_inherit.phpt | 10 abstract class fail extends pass { 13 $t = new fail(); 19 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
|
/PHP-8.4/ext/dom/tests/modern/html/serializer/ |
H A D | HTMLDocument_serialize_failing_stream.phpt | 10 public $fail = false; 17 if ($this->fail) { 18 throw new Error("fail"); 20 $this->fail = true; 44 Fatal error: Uncaught Error: fail in %s:%d
|
/PHP-8.4/Zend/tests/closures/ |
H A D | closure_from_callable_error.phpt | 11 echo "Test failed to fail and return was : ".var_export($fn, true)."\n"; 24 echo "Test failed to fail and return was : ".var_export($fn, true)."\n"; 48 echo "Test failed to fail, closure is : ".var_export($fn, true)."\n"; 60 echo "Test failed to fail, closure is : ".var_export($fn, true)."\n"; 72 echo "Test failed to fail, closure is : ".var_export($fn, true)."\n"; 93 echo 'Non-existent method should fail'."\n"; 105 echo 'Non-existent class should fail'."\n"; 117 echo 'Non-existent function should fail'."\n"; 204 Non-existent method should fail 205 Non-existent class should fail [all …]
|
/PHP-8.4/ext/calendar/ |
H A D | julian.c | 168 goto fail; in SdnToJulian() 172 goto fail; in SdnToJulian() 180 goto fail; in SdnToJulian() 209 fail: in SdnToJulian()
|
/PHP-8.4/tests/output/ |
H A D | bug46897.phpt | 2 Bug #46897: ob_flush() should fail to flush unerasable buffers 13 echo "Attempt to flush unerasable buffer - should fail..."; 20 [callback:1]Attempt to flush unerasable buffer - should fail... 23 string(%d) "Attempt to flush unerasable buffer - should fail...
|