| /PHP_5_4/ext/spl/examples/ |
| H A D | dba_array.php | 48 catch (exception $err) {
|
| H A D | dbaarray.inc | 32 throw new exception("Databse could not be opened");
|
| H A D | dbareader.inc | 32 throw new exception('Could not open file ' . $file);
|
| /PHP_5_4/ext/spl/internal/ |
| H A D | emptyiterator.inc | 35 /** This function must not be called. It throws an exception upon access. 44 /** This function must not be called. It throws an exception upon access.
|
| H A D | limititerator.inc | 40 throw new exception('Parameter offset must be > 0'); 43 throw new exception('Parameter count must either be -1 or a value greater than or equal to 0'); 54 * @throw exception when position is invalid 58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset); 61 throw new exception('Cannot seek to '.$position.' which is behind offset '.$this->offset.' plus count '.$this->count);
|
| H A D | seekableiterator.inc | 28 * The method should throw an exception if it is not possible to seek to 29 * the given position. Typically this exception should be of type
|
| H A D | cachingiterator.inc | 129 * @throw exception when CALL_TOSTRING was not specified in constructor 143 throw new exception('CachingIterator does not fetch string value (see CachingIterator::__construct)');
|
| /PHP_5_4/scripts/dev/generate-phpt/src/ |
| H A D | generate-phpt.php | 22 } catch (exception $e) { 34 } catch (exception $e) {
|
| /PHP_5_4/Zend/ |
| H A D | zend_exceptions.h | 29 ZEND_API void zend_exception_set_previous(zval *exception, zval *add_previous TSRMLS_DC); 33 void zend_throw_exception_internal(zval *exception TSRMLS_DC); 42 * message NULL or the message of the exception */ 45 ZEND_API void zend_throw_exception_object(zval *exception TSRMLS_DC); 52 /* show an exception using zend_error(severity,...), severity should be E_ERROR */ 53 ZEND_API void zend_exception_error(zval *exception, int severity TSRMLS_DC);
|
| H A D | zend_globals.h | 246 zval *exception, *prev_exception; member in struct:_zend_executor_globals
|
| H A D | zend_objects.c | 111 * For example, if an exception was thrown in a function and when the function's 115 if (EG(exception)) { 116 if (Z_OBJ_HANDLE_P(EG(exception)) == handle) { 117 zend_error(E_ERROR, "Attempt to destruct pending exception"); 119 old_exception = EG(exception); 120 EG(exception) = NULL; 125 if (EG(exception)) { 126 zend_exception_set_previous(EG(exception), old_exception TSRMLS_CC); 128 EG(exception) = old_exception;
|
| H A D | zend.c | 292 zend_error(EG(exception) ? E_ERROR : E_RECOVERABLE_ERROR, "Object of class %s could not be converted to string", Z_OBJCE_P(expr)->name); 1031 /* Report about uncaught exception in case of fatal errors */ 1032 if (EG(exception)) { 1043 zend_exception_error(EG(exception), E_WARNING TSRMLS_CC); 1044 EG(exception) = NULL; 1205 } else if (!EG(exception)) { 1317 if (EG(exception)) { 1321 old_exception = EG(exception); 1322 EG(exception) = NULL; 1329 if (EG(exception)) { [all...] |
| H A D | zend_interfaces.c | 104 if (!EG(exception)) { 208 if (!EG(exception)) 304 if (!EG(exception)) { 352 /* c-level get_iterator cannot be changed (exception being only Traversable is implmented) */ 435 if (!retval || EG(exception)) { 455 if (result == FAILURE && !EG(exception)) { 476 if (EG(exception)) {
|
| H A D | zend_exceptions.c | 37 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 579 zval message, file, line, *trace, *exception; local 797 zend_exception_error(zval *exception, int severity TSRMLS_DC) argument [all...] |
| H A D | zend_object_handlers.c | 650 if (UNEXPECTED(!EG(exception))) { 697 if (check_empty && result && EXPECTED(!EG(exception))) { 1455 if (EXPECTED(!EG(exception)) && zobj->ce->__get && !guard->in_get) { 1534 (zend_call_method_with_0_params(&readobj, ce, &ce->__tostring, "__tostring", &retval) || EG(exception))) { 1535 if (UNEXPECTED(EG(exception) != NULL)) { 1539 EG(exception) = NULL; 1540 zend_error_noreturn(E_ERROR, "Method %s::__toString() must not throw an exception", ce->name);
|
| H A D | zend_execute_API.c | 186 EG(exception) = NULL; 407 if(EG(exception) && EG(opline_ptr) && active_opline->opcode == ZEND_HANDLE_EXCEPTION && 773 if (EG(exception)) { 985 if (EG(exception) && fci->retval_ptr_ptr) { 1009 if (EG(exception) && fci->retval_ptr_ptr) { 1024 if (EG(exception)) { 1245 if (handle_exceptions && EG(exception)) { 1246 zend_exception_error(EG(exception), E_ERROR TSRMLS_CC); 1323 if (EG(exception)) { 1324 zend_exception_error(EG(exception), E_ERRO [all...] |
| H A D | zend_vm_def.h | 1787 if (UNEXPECTED(EG(exception) != NULL)) { 1848 if (UNEXPECTED(EG(exception) != NULL)) { 1878 if (UNEXPECTED(EG(exception) != NULL)) { 1908 if (UNEXPECTED(EG(exception) != NULL)) { 1942 if (UNEXPECTED(EG(exception) != NULL)) { 1973 if (UNEXPECTED(EG(exception) != NULL)) { 2115 EG(exception) = NULL; variable 2537 if (UNEXPECTED(EG(exception) != NULL)) { 2575 if (UNEXPECTED(EG(exception) != NULL) && IS_CTOR_CALL(EX(called_scope))) { 2594 if (UNEXPECTED(EG(exception) ! 2933 zval *exception; variable 2944 ALLOC_ZVAL(exception); variable 2947 zval_copy_ctor(exception); variable 2960 zval *exception; variable 3011 EG(exception) = NULL; variable [all...] |
| /PHP_5_4/ext/readline/ |
| H A D | readline_cli.c | 673 if (EG(exception)) { 674 zend_exception_error(EG(exception), E_WARNING TSRMLS_CC);
|
| /PHP_5_4/ext/spl/ |
| H A D | spl_heap.c | 107 if (EG(exception)) { 146 if (EG(exception)) { 155 /* exception or call failure */ 171 if (EG(exception)) { 180 /* exception or call failure */ 202 if (EG(exception)) { 211 /* exception or call failure */ 256 if (EG(exception)) { 257 /* exception thrown during comparison */ 304 if (EG(exception)) { [all...] |
| H A D | spl_iterators.c | 215 while (!EG(exception)) { 221 if (EG(exception)) { 243 if (EG(exception)) { 279 if (EG(exception)) { 306 if (EG(exception)) { 343 if (EG(exception)) { 357 if (EG(exception)) { 386 if (!EG(exception) && (!object->endChildren || object->endChildren->common.scope != spl_ce_RecursiveIteratorIterator)) { 396 if (!EG(exception) && object->beginIteration && !object->in_iteration) { 562 if (EG(exception)) { [all...] |
| /PHP_5_4/ext/sqlite3/ |
| H A D | php_sqlite3_structs.h | 82 zend_bool exception; member in struct:_php_sqlite3_db_object
|
| /PHP_5_4/sapi/cli/ |
| H A D | php_cli.c | 1125 if (EG(exception)) { 1126 zval *msg = zend_read_property(zend_exception_get_default(TSRMLS_C), EG(exception), "message", sizeof("message")-1, 0 TSRMLS_CC); 1128 zval_ptr_dtor(&EG(exception)); 1129 EG(exception) = NULL;
|
| /PHP_5_4/ext/standard/ |
| H A D | var.c | 717 if (EG(exception)) { 808 if (EG(exception)) { 935 if (EG(exception)) { 970 if (!EG(exception)) {
|
| H A D | var_unserializer.c | 403 if (EG(exception)) { 631 if (EG(exception)) { 640 if (EG(exception)) { 661 if (EG(exception)) { 678 if (EG(exception)) {
|
| /PHP_5_4/ext/soap/ |
| H A D | soap.c | 108 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)) {\ 922 len = spprintf(&str, 0, "SoapFault exception: [%s] %s in %s:%ld\nStack trace:\n%s", 1638 if (EG(exception)) { 1640 if (Z_TYPE_P(EG(exception)) == IS_OBJECT && 1641 instanceof_function(Z_OBJCE_P(EG(exception)), soap_fault_class_entry TSRMLS_CC)) { 1642 soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC); 1690 if (EG(exception)) { 1692 if (Z_TYPE_P(EG(exception)) 2145 zval *fault, *exception; local 2789 zval *exception; local [all...] |