| /PHP_5_5/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_5/ext/spl/internal/ |
| 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)');
|
| 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
|
| /PHP_5_5/scripts/dev/generate-phpt/src/ |
| H A D | generate-phpt.php | 22 } catch (exception $e) { 34 } catch (exception $e) {
|
| /PHP_5_5/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 | 241 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 | 293 zend_error(EG(exception) ? E_ERROR : E_RECOVERABLE_ERROR, "Object of class %s could not be converted to string", Z_OBJCE_P(expr)->name); 1032 /* Report about uncaught exception in case of fatal errors */ 1033 if (EG(exception)) { 1044 zend_exception_error(EG(exception), E_WARNING TSRMLS_CC); 1045 EG(exception) = NULL; 1206 } else if (!EG(exception)) { 1318 if (EG(exception)) { 1322 old_exception = EG(exception); 1323 EG(exception) = NULL; 1330 if (EG(exception)) { [all...] |
| H A D | zend_interfaces.c | 104 if (!EG(exception)) { 209 if (!EG(exception)) { 278 if (!EG(exception)) { 326 /* c-level get_iterator cannot be changed (exception being only Traversable is implmented) */ 409 if (!retval || EG(exception)) { 429 if (result == FAILURE && !EG(exception)) { 450 if (EG(exception)) {
|
| H A D | zend_execute_API.c | 186 EG(exception) = NULL; 408 if(EG(exception) && EG(opline_ptr) && active_opline->opcode == ZEND_HANDLE_EXCEPTION && 754 if (EG(exception)) { 969 if (EG(exception) && fci->retval_ptr_ptr) { 993 if (EG(exception) && fci->retval_ptr_ptr) { 1008 if (EG(exception)) { 1229 if (handle_exceptions && EG(exception)) { 1230 zend_exception_error(EG(exception), E_ERROR TSRMLS_CC); 1307 if (EG(exception)) { 1308 zend_exception_error(EG(exception), E_ERRO [all...] |
| H A D | zend_generators.c | 350 /* If an exception was thrown in the generator we have to internally 352 if (UNEXPECTED(EG(exception) != NULL)) { 501 /* {{{ proto mixed Generator::throw(Exception $exception) 502 * Throws an exception into the generator */ 505 zval *exception, *exception_copy; local 508 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &exception) == FAILURE) { 513 MAKE_COPY_ZVAL(&exception, exception_copy); 518 /* Throw the exception in the context of the generator */ 532 /* If the generator is already closed throw the exception in the 668 ZEND_ARG_INFO(0, exception) [all...] |
| H A D | zend_vm_def.h | 1797 if (UNEXPECTED(EG(exception) != NULL)) { 1867 if (UNEXPECTED(EG(exception) != NULL)) { 1887 if (UNEXPECTED(EG(exception) != NULL) && EX(call)->is_ctor_call) { 1905 if (UNEXPECTED(EG(exception) != NULL)) { 1981 if (EXPECTED(EG(exception) == NULL)) { 2019 if (EXPECTED(EG(exception) == NULL)) { 2064 if (UNEXPECTED(EG(exception) != NULL) && EX(call)->is_ctor_call) { 2083 if (UNEXPECTED(EG(exception) != NULL)) { 2120 if (UNEXPECTED(EG(exception) != NULL)) { 2150 if (UNEXPECTED(EG(exception) ! 2955 zval *exception; variable 2970 ALLOC_ZVAL(exception); variable 2973 zval_copy_ctor(exception); variable 2986 zval *exception; variable 3037 EG(exception) = NULL; variable [all...] |
| 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...] |
| /PHP_5_5/ext/readline/ |
| H A D | readline_cli.c | 673 if (EG(exception)) { 674 zend_exception_error(EG(exception), E_WARNING TSRMLS_CC);
|
| /PHP_5_5/ext/sqlite3/ |
| H A D | php_sqlite3_structs.h | 82 zend_bool exception; member in struct:_php_sqlite3_db_object
|
| /PHP_5_5/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_5/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 | 214 while (!EG(exception)) { 220 if (EG(exception)) { 242 if (EG(exception)) { 278 if (EG(exception)) { 305 if (EG(exception)) { 342 if (EG(exception)) { 356 if (EG(exception)) { 385 if (!EG(exception) && (!object->endChildren || object->endChildren->common.scope != spl_ce_RecursiveIteratorIterator)) { 395 if (!EG(exception) && object->beginIteration && !object->in_iteration) { 561 if (EG(exception)) { [all...] |
| /PHP_5_5/sapi/cli/ |
| H A D | php_cli.c | 1130 if (EG(exception)) { 1131 zval *msg = zend_read_property(zend_exception_get_default(TSRMLS_C), EG(exception), "message", sizeof("message")-1, 0 TSRMLS_CC); 1133 zval_ptr_dtor(&EG(exception)); 1134 EG(exception) = NULL;
|
| /PHP_5_5/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)) {\ 928 len = spprintf(&str, 0, "SoapFault exception: [%s] %s in %s:%ld\nStack trace:\n%s", 1644 if (EG(exception)) { 1646 if (Z_TYPE_P(EG(exception)) == IS_OBJECT && 1647 instanceof_function(Z_OBJCE_P(EG(exception)), soap_fault_class_entry TSRMLS_CC)) { 1648 soap_server_fault_ex(function, EG(exception), NULL TSRMLS_CC); 1696 if (EG(exception)) { 1698 if (Z_TYPE_P(EG(exception)) 2151 zval *fault, *exception; local 2800 zval *exception; local [all...] |