Home
last modified time | relevance | path

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

12345678910>>...13

/PHP-7.3/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__);
41 self::fail(4, __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)
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++;
/PHP-7.3/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 context '' 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 context '' 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 context '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 context '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 context '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 context '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 %d
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 %d
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 context '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 context '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 context '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…
/PHP-7.3/ext/mbstring/libmbfl/tests/conv_encoding.tests/
H A Dyensign.exp6 "\[^\r\n\]*\r\n" { fail $test }
18 "\[^\r\n\]*\r\n" { fail $test }
30 "\[^\r\n\]*\r\n" { fail $test }
42 "\[^\r\n\]*\r\n" { fail $test }
54 "\[^\r\n\]*\r\n" { fail $test }
66 "\[^\r\n\]*\r\n" { fail $test }
78 "\[^\r\n\]*\r\n" { fail $test }
90 "\[^\r\n\]*\r\n" { fail $test }
/PHP-7.3/ext/interbase/tests/
H A D003.phpt30 /* should fail, but gracefully */
58 echo " CHAR fail:\n";
63 echo " DATE fail\n";
68 echo " DECIMAL4_2 fail\n";
73 echo " DECIMAL4_0 fail\n";
78 echo " DECIMAL7_2 fail\n";
99 echo " DOUBLE fail\n";
104 echo " FLOAT fail\n";
109 echo " INTEGER fail\n";
114 echo " SMALLINT fail\n";
[all …]
H A D007.phpt78 echo " CHAR[$i] fail:\n";
83 echo " DATE[$i] fail\n";
88 echo " DECIMAL[$i] fail\n";
93 echo " DOUBLE[$i] fail\n";
98 echo " FLOAT[$i] fail\n";
137 echo "CHAR fail\n";
144 echo "DATE fail\n";
150 echo "DECIMAL fail\n";
156 echo "INTEGER fail\n";
162 echo "NUMERIC fail\n";
[all …]
H A D006.phpt61 echo " CHAR fail:\n";
66 echo " DATE fail\n";
71 echo " DECIMAL fail\n";
76 echo " DOUBLE fail\n";
81 echo " FLOAT fail\n";
86 echo " INTEGER fail\n";
91 echo " NUMERIC fail\n";
135 echo "CHAR fail\n";
141 echo "DATE fail\n";
147 echo "DECIMAL fail\n";
[all …]
/PHP-7.3/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";
205 Non-existent method should fail
206 Non-existent class should fail
[all …]
/PHP-7.3/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-7.3/ext/mbstring/libmbfl/tests/conv_kana.tests/
H A Dconv_kana.exp8 "\[^\r\n\]*\r\n" { fail $test }
55 "\[^\r\n\]*\r\n" { fail $test }
94 "\[^\r\n\]*\r\n" { fail $test }
141 "\[^\r\n\]*\r\n" { fail $test }
188 "\[^\r\n\]*\r\n" { fail $test }
235 "\[^\r\n\]*\r\n" { fail $test }
282 "\[^\r\n\]*\r\n" { fail $test }
329 "\[^\r\n\]*\r\n" { fail $test }
376 "\[^\r\n\]*\r\n" { fail $test }
411 "\[^\r\n\]*\r\n" { fail $test }
[all …]

Completed in 45 milliseconds

12345678910>>...13