Searched defs:exception (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_generators.c392 /* If an exception was thrown in the generator we have to internally
394 if (UNEXPECTED(EG(exception) != NULL)) {
547 /* {{{ proto mixed Generator::throw(Exception $exception)
548 * Throws an exception into the generator */
551 zval *exception, *exception_copy; local
554 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &exception) == FAILURE) {
559 MAKE_COPY_ZVAL(&exception, exception_copy);
566 /* Throw the exception in the context of the generator */
580 /* If the generator is already closed throw the exception in the
716 ZEND_ARG_INFO(0, exception)
[all...]
H A Dzend_globals.h248 zval *exception, *prev_exception; member in struct:_zend_executor_globals
H A Dzend_exceptions.c37 void zend_exception_set_previous(zval *exception, zval *add_previous TSRMLS_DC) argument
41 if (exception == add_previous || !add_previous || !exception) {
45 zend_error(E_ERROR, "Cannot set non exception as previous exception");
48 while (exception && exception != add_previous && Z_OBJ_HANDLE_P(exception) != Z_OBJ_HANDLE_P(add_previous)) {
49 previous = zend_read_property(default_exception_ce, exception, "previous", sizeof("previous")-1, 1 TSRMLS_CC);
51 zend_update_property(default_exception_ce, exception, "previou
634 zval message, file, line, *trace, *exception; local
852 zend_exception_error(zval *exception, int severity TSRMLS_DC) argument
[all...]
H A Dzend.h860 zend_class_entry *exception; member in struct:__anon7
H A Dzend_vm_def.h1776 if (UNEXPECTED(EG(exception) != NULL)) {
1846 if (UNEXPECTED(EG(exception) != NULL)) {
1866 if (UNEXPECTED(EG(exception) != NULL) && EX(call)->is_ctor_call) {
1884 if (UNEXPECTED(EG(exception) != NULL)) {
1917 if (UNEXPECTED(EG(exception) != NULL)) {
1929 if (UNEXPECTED(EG(exception) != NULL)) {
1968 if (EXPECTED(EG(exception) == NULL)) {
2008 if (EXPECTED(EG(exception) == NULL)) {
2053 if (UNEXPECTED(EG(exception) != NULL) && EX(call)->is_ctor_call) {
2072 if (UNEXPECTED(EG(exception) !
2973 zval *exception; variable
2988 ALLOC_ZVAL(exception); variable
2991 zval_copy_ctor(exception); variable
3004 zval *exception; variable
3055 EG(exception) = NULL; variable
5295 EG(exception) = NULL; variable
5639 EG(exception) = EX(delayed_exception); variable
[all...]
H A Dzend_vm_execute.h385 if (EG(exception)) {
426 if (UNEXPECTED(EG(exception) != NULL)) {
446 if (UNEXPECTED(EG(exception) != NULL) && EX(call)->is_ctor_call) {
464 if (UNEXPECTED(EG(exception) != NULL)) {
497 if (UNEXPECTED(EG(exception) != NULL)) {
509 if (UNEXPECTED(EG(exception) != NULL)) {
548 if (EXPECTED(EG(exception) == NULL)) {
588 if (EXPECTED(EG(exception) == NULL)) {
633 if (UNEXPECTED(EG(exception) != NULL) && EX(call)->is_ctor_call) {
652 if (UNEXPECTED(EG(exception) !
2706 zval *exception; local
7379 zval *exception; local
8059 zval *exception; local
13317 zval *exception; local
30926 zval *exception; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c108 if (EG(exception) == NULL || \
109 Z_TYPE_P(EG(exception)) != IS_OBJECT || \
110 !instanceof_function(Z_OBJCE_P(EG(exception)), soap_fault_class_entry TSRMLS_CC)) {\
928 len = spprintf(&str, 0, "SoapFault exception: [%s] %s in %s:%ld\nStack trace:\n%s",
1641 if (EG(exception)) {
1643 if (Z_TYPE_P(EG(exception)) == IS_OBJECT &&
1644 instanceof_function(Z_OBJCE_P(EG(exception)), soap_fault_class_entry TSRMLS_CC)) {
1645 soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC);
1693 if (EG(exception)) {
1695 if (Z_TYPE_P(EG(exception))
2148 zval *fault, *exception; local
2798 zval *exception; local
[all...]
/PHP_TRUNK/ext/sqlite3/
H A Dphp_sqlite3_structs.h82 zend_bool exception; member in struct:_php_sqlite3_db_object
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_prompt.c499 exception; local
501 /* get filename and linenumber before unsetting exception */
505 /* copy exception */
506 exception = *EG(exception);
507 zval_copy_ctor(&exception);
508 EG(exception) = NULL;
512 Z_OBJCE(exception)->name);
517 fci.function_table = &Z_OBJCE(exception)->function_table;
520 fci.object_ptr = &exception;
[all...]

Completed in 41 milliseconds