Home
last modified time | relevance | path

Searched refs:Exception (Results 126 – 150 of 898) sorted by relevance

12345678910>>...36

/PHP-8.0/Zend/tests/
H A Dbug71163.phpt6 eval ("class $name extends Exception { public static function foo() {}}");
7 throw new Exception("boom");
13 } catch (Exception $e) {
H A Derror_reporting10.phpt12 throw new Exception();
17 } catch (Exception $e) {}
25 } catch (Exception $e) {}
H A Dbug70785.phpt7 throw new Exception($msg);
14 } catch (Exception $e) {
20 } catch (Exception $e) {
H A Dbug32226.phpt12 throw new Exception();
19 throw new Exception();
27 catch(Exception $e)
H A Dbug30162.phpt9 throw new Exception;
19 } catch(Exception $e) {
24 } catch(Exception $e) {
36 } catch(Exception $e) {
H A Dbug33996.phpt25 echo "Exception: " . $e->getMessage() . "\n";
30 echo "Exception: " . $e->getMessage() . "\n";
35 Exception: Too few arguments to function NormalTest(), 0 passed in %sbug33996.php on line 18 and ex…
36 Exception: Too few arguments to function FooTest(), 0 passed in %sbug33996.php on line 23 and exact…
H A Dbug79599.phpt6 throw new \Exception($message);
16 }catch(\Exception $e){
21 }catch(\Exception $e){
/PHP-8.0/ext/spl/tests/
H A Dfixedarray_020.phpt16 } catch (Exception $e) {
17 echo "Exception: ".$e->getMessage()."\n";
23 } catch (Exception $e) {
24 echo "Exception: ".$e->getMessage()."\n";
36 Exception: array must contain only positive integer keys
H A Dspl_pq_top_error_corrupt.phpt13 throw new Exception('ignore me');
27 } catch (Exception $e) {
33 echo "Exception: ".$e->getMessage().PHP_EOL;
38 Exception: Heap is corrupted, heap properties are no longer ensured.
H A Dspl_heap_count_basic.phpt18 throw new Exception('Cause count to fail');
28 } catch (Exception $e) {
29 echo "Exception: " . $e->getMessage() . "\n";
34 Exception: Cause count to fail
H A Dspl_autoload_005.phpt18 throw new Exception("Unavailable");
39 catch(Exception $e)
41 echo 'Exception: ' . $e->getMessage() . "\n";
49 Exception: Unavailable
/PHP-8.0/Zend/tests/try/
H A Dtry_finally_002.phpt7 throw new Exception("try");
9 throw new Exception("finally");
15 } catch (Exception $e) {
H A Dbug72213.phpt7 throw new Exception('a');
10 throw new Exception('b');
18 } catch (Exception $e) {
H A Dbug70228_3.phpt7 throw new Exception(1);
15 throw new Exception(2);
22 } catch (Exception $e) {
H A Dtry_finally_recursive_previous.phpt6 $e = new Exception("M1");
8 throw new Exception("M2", 0, $e);
15 Fatal error: Uncaught Exception: M1 in %s:%d
/PHP-8.0/sapi/phpdbg/tests/
H A Dset_exception_handler.phpt9 prompt> [Uncaught Exception in %s on line 4: test]
10 >00004: throw new Exception("test");
19 throw new Exception("test");
/PHP-8.0/Zend/tests/type_declarations/variance/
H A Dloading_exception1.phpt2 Exception while loading class -- parent case
7 throw new Exception("Class $class does not exist");
15 } catch (Exception $e) {
36 } catch (Exception $e) {
45 Fatal error: During inheritance of B with variance dependencies: Uncaught Exception: Class A does n…
H A Dloading_exception2.phpt2 Exception while loading class -- interface case
7 throw new Exception("Class $class does not exist");
17 } catch (Exception $e) {
38 } catch (Exception $e) {
47 Fatal error: During inheritance of B with variance dependencies: Uncaught Exception: Class I does n…
/PHP-8.0/ext/opcache/tests/jit/
H A Dshift_right_001.phpt23 echo "Exception " . $e->getMessage() . "\n";
28 echo "Exception " . $e->getMessage() . "\n";
33 echo "Exception (" . get_class($e) . "): " . $e->getMessage() . "\n";
43 Exception (ArithmeticError): Bit shift by negative number
/PHP-8.0/ext/standard/tests/general_functions/
H A Dbug31190.phpt7 function throwException() { throw new Exception("Hello World!\n");
13 } catch (Exception $e) {
19 } catch (Exception $e) {
/PHP-8.0/ext/standard/tests/assert/
H A Dassert_custom_exception.phpt8 class CustomException extends Exception {}
9 assert(false, new CustomException('Exception message'));
12 Fatal error: Uncaught CustomException: Exception message in %s:%d
/PHP-8.0/ext/phar/tests/
H A Dphar_convert_again.phpt35 } catch (Exception $e) {
52 } catch (Exception $e) {
57 } catch (Exception $e) {
62 } catch (Exception $e) {
73 } catch (Exception $e) {
78 } catch (Exception $e) {
83 } catch (Exception $e) {
88 } catch (Exception $e) {
93 } catch (Exception $e) {
98 } catch (Exception $e) {
[all …]
/PHP-8.0/tests/lang/operators/
H A Dmodulus_basiclong_64bit.phpt50 Exception: Modulo by zero
68 Exception: Modulo by zero
86 Exception: Modulo by zero
104 Exception: Modulo by zero
122 Exception: Modulo by zero
140 Exception: Modulo by zero
158 Exception: Modulo by zero
176 Exception: Modulo by zero
194 Exception: Modulo by zero
212 Exception: Modulo by zero
[all …]
/PHP-8.0/ext/standard/tests/serialize/
H A Dbug64354_2.phpt7 throw new Exception("Failed");
13 throw new Exception("Failed");
19 } catch (Exception $e) {
/PHP-8.0/ext/intl/tests/
H A Dbreakiter___construct_error.phpt47 Exception: IntlRuleBasedBreakIterator::__construct(): unable to create RuleBasedBreakIterator from …
49 Exception: IntlRuleBasedBreakIterator::__construct() expects at least 1 argument, 0 given in %s on …
51 Exception: IntlRuleBasedBreakIterator::__construct() expects at most 2 arguments, 3 given in %s on …
53 Exception: IntlRuleBasedBreakIterator::__construct(): Argument #2 ($compiled) must be of type bool,…
55 Exception: IntlRuleBasedBreakIterator::__construct(): unable to create instance from compiled rules…
57 Exception: IntlRuleBasedBreakIterator object is already constructed in %s on line %d

Completed in 44 milliseconds

12345678910>>...36