summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* allow class_exists() to work with namespaces too.Stanislav Malyshev2003-04-021-21/+52
| | | | | add CLASS_IS_NAMESPACE macro
* fix typoStanislav Malyshev2003-04-021-1/+1
|
* fix parameterless get_declared_classes callStanislav Malyshev2003-04-021-4/+3
|
* Split ZEND_NAMESPACE into user and internal namespaces. Hope this isAndrei Zmievski2003-04-011-1/+1
| | | | | okay with engine folks.
* improve namespace name hanflingStanislav Malyshev2003-04-011-1/+1
|
* fix get_declared_classes()Stanislav Malyshev2003-04-011-0/+3
|
* make get_declared_classes() work with namespaces (based on Tal Peer's patch)Stanislav Malyshev2003-04-011-4/+34
|
* Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().Sebastian Bergmann2003-03-261-2/+2
|
* Add support for interfacesZeev Suraski2003-03-051-10/+20
|
* Fix get_parent_class()Zeev Suraski2003-02-101-10/+5
|
* zend_config.h (and its Win32 version) is already included by zend.hSebastian Bergmann2003-02-081-1/+0
|