diff options
author | Andi Gutmans <andi@php.net> | 2004-04-03 21:50:12 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2004-04-03 21:50:12 +0000 |
commit | 8838b38fcbc90a74fb7c499d72813b559aad2101 (patch) | |
tree | c04314ef04d91832af4adc163365315c140921ec /ext/mbstring/php_mbregex.c | |
parent | efb62ea35f8ca19eeaf06316f34fab83af1a93e3 (diff) | |
download | php-git-8838b38fcbc90a74fb7c499d72813b559aad2101.tar.gz |
Patch by Timm Friebe:
It changes
set_exception_handler() to accept the pseudo-type "callable" (instead of
a string referring to a global function).
Examples:
set_exception_handler('function_name');
set_exception_handler(array('class_name', 'static_method'));
set_exception_handler(array($instance, 'instance_method'));
This also makes set_exception_handler() more consistent with all the
other callback functionality, e.g. set_error_handler().
Diffstat (limited to 'ext/mbstring/php_mbregex.c')
0 files changed, 0 insertions, 0 deletions