summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix debug_backtrace to show arguments againZeev Suraski2004-04-131-2/+2
| | | | | | We need to merge code from debug_backtrace & debug_print_backtrace at some point!
* - Hopefully fix the debug_backtrace() code.Andi Gutmans2004-04-071-4/+4
|
* - Fix crash bug in zend_debug_backtrace(). No idea how come this survivedAndi Gutmans2004-04-071-2/+2
| | | | | - for so long....
* Patch by Timm Friebe:Andi Gutmans2004-04-031-2/+10
| | | | | | | | | | | | | | | | | 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().
* MFB: Revert patch for bug #27782.Ilia Alshanetsky2004-04-011-3/+0
|
* Fixed bug #27782 (Wrong behaviour of next(), prev() and each()).Ilia Alshanetsky2004-03-301-0/+3
|
* Allow mixed case search for extensionsMarcus Boerger2004-03-291-3/+6
|
* Make object parameter optionalMarcus Boerger2004-03-141-1/+8
|
* - Fixing bug #27123Andi Gutmans2004-03-141-0/+2
|
* - Fixed bug #27443 (defined() returns wrong type).Derick Rethans2004-03-011-2/+2
|
* ws + csfoobar2004-02-251-3/+4
|
* Added error mask to set_error_handler()Zeev Suraski2004-01-101-7/+12
| | | | | Patch by Christian Schneider <cschneid@cschneid.com>
* - 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?
* - Make it compile againDerick Rethans2003-12-081-1/+1
|
* Apply Andrey Hristov's patch adding get_declared_interfaces()Stanislav Malyshev2003-12-071-4/+30
|
* - Nuke property_exists(). We need to fix isset() and this is alreadyAndi Gutmans2003-12-011-24/+1
| | | | | | | - supported in reflection API. In any case, it's best not to add new - functions in the general namespace except for keeping engine consistency (which would have been true in this case)
* Add a support function to check for property existance which is differentMarcus Boerger2003-11-271-0/+24
| | | | | | from checking a property from being empty/set. Update test #26182.
* - Fix __autoload() to preserve class case.Andi Gutmans2003-11-241-23/+5
| | | | | | - Heads up, this patch might break stuff so please let me know if you - bump into any problems.
* - Add E_STRICT, to be used to warn purists (like Jani :)Andi Gutmans2003-11-181-0/+1
|
* Bugfix #26010 (Bug on get_object_vars() function)Marcus Boerger2003-11-101-3/+16
|
* Removedouble efree callMarcus Boerger2003-11-041-1/+0
|
* Nuke vars no longer neededMarcus Boerger2003-09-181-3/+0
|
* Go with studlyCapsMarcus Boerger2003-09-181-8/+9
|
* Attempt at fixing the linkage problem in Win32Zeev Suraski2003-08-311-31/+2
|
* Need to tell zend_fetch_debug_backtrace() whether to skip top function or not.Marcus Boerger2003-08-291-6/+8
| | | | | # And i wondered why the trace wasn't rally accurate.
* - Split debug_backtrace() into lowlevel c function and php function wrapperMarcus Boerger2003-08-281-7/+14
| | | | | | | | - 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.
* Add format attribute to a number of functionsSascha Schumann2003-08-281-1/+3
| | | | | Kill a few warnings
* Replace *magic number* with a much nicer define.Ilia Alshanetsky2003-08-221-2/+2
|
* Set 2147483647 as the module number of user defined constantsIlia Alshanetsky2003-08-221-32/+26
| | | | | Fixed a few bugs and cleaned up get_defined_constants().
* Fix warningsMarcus Boerger2003-08-171-2/+1
|
* Add missing arg infoMarcus Boerger2003-08-031-0/+4
|
* ntroduce infrastructure for supplying information about arguments,Zeev Suraski2003-08-031-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | including: - Whether or not to pass by ref (replaces the old arg_types, with arg_info) - Argument name (for future use, maybe introspection) - Class/Interface name (for type hints) - If a class/interface name is available, whether to allow a null instance Both user and builtin functions share the same data structures. To declare a builtin function that expects its first arg to be an instance of class 'Person', its second argument as a regular arg, and its third by reference, use: ZEND_BEGIN_ARG_INFO(my_func_arg_info, 0) ZEND_ARG_OBJ_INFO(0, someone, Person, 1) ZEND_ARG_PASS_INFO(0) ZEND_ARG_PASS_INFO(1) ZEND_END_ARG_INFO(); and use my_func_arg_info as the arg_info parameter to the ZEND_FE() family of macros. The first arg to each ZEND_ARG_*() macro is whether or not to pass by ref. The boolean arg to ZEND_BEGIN_ARG_INFO() tells the engine whether to treat the arguments for which there's no explicit information as pass by reference or not. The boolean argument to ZEND_ARG_OBJ_INFO() (4th arg) is whether or not to allownull values.
* Fix each() binary safety for keysZeev Suraski2003-07-241-2/+3
|
* fix the get_parent_class fixStanislav Malyshev2003-07-031-2/+7
|
* Bug #24399: is_subclass_of(): fix memleak, tooMarcus Boerger2003-07-021-0/+1
|
* Fix bug #24445Sterling Hughes2003-07-021-9/+1
|
* move the check down a little so it catches all casesSterling Hughes2003-06-301-3/+4
|
* Fix bug #24399 from an excellent test case by edinSterling Hughes2003-06-301-0/+3
|
* fix lambda function static vars (related to #17115)Stanislav Malyshev2003-06-161-3/+4
|
* updating license information in the headers.James Cox2003-06-101-1/+1
|
* wsfoobar2003-06-091-8/+8
|
* Fix set_error_handler()Zeev Suraski2003-06-081-11/+5
|
* rm namespace leftoversStanislav Malyshev2003-06-041-10/+3
|
* MEGA-patch: namespaces are R.I.P.Stanislav Malyshev2003-06-021-87/+14
|
* Make use optimized string loweringMarcus Boerger2003-05-211-12/+6
|
* Fixed bug #23619 (set_error_handler() registered handler not called for ↵foobar2003-05-211-5/+11
| | | | object instances). (Jani, waboring@qualys.com)
* Change get_class() so that it returns qualified names for namespacedStanislav Malyshev2003-04-211-14/+51
| | | | | | | | | | | | classes. *HEADS UP*: get_class_name() handler interface is changed, now it should allocate the space it returns with emalloc, and the users free it. If anyone has problems with it or has suggestions how to do it without this - please tell. Also: make function_exists() understand namespaces.
* refine the set_error_handler fixStanislav Malyshev2003-04-201-2/+2
|
* Fix for bug #21094 (set_error_handler can not accept methods),Stanislav Malyshev2003-04-201-2/+10
| | | | | by Timm Friebe
* Switch some functions to use new zend_lookup_ns_class() methods. ThisAndrei Zmievski2003-04-081-29/+11
| | | | | means that they will accept both simple and fully qualified class names.