Home
last modified time | relevance | path

Searched refs:ex (Results 26 – 50 of 185) sorted by relevance

12345678

/php-src/ext/com_dotnet/tests/
H A Dbug77177.phpt13 } catch (Exception $ex) {
14 echo "Exception: {$ex->getMessage()}\n";
22 } catch (Exception $ex) {
23 echo "Exception: {$ex->getMessage()}\n";
31 } catch (Exception $ex) {
32 echo "Exception: {$ex->getMessage()}\n";
H A Dbug64130.phpt10 } catch (com_exception $ex) {
11 die("skip {$ex->getMessage()}");
22 } catch (com_exception $ex) {}
/php-src/ext/sodium/tests/
H A Dcrypto_kdf.phpt10 } catch (SodiumException $ex) {
15 } catch (SodiumException $ex) {
20 } catch (SodiumException $ex) {
25 } catch (SodiumException $ex) {
30 } catch (SodiumException $ex) {
H A Dbug78114.phpt9 } catch (Throwable $ex) {
10 echo $ex->getMessage(), PHP_EOL;
/php-src/Zend/tests/
H A Dbug52361.phpt9 } catch(Exception $ex) {
10 echo "1. $ex\n";
21 } catch(Exception $ex) {
22 echo "2. $ex\n";
/php-src/Zend/tests/gh10232/
H A Dconstant_def.inc4 $ex = new Exception();
5 echo 'Exception in ', basename($ex->getFile()), ' on line ', $ex->getLine(), "\n";
/php-src/ext/pgsql/tests/
H A Dbug81720.phpt15 } catch (Throwable $ex) {
16 echo $ex->getMessage(), PHP_EOL;
23 } catch (Throwable $ex) {
24 echo $ex->getMessage(), PHP_EOL;
/php-src/ext/pdo_odbc/tests/
H A Dgh9372.phpt27 } catch (PDOException $ex) {
28 if ($ex->getCode() !== "22001") {
29 var_dump($ex->getMessage());
40 } catch (PDOException $ex) {
41 if ($ex->getCode() !== "22001") {
42 var_dump($ex->getMessage());
/php-src/Zend/tests/in-de-crement/
H A Doverloaded_access.phpt24 } catch (Throwable $ex) {
25 echo $ex->getMessage() . "\n";
30 } catch (Throwable $ex) {
31 echo $ex->getMessage() . "\n";
/php-src/ext/pcntl/tests/
H A Dbug81577_2.phpt12 } catch (Throwable $ex) {
13 echo get_class($ex) , " : " , $ex->getMessage() , "\n";
H A Dbug81577_3.phpt14 } catch (Throwable $ex) {
15 echo get_class($ex) , " : " , $ex->getMessage() , "\n";
H A Dbug81577.phpt21 } catch (Throwable $ex) {
22 echo get_class($ex) , " : " , $ex->getMessage() , "\n";
/php-src/Zend/
H A Dzend_execute_API.c637 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename_ex()
638 ex = ex->prev_execute_data; in zend_get_executed_filename_ex()
640 if (ex) { in zend_get_executed_filename_ex()
657 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_lineno()
658 ex = ex->prev_execute_data; in zend_get_executed_lineno()
683 } else if (ex->func && (ZEND_USER_CODE(ex->func->type) || ex->func->common.scope)) { in zend_get_executed_scope()
686 ex = ex->prev_execute_data; in zend_get_executed_scope()
1274 ex = ex->prev_execute_data; in zend_get_called_scope()
1290 ex = ex->prev_execute_data; in zend_get_this_object()
1774 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->common.type))) { in zend_rebuild_symbol_table()
[all …]
H A Dzend_exceptions.c98 zval *previous, *ancestor, *ex; in zend_exception_set_previous() local
116 ex = &zv; in zend_exception_set_previous()
133 ex = previous; in zend_exception_set_previous()
817 zval ex, tmp; in zend_throw_exception_zstr() local
839 return Z_OBJ(ex); in zend_throw_exception_zstr()
850 return ex; in zend_throw_exception()
900 ZVAL_OBJ(&exception, ex); in zend_exception_error()
901 ce_exception = ex->ce; in zend_exception_error()
919 zend_call_known_instance_method_with_0_params(ex->ce->__tostring, ex, &tmp); in zend_exception_error()
924 zend_update_property_ex(i_get_exception_base(ex), ex, ZSTR_KNOWN(ZEND_STR_STRING), &tmp); in zend_exception_error()
[all …]
/php-src/ext/gd/tests/
H A Dbug64641.phpt34 $ex = imagecreatefrompng(__DIR__ . '/bug64641.png');
35 if (($diss = calc_image_dissimilarity($ex, $im)) < 1e-5) {
40 imagedestroy($ex);
/php-src/Zend/tests/assert/
H A Dexpect_003.phpt10 } catch (AssertionError $ex) {
11 var_dump($ex->getMessage());
H A Dexpect_004.phpt10 } catch (AssertionError $ex) {
11 var_dump($ex->getMessage());
/php-src/sapi/phpdbg/
H A Dphpdbg_frame.c53 zend_string *phpdbg_compile_stackframe(zend_execute_data *ex) { in phpdbg_compile_stackframe() argument
55 zend_op_array *op_array = &ex->func->op_array; in phpdbg_compile_stackframe()
56 uint32_t i = 0, first_extra_arg = op_array->num_args, num_args = ZEND_CALL_NUM_ARGS(ex); in phpdbg_compile_stackframe()
57 zval *p = ZEND_CALL_ARG(ex, 1); in phpdbg_compile_stackframe()
65 if (ZEND_CALL_NUM_ARGS(ex) > first_extra_arg) { in phpdbg_compile_stackframe()
67 phpdbg_append_individual_arg(&s, i, ex->func, p); in phpdbg_compile_stackframe()
71 p = ZEND_CALL_VAR_NUM(ex, op_array->last_var + op_array->T); in phpdbg_compile_stackframe()
74 phpdbg_append_individual_arg(&s, i, ex->func, p); in phpdbg_compile_stackframe()
80 if (ex->func->type == ZEND_USER_FUNCTION) { in phpdbg_compile_stackframe()
84 smart_str_append_unsigned(&s, ex->opline->lineno); in phpdbg_compile_stackframe()
/php-src/ext/hash/tests/
H A Dbug81714.phpt9 } catch (Exception $ex) {
10 var_dump($ex->getMessage());
H A Dgh12186_2.phpt11 } catch (Throwable $ex) {
12 echo $ex->getMessage() . "\n";
/php-src/ext/bcmath/tests/
H A Dbcpowmod_zero_modulus.phpt11 } catch (DivisionByZeroError $ex) {
12 echo $ex->getMessage(), PHP_EOL;
/php-src/ext/ldap/tests/
H A Dldap_constructor.phpt10 } catch (Error $ex) {
11 echo "Exception: ", $ex->getMessage(), "\n";
/php-src/ext/intl/tests/
H A Dbug74063.phpt10 } catch (Exception $ex) {
11 echo $ex->getMessage(), PHP_EOL;
/php-src/ext/phar/tests/
H A Dbug81211.phpt26 } catch (UnexpectedValueException $ex) {
27 echo $ex->getMessage(), PHP_EOL;
31 } catch (UnexpectedValueException $ex) {
32 echo $ex->getMessage(), PHP_EOL;
/php-src/ext/calendar/tests/
H A Dcal_from_jd_error1.phpt11 } catch (ValueError $ex) {
12 echo "{$ex->getMessage()}\n";

Completed in 65 milliseconds

12345678