summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed memory leakDmitry Stogov2005-08-161-0/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Fixed bug #33967 (misuse of Exception constructor doesn\'t display errorfile)foobar2005-08-021-2/+2
|
* fix various "Class entry requested for an object without PHP class" messagesStanislav Malyshev2005-06-271-1/+11
| | | | | | | when working with non-PHP objects. # Using Z_OBJCE(object)->name is usually bad idea unless you know it's # a pure PHP object
* No c++ comments in C codefoobar2005-04-191-1/+1
|
* Fixed bug #30904 (segfault when recording soapclient into session).Dmitry Stogov2004-12-071-1/+2
|
* - Fix protosMarcus Boerger2004-10-301-1/+1
|
* - Fix memeleakMarcus Boerger2004-09-271-1/+4
|
* - Roll back VM commitAndi Gutmans2004-09-091-1/+1
|
* - Some architectural changes:Andi Gutmans2004-09-081-1/+1
| | | | | | | | | | | | | a) We specialize opcodes according to op_type fields. Each opcode has to be marked with which op_type's it uses. b) We support different execution methods. Function handlers, switch() and goto dispatching. goto seems to be the fastest but it really depends on the compiler and how well it optimizes. I suggest playing around with optimization flags. - Warning: Things might break so keep us posted on how things are going. (Dmitry, Andi)
* - Be specific about visibilityMarcus Boerger2004-07-271-2/+2
|
* - Add optional parameters $filename and $lineno to ErrorExceptionMarcus Boerger2004-07-251-6/+16
| | | | | | constructor to allow overwriting automatically retrieved information. # It may be reasonable to delete the trace in case that feature is used.
* Fix prototypesZeev Suraski2004-07-201-2/+2
|
* Add descriptionsZeev Suraski2004-07-201-0/+43
|
* - Add new class ErrorException to encapsulate errors in exceptionsMarcus Boerger2004-07-151-15/+93
|
* Revert; obviously I missed the function at the bottom of the file...Wez Furlong2004-05-201-1/+1
|
* Export this, so extensions may throw their own exception objects thatWez Furlong2004-05-201-1/+1
| | | | | they have already instantiated.
* Classnames shall start with an uppercase characterMarcus Boerger2004-04-131-1/+1
|
* - Add hook for exception handler (Derick)Andi Gutmans2004-04-131-0/+5
|
* - Fix crash in exception handling (zend_exception_error(...) andAndi Gutmans2004-03-011-3/+1
| | | | | zend_eval_string_ex() were buggy (Dmitry, Andi)
* Improve error messagesfoobar2004-02-251-3/+3
|
* - Fixed bug #27391 (typo in Fatal Error message).Derick Rethans2004-02-251-1/+1
|
* Centralize exceptions code in zend_exceptions.[ch].Zeev Suraski2004-02-121-11/+42
| | | | | | | | Remove zend_default_classes.h (use zend_exceptions.h instead) NOTE: This currently breaks the build, fixes to php-src and pecl coming soon
* Exceptions updates:Zeev Suraski2004-02-121-27/+22
| | | | | | | | - Enforce exceptions to be derived from class Exception. This allows users to perform catch-all. It's not yet complete, so don't get comfortable with it just yet :) Updates are coming soon. - Implement zend_throw_exception() using zend_throw_exception_ex()
* Fix bug #27186Zeev Suraski2004-02-101-47/+61
|
* Rewrote exception support. Fixes a few limitations and bugs in the oldZeev Suraski2004-02-031-2/+2
| | | | | | | | | | | implementation, and allows exceptions to 'fire' much earlier than before. Instructions on how to use the new mechanism will follow on internals@ shortly... Note - this (most probably) breaks the current implementation of set_exception_handler()
* Fix internal access to exception propertiesMarcus Boerger2004-01-221-14/+14
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Do not show exception message if it's empty.Andrei Zmievski2004-01-021-4/+10
| | | | | # Is there a way to preserve the case of the exception class here?
* Make default message look better.Andrei Zmievski2003-12-311-1/+1
|
* Show the exception message again after __toString() magic has been dropped.Marcus Boerger2003-12-061-8/+12
|
* Fixed crash demonstrated with ext/dom/tests/dom003.phpt test case.Ilia Alshanetsky2003-12-051-3/+3
|
* Check return value of exception::__tostring()Marcus Boerger2003-11-301-39/+6
|
* Make exception code more robust:Marcus Boerger2003-11-291-9/+40
| | | | | | | - Fix error in calculation of trace-string length - Allow to overload __strostring() and make it work for uncaught exceptions - Show exception thrown while displaying exceptions
* This forces a better error message for non working clone calls.Marcus Boerger2003-10-251-0/+1
|
* And use things to throw an exception hereMarcus Boerger2003-10-251-2/+3
|
* You shall not clone Exception instancesMarcus Boerger2003-10-251-0/+7
|
* Impement userspace iterator interfaces and tests. See tests for detailsMarcus Boerger2003-10-221-0/+2
| | | | | on the names.
* The string conversion method should be named __toString()Marcus Boerger2003-10-221-5/+5
|
* Added c-api for iteratorsMarcus Boerger2003-10-171-0/+1
| | | | | # After 4 Month work and endless discussions...
* Fix cast functionMarcus Boerger2003-10-151-3/+3
|
* Use studlyCaps in exception classMarcus Boerger2003-09-171-14/+14
|
* Use type instead of constantMarcus Boerger2003-09-111-1/+1
|
* Disallow to changing the backtraceMarcus Boerger2003-09-061-1/+1
|
* Provide string casting for exceptions by calling toString()Marcus Boerger2003-09-051-2/+21
|
* Fix handling of static properties initialized to arraysMarcus Boerger2003-09-031-6/+6
|
* Don't loose information if no parameters were shown.Marcus Boerger2003-09-011-1/+4
| | | | | # Noticed by Sebatian Bergmann
* Show {main} and prevent showing empty stack tracesMarcus Boerger2003-09-011-6/+11
|
* Clearify thisMarcus Boerger2003-09-011-2/+7
|
* Revert what I think is an accidental commit by Marcus that slipped in at ↵Sebastian Bergmann2003-09-011-1/+1
| | | | revision 1.23. Declaring getMessage() as final is a PITA, so I hope it will not come to that.