/PHP-8.1/ext/standard/tests/strings/ |
H A D | substr_count_error.phpt | 12 } catch (ValueError $exception) { 13 echo $exception->getMessage() . "\n"; 19 } catch (ValueError $exception) { 20 echo $exception->getMessage() . "\n"; 27 } catch (ValueError $exception) { 28 echo $exception->getMessage() . "\n"; 34 } catch (ValueError $exception) { 35 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | popen_pclose_error.phpt | 8 } catch (ValueError $exception) { 9 echo $exception->getMessage() . "\n"; 14 } catch (ValueError $exception) { 15 echo $exception->getMessage() . "\n"; 20 } catch (ValueError $exception) { 21 echo $exception->getMessage() . "\n";
|
H A D | fscanf.phpt | 23 } catch (ValueError $exception) { 24 echo $exception->getMessage() . "\n"; 35 } catch (ValueError $exception) { 36 echo $exception->getMessage() . "\n"; 47 } catch (ValueError $exception) { 48 echo $exception->getMessage() . "\n"; 67 } catch (ValueError $exception) { 68 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/ldap/tests/ |
H A D | ldap_search_error.phpt | 27 } catch (ValueError $exception) { 28 echo $exception->getMessage() . "\n"; 33 } catch (ValueError $exception) { 34 echo $exception->getMessage() . "\n"; 39 } catch (ValueError $exception) { 40 echo $exception->getMessage() . "\n"; 45 } catch (TypeError $exception) { 46 echo $exception->getMessage() . "\n"; 51 } catch (TypeError $exception) { 52 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/session/tests/ |
H A D | bug69111.phpt | 19 } catch (Error $exception) { 20 echo $exception->getMessage() . "\n"; 25 } catch (Error $exception) { 26 echo $exception->getMessage() . "\n"; 31 } catch (Error $exception) { 32 echo $exception->getMessage() . "\n";
|
H A D | session_set_save_handler_type_error.phpt | 22 } catch (TypeError $exception) { 23 echo $exception->getMessage() . "\n"; 29 } catch (TypeError $exception) { 30 echo $exception->getMessage() . "\n"; 36 } catch (TypeError $exception) { 37 echo $exception->getMessage() . "\n"; 43 } catch (TypeError $exception) { 44 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/standard/tests/network/ |
H A D | dns_get_record_error_conditions.phpt | 8 } catch (\ValueError $exception) { 9 echo $exception->getMessage() . "\n"; 16 } catch (\ValueError $exception) { 17 echo $exception->getMessage() . "\n"; 24 } catch (\ValueError $exception) { 25 echo $exception->getMessage() . "\n";
|
H A D | dns_check_record_error_conditions.phpt | 7 } catch (\ValueError $exception) { 8 echo $exception->getMessage() . "\n"; 13 } catch (\ValueError $exception) { 14 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/standard/tests/serialize/ |
H A D | unserialize_error_001.phpt | 13 } catch (TypeError $exception) { 14 echo $exception->getMessage() . "\n"; 19 } catch (TypeError $exception) { 20 echo $exception->getMessage() . "\n"; 26 } catch (TypeError $exception) { 27 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/standard/tests/class_object/ |
H A D | method_exists_basic_002.phpt | 6 echo "Does exception::getmessage exist? "; 7 var_dump(method_exists("exception", "getmessage")); 12 echo "Does exception::getmessage exist? "; 13 var_dump(method_exists(new exception, "getmessage")); 21 Does exception::getmessage exist? bool(true) 25 Does exception::getmessage exist? bool(true)
|
/PHP-8.1/ext/xmlreader/tests/ |
H A D | setSchema_error.phpt | 11 } catch (ValueError $exception) { 12 echo $exception->getMessage() . "\n"; 19 } catch (Error $exception) { 20 echo $exception->getMessage() . "\n"; 27 } catch (Error $exception) { 28 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/soap/tests/ |
H A D | fault_warning.phpt | 10 } catch (ValueError $exception) { 11 echo $exception->getMessage() . "\n"; 16 } catch (TypeError $exception) { 17 echo $exception->getMessage() . "\n"; 27 } catch (ValueError $exception) { 28 echo $exception->getMessage() . "\n"; 33 } catch (ValueError $exception) { 34 echo $exception->getMessage() . "\n";
|
/PHP-8.1/Zend/tests/ |
H A D | str_or_obj_of_class_zpp.phpt | 23 } catch (TypeError $exception) { 24 echo $exception->getMessage() . "\n"; 29 } catch (TypeError $exception) { 30 echo $exception->getMessage() . "\n"; 41 } catch (TypeError $exception) { 42 echo $exception->getMessage() . "\n"; 47 } catch (TypeError $exception) { 48 echo $exception->getMessage() . "\n";
|
H A D | bug47714.phpt | 15 set_exception_handler(function($exception) { 17 $h->handle($exception); 20 throw new Exception('exception'); 23 exception
|
H A D | bug44827.phpt | 8 } catch (ValueError $exception) { 9 echo $exception->getMessage() . "\n"; 14 } catch (ValueError $exception) { 15 echo $exception->getMessage() . "\n";
|
H A D | bug76025.phpt | 2 Bug #76025 (Segfault while throwing exception in error_handler) 7 $exception = new exception("blah"); 8 throw $exception;
|
/PHP-8.1/ext/json/tests/ |
H A D | json_exceptions_error_clearing.phpt | 17 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL; 25 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL; 34 echo "Caught JSON exception: ", $e->getCode(), PHP_EOL; 43 Caught JSON exception: 4 45 Caught JSON exception: 4 47 Caught JSON exception: 7
|
/PHP-8.1/ext/filter/tests/ |
H A D | 039.phpt | 16 } catch (TypeError $exception) { 17 echo $exception->getMessage() . "\n"; 26 } catch (TypeError $exception) { 27 echo $exception->getMessage() . "\n"; 36 } catch (TypeError $exception) { 37 echo $exception->getMessage() . "\n"; 44 } catch (TypeError $exception) { 45 echo $exception->getMessage() . "\n"; 56 } catch (ValueError $exception) { 61 } catch (ValueError $exception) { [all …]
|
/PHP-8.1/ext/xsl/tests/ |
H A D | bug49634.phpt | 31 throw new Exception('Test exception.'); 52 Exception: Test exception. in %s:%d 57 Exception: Test exception. in %s:%d 62 Exception: Test exception. in %s:%d 67 Exception: Test exception. in %s:%d 72 Exception: Test exception. in %s:%d 77 Exception: Test exception. in %s:%d 82 Exception: Test exception. in %s:%d 87 Exception: Test exception. in %s:%d 92 Exception: Test exception. in %s:%d [all …]
|
/PHP-8.1/ext/reflection/tests/internal_parameter_default_value/ |
H A D | ReflectionParameter_getDefaultValueConstantName_Internal.phpt | 11 } catch (ReflectionException $exception) { 12 echo $exception->getMessage() . "\n"; 24 } catch (ReflectionException $exception) { 25 echo $exception->getMessage() . "\n"; 37 } catch (ReflectionException $exception) { 38 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/zend_test/ |
H A D | fiber.c | 30 .flags = exception ? ZEND_FIBER_TRANSFER_FLAG_ERROR : 0, in zend_test_fiber_switch_to() 105 if (EG(exception)) { in zend_test_fiber_execute() 107 || !(zend_is_graceful_exit(EG(exception)) || zend_is_unwind_exit(EG(exception))) in zend_test_fiber_execute() 112 ZVAL_OBJ_COPY(&transfer->value, EG(exception)); in zend_test_fiber_execute() 166 zend_object *exception = EG(exception); in zend_test_fiber_object_destroy() local 167 EG(exception) = NULL; in zend_test_fiber_object_destroy() 174 EG(exception) = Z_OBJ(transfer.value); in zend_test_fiber_object_destroy() 176 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_test_fiber_object_destroy() 181 zend_exception_set_previous(EG(exception), exception); in zend_test_fiber_object_destroy() 184 zend_exception_error(EG(exception), E_ERROR); in zend_test_fiber_object_destroy() [all …]
|
/PHP-8.1/ext/standard/tests/time/ |
H A D | bug60222.phpt | 7 } catch (ValueError $exception) { 8 echo $exception->getMessage() . "\n"; 13 } catch (ValueError $exception) { 14 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/pcntl/tests/ |
H A D | pcntl_signal.phpt | 24 } catch (ValueError $exception) { 25 echo $exception->getMessage() . "\n"; 30 } catch (ValueError $exception) { 31 echo $exception->getMessage() . "\n"; 36 } catch (TypeError $exception) { 37 echo $exception->getMessage() . "\n";
|
/PHP-8.1/ext/sqlite3/tests/ |
H A D | bug72668.phpt | 2 Bug #72668 (Spurious warning when exception is thrown in user defined function) 8 throw new \Exception("test exception\n"); 38 Exception: test exception 39 Exception: test exception 40 Exception: test exception
|
/PHP-8.1/ext/intl/tests/ |
H A D | bug61487.phpt | 12 } catch (ValueError $exception) { 13 echo $exception->getMessage() . "\n"; 18 } catch (ValueError $exception) { 19 echo $exception->getMessage() . "\n";
|