summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Added vstrpprintf strpprintf to avoid duplicate stringXinchen Hui2014-05-101-17/+26
| | | | | | | | | | | | (the function name maybe improvement)
* | | Split IS_BOOL into IS_FALSE and IS_TRUEDmitry Stogov2014-04-301-6/+5
| | |
* | | Merge mainstream 'master' branch into refactoringDmitry Stogov2014-04-261-3/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During merge I had to revert: Nikita's patch for php_splice() (it probably needs to be applyed again) Bob Weinand's patches related to constant expression handling (we need to review them carefully) I also reverted all our attempts to support sapi/phpdbg (we didn't test it anyway) Conflicts: Zend/zend.h Zend/zend_API.c Zend/zend_ast.c Zend/zend_compile.c Zend/zend_compile.h Zend/zend_constants.c Zend/zend_exceptions.c Zend/zend_execute.c Zend/zend_execute.h Zend/zend_execute_API.c Zend/zend_hash.c Zend/zend_highlight.c Zend/zend_language_parser.y Zend/zend_language_scanner.c Zend/zend_language_scanner_defs.h Zend/zend_variables.c Zend/zend_vm_def.h Zend/zend_vm_execute.h ext/date/php_date.c ext/dom/documenttype.c ext/hash/hash.c ext/iconv/iconv.c ext/mbstring/tests/zend_multibyte-10.phpt ext/mbstring/tests/zend_multibyte-11.phpt ext/mbstring/tests/zend_multibyte-12.phpt ext/mysql/php_mysql.c ext/mysqli/mysqli.c ext/mysqlnd/mysqlnd_reverse_api.c ext/mysqlnd/php_mysqlnd.c ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_util_funcs.c ext/opcache/zend_persist.c ext/opcache/zend_persist_calc.c ext/pcre/php_pcre.c ext/pdo/pdo_dbh.c ext/pdo/pdo_stmt.c ext/pdo_pgsql/pgsql_driver.c ext/pgsql/pgsql.c ext/reflection/php_reflection.c ext/session/session.c ext/spl/spl_array.c ext/spl/spl_observer.c ext/standard/array.c ext/standard/basic_functions.c ext/standard/html.c ext/standard/mail.c ext/standard/php_array.h ext/standard/proc_open.c ext/standard/streamsfuncs.c ext/standard/user_filters.c ext/standard/var_unserializer.c ext/standard/var_unserializer.re main/php_variables.c sapi/phpdbg/phpdbg.c sapi/phpdbg/phpdbg_bp.c sapi/phpdbg/phpdbg_frame.c sapi/phpdbg/phpdbg_help.c sapi/phpdbg/phpdbg_list.c sapi/phpdbg/phpdbg_print.c sapi/phpdbg/phpdbg_prompt.c
| * | | Fix Linux specific fail in error tracesBob Weinand2014-04-071-1/+1
| |/ / | | | | | | | | | Linux apparently does not like memcpy in overlapping regions...
| * | Merge branch 'PHP-5.4' into PHP-5.5Bob Weinand2014-02-201-3/+58
| |\ \ | | |/
| | * Use nicer output for characters < 32 and > 126 in exception stringsBob Weinand2014-02-201-3/+58
| | | | | | | | | | | | | | | Using question marks might confuse more than it helps. Users are wondering what happened to their string...
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Cleanup (1-st round)Dmitry Stogov2014-04-151-5/+1
| | |
* | | Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), ↵Dmitry Stogov2014-04-031-1/+1
| | | | | | | | | | | | candidate for GC, etc)
* | | Changed data layout to allow more efficient operationsDmitry Stogov2014-04-021-1/+1
| | |
* | | Refactored data structures to keep zend_object* instead of a whole zval in ↵Dmitry Stogov2014-03-281-3/+3
| | | | | | | | | | | | some places
* | | Use ZVAL_DEREF() macroDmitry Stogov2014-03-271-3/+1
| | |
* | | Replaced (Z_TYPE(x) == IS_REFERENCE) with (Z_ISREF(x))Dmitry Stogov2014-03-271-1/+1
| | |
* | | Temporary memory leak fix (should be done in a better way)Dmitry Stogov2014-02-261-1/+2
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-211-2/+8
| | |
* | | Fixed exception constructorDmitry Stogov2014-02-211-4/+5
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-191-8/+15
| | |
* | | Use zend_string avoid mem wastingXinchen Hui2014-02-191-47/+41
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-141-15/+12
| | |
* | | Use better data structures (incomplete)Dmitry Stogov2014-02-101-112/+125
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
|/ /
* | Make message and format arguments const char * to avoidRemi Collet2013-09-231-4/+4
|/ | | | build warning about invalid cast.
* Fixed #65431 in zend_exception.c by SixdXinchen Hui2013-08-151-3/+3
|
* Merge branch 'PHP-5.3' into PHP-5.4Anatol Belski2013-05-121-1/+9
|\ | | | | | | | | * PHP-5.3: Fixed bug #64821 Custom Exceptions crash when internal properties overridden
| * Fixed bug #64821 Custom Exceptions crash when internal properties overriddenAnatol Belski2013-05-121-1/+9
| | | | | | | | | | | | If user inherits Exception and overrides the properties to arbitrary data types, or simply doesn't run parent::__construct(), here we go. Just convert everything to the appropriate data type, like Exception::__toString() does.
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Merge branch 'PHP-5.3' into PHP-5.4Johannes Schlüter2012-12-131-15/+39
|\ \ | |/
| * Fix Bug #63762 Sigsegv when Exception::$trace is changed by userJohannes Schlüter2012-12-131-15/+39
| |
| * Fixed bug #60569 (Nullbyte truncates Exception $message).Ilia Alshanetsky2012-03-111-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Fix bug #47143, bug #51458 - provide more useful info in bad exception casesStanislav Malyshev2011-01-161-0/+3
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * Fixed memory leaks (related to bug #52361)Dmitry Stogov2010-08-161-4/+5
| |
| * separate properties of internal classes in ZTS mode fully,Sascha Schumann2010-08-121-1/+1
| | | | | | | | | | | | otherwise multiple threads will modify the zvals' contents without any synchronisation.
* | make default_exception_ce and error_exception_ce staticNuno Lopes2012-08-021-2/+2
| |
* | Fixed bug #60569 (Nullbyte truncates Exception $message).Ilia Alshanetsky2012-03-111-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-2/+2
| |
* | - Fix bug #55471, fix zts build with dtrace (Laruense)Pierre Joye2011-08-211-1/+1
| |
* | Add optional argument to debug_backtrace() and debug_print_backtrace() to ↵Sebastian Bergmann2011-04-091-1/+1
| | | | | | | | limit the amount of stack frames returned.
* | Fix bug #47143, bug #51458 - provide more useful info in bad exception casesStanislav Malyshev2011-01-161-0/+3
| |
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Fixed bug #53306 (php crashes with segfault when DTrace "exception-thrown" ↵Felipe Pena2010-11-171-2/+7
| | | | | | | | | | | | | | probe fires) patch by: mike at harschsystems dot com
* | Revert unintended modificationDmitry Stogov2010-08-181-1/+1
| |
* | Fixed memory leaks (related to bug #52361)Dmitry Stogov2010-08-161-5/+7
| |
* | Added caches to eliminate repeatable run-time bindings of functions, ↵Dmitry Stogov2010-05-241-4/+2
| | | | | | | | classes, constants, methods and properties
* | fix ~450 tests and 25 segfaultsAntony Dovgal2010-04-251-1/+1
| | | | | | | | | | make test, anyone?
* | Add DTrace probesDavid Soria Parra2010-04-241-0/+10
|/