#
fdf3fbad |
| 06-Sep-2003 |
Marcus Boerger |
Disallow to changing the backtrace
|
#
0e391873 |
| 05-Sep-2003 |
Marcus Boerger |
Provide string casting for exceptions by calling toString()
|
#
7bbbd503 |
| 03-Sep-2003 |
Marcus Boerger |
Fix handling of static properties initialized to arrays
|
#
f03801bd |
| 01-Sep-2003 |
Marcus Boerger |
Don't loose information if no parameters were shown. # Noticed by Sebatian Bergmann
|
#
d7fa986d |
| 01-Sep-2003 |
Marcus Boerger |
Show {main} and prevent showing empty stack traces
|
#
0036ed90 |
| 01-Sep-2003 |
Marcus Boerger |
Clearify this
|
#
07ef05ad |
| 01-Sep-2003 |
Sebastian Bergmann |
Revert what I think is an accidental commit by Marcus that slipped in at revision 1.23. Declaring getMessage() as final is a PITA, so I hope it will not come to that.
|
#
f9ee3191 |
| 31-Aug-2003 |
Marcus Boerger |
Excluded chars < 32 when displaying string parameters that would obliterate output.
|
#
d45fd8a1 |
| 31-Aug-2003 |
Marcus Boerger |
Make vspprintf available as zend utility function. Use it in exception output.
|
#
00fddc9b |
| 30-Aug-2003 |
Marcus Boerger |
Actually fetch the parameter
|
#
f1c92fa4 |
| 30-Aug-2003 |
Marcus Boerger |
- Calling abstract methods should be a error for consistency reason. - So in reflection_api we use the reflection_exception again.
|
#
80c0cdf7 |
| 30-Aug-2003 |
Marcus Boerger |
Even though it is ignored this should be correct
|
#
655f2dc5 |
| 30-Aug-2003 |
Marcus Boerger |
Add frame numer and finally display stack trace in the message. # # And voila - nice useable and helpfull exceptions in PHP. # Now we need to tell ppl 'anyway don't use them if possible'.
Add frame numer and finally display stack trace in the message. # # And voila - nice useable and helpfull exceptions in PHP. # Now we need to tell ppl 'anyway don't use them if possible'. #
show more ...
|
#
c80eb457 |
| 30-Aug-2003 |
Marcus Boerger |
Add exception::traceAsString() and exception::toString()
|
#
f7f49e45 |
| 30-Aug-2003 |
Marcus Boerger |
- The compiler can't detect all abstract function calls so we need to check. # In this case throwing a dedicated exception is better than the error we # show when the compiler can detect the
- The compiler can't detect all abstract function calls so we need to check. # In this case throwing a dedicated exception is better than the error we # show when the compiler can detect the abstract call because its run-time.
show more ...
|
#
ad31a021 |
| 30-Aug-2003 |
Marcus Boerger |
Make those final (see comment)
|
#
bdd2d4aa |
| 29-Aug-2003 |
Marcus Boerger |
Need to tell zend_fetch_debug_backtrace() whether to skip top function or not. # And i wondered why the trace wasn't rally accurate.
|
#
b3f3ddd1 |
| 28-Aug-2003 |
Marcus Boerger |
Add public read access to protected
|
#
fa70708d |
| 28-Aug-2003 |
Marcus Boerger |
Add zend_throw_exception_ex() which allows to format exception messages. # # Since we don't have any portable way of printing into a dynamic buffer i # used a stack buffer of 1K (just lik
Add zend_throw_exception_ex() which allows to format exception messages. # # Since we don't have any portable way of printing into a dynamic buffer i # used a stack buffer of 1K (just like the error printing) and used a dynamic # buffer in case the necessary function is available. #
show more ...
|
#
8d3620ae |
| 28-Aug-2003 |
Marcus Boerger |
- Split debug_backtrace() into lowlevel c function and php function wrapper - Add trace property to default method based on new zend_fetch_debug_backtrace # Unforunatley the handler for uncau
- Split debug_backtrace() into lowlevel c function and php function wrapper - Add trace property to default method based on new zend_fetch_debug_backtrace # Unforunatley the handler for uncaught exception can't show this backtrace # simply because there is currently no way to do it. If i can think of a # solution i'll add it. Until them i am open to any ideas/help.
show more ...
|
Revision tags: php-4.3.3 |
|
#
19ec7a09 |
| 24-Aug-2003 |
Marcus Boerger |
- Provide appropriate way to destroy internal zval's. - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of c
- Provide appropriate way to destroy internal zval's. - Allow internal zval's of type string and disallow complex types. - Define the default string for extensions at class level instead of ctor.
show more ...
|
#
4e5e7502 |
| 24-Aug-2003 |
Marcus Boerger |
Allow to throw instances of classes derived from exception
|
#
d3473d1f |
| 24-Aug-2003 |
Marcus Boerger |
- Provide a unified way to display uncaught exceptions, which shows file/line/message info if possible. - Add zend_eval_string_ex() to be able to handle exceptions in eval'd code. - Use
- Provide a unified way to display uncaught exceptions, which shows file/line/message info if possible. - Add zend_eval_string_ex() to be able to handle exceptions in eval'd code. - Use above function to fix memleaks in CLI.
show more ...
|
#
d4cf96c5 |
| 24-Aug-2003 |
Marcus Boerger |
Make use method macros
|
#
38805f28 |
| 24-Aug-2003 |
Marcus Boerger |
Add property read code and use that in default exception class
|