Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/PHP-8.1/ext/spl/tests/
H A Diterator_041a.phpt8 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 Diterator_041.phpt8 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 Diterator_041b.phpt8 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 Diterator_047.phpt8 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 Dspl_heap_iteration_error.phpt9 public $fail = false;
11 if ($this->fail)
23 $h->fail=true;
34 ["fail"]=>
/PHP-8.1/tests/classes/
H A Dprotected_001.phpt7 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 Dprotected_001b.phpt7 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 Dprivate_002.phpt18 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 Dprotected_002.phpt18 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 Dprivate_004.phpt16 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 Dprivate_003.phpt16 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 Dabstract_class.phpt6 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 Dstatic_mix_1.phpt12 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 Dstatic_mix_2.phpt12 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 Dabstract_static.phpt21 class fail
27 fail::show();
34 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
H A Dprivate_005.phpt16 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 Dprivate_004b.phpt16 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 Dprivate_003b.phpt16 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 Dabstract_not_declared.phpt6 class fail {
13 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
H A Dabstract_inherit.phpt10 abstract class fail extends pass {
13 $t = new fail();
19 Fatal error: Uncaught Error: Cannot instantiate abstract class fail in %s:%d
H A Dabstract_redeclare.phpt12 class fail extends pass {
19 Fatal error: Class fail contains 1 abstract method and must therefore be declared abstract or imple…
H A Dabstract.phpt6 abstract class fail {
10 class pass extends fail {
28 Fatal error: Uncaught Error: Cannot call abstract method fail::show() in %s:%d
/PHP-8.1/Zend/tests/closures/
H A Dclosure_from_callable_error.phpt11 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.1/ext/calendar/
H A Djulian.c168 goto fail; in SdnToJulian()
172 goto fail; in SdnToJulian()
180 goto fail; in SdnToJulian()
209 fail: in SdnToJulian()
/PHP-8.1/tests/output/
H A Dbug46897.phpt2 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...

Completed in 30 milliseconds

12345678910>>...13