summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Remi Collet2013-12-101-19/+32
|\ | | | | | | | | * PHP-5.4: Fixed Bug #66218 zend_register_functions breaks reflection
| * Fixed Bug #66218 zend_register_functions breaks reflectionRemi Collet2013-12-101-19/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | Functions registered using zend_register_functions instead of zend_module_entry.functions are not seen on reflection. Ex: additional_functions from api_module_entry. Ex: in CLI, dl, cli_set_process_title and cli_get_process_title Note: - also affects functions overrided in extension (should be be reported in extension, where overrided, not in original extension) - also allow extension to call zend_register_functions for various list (instead of having a single bug list)
* | Revered func_get_args() changes, because they were not completly transparent ↵Dmitry Stogov2013-12-101-10/+5
| | | | | | | | and broke some tricky PHP code that worked because of luck before php-5.5.6 (see Bug #66107). The changes are going to be kept in PHP-5.6.
* | Improved performance of func_get_args() by eliminating useless copyingDmitry Stogov2013-10-281-5/+10
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-08-291-8/+1
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.4: Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien) Fixed bug #61759 (class_alias() should accept classes with leading backslashes). (Julien) Conflicts: NEWS
| * Fixed bug #61759 (class_alias() should accept classes with leading ↵Dmitry Stogov2013-08-291-8/+1
| | | | | | | | backslashes). (Julien)
* | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-08-041-1/+1
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
| * non living code related typo fixesVeres Lajos2013-08-041-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-07-211-2/+12
|\ \ | |/
| * Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in traitArpad Ray2013-07-201-2/+7
| | | | | | | | Also fix and test for get_defined_constants(true)
| * Fixed bug #65291 - get_defined_constants() crash with __CLASS__ in traitArpad Ray2013-07-191-0/+5
| |
* | Fix implicit uint* to int* conversion warningDavid Soria Parra2013-04-261-1/+1
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-211-3/+17
|\ \ | |/
| * Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11)Xinchen Hui2013-03-211-3/+17
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-03-191-13/+24
|\ \ | |/ | | | | | | * PHP-5.4: Partial fix for bug #64239
| * Partial fix for bug #64239Dmitry Stogov2013-03-191-13/+24
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-03-191-1/+14
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: Fixed bug #62343 (Show class_alias In get_declared_classes()) Conflicts: NEWS
| * Merge branch 'PHP-5.3' into PHP-5.4Dmitry Stogov2013-03-191-1/+14
| |\ | | | | | | | | | | | | * PHP-5.3: Fixed bug #62343 (Show class_alias In get_declared_classes())
| | * Fixed bug #62343 (Show class_alias In get_declared_classes())Dmitry Stogov2013-03-191-1/+14
| | |
| | * Happy New YearXinchen Hui2013-01-011-1/+1
| | |
| * | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
* | | Fixed bug #63980 (object members get trimmed by zero bytes)Xinchen Hui2013-01-141-3/+3
| | |
* | | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
* | | Simplify set_error_handler/set_exception_handler codeNikita Popov2012-09-221-24/+7
| | |
* | | Return previous error handler when resetting the error handlerNikita Popov2012-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | set_error_handler(null) and set_exception_handler(null) now return the previous error/exception handler instead of just returning bool(true). This is consistent with the behavior of these functions with non-null values.
* | | Allow resetting the error handlerNikita Popov2012-09-221-6/+8
| | | | | | | | | | | | | | | | | | This allows the error handler to be reset using set_error_handler(null). As the code suggests this behavior was already previously intended, but the callback check was done too strictly.
* | | Revert error/exception handler changesNikita Popov2012-09-221-48/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts the following two commits: * 6ba2e662e447f369c6e7686e8b39dde033fd5334 * d8f8e98d8e0493adf1fae622595bd3435bdbf835 Laruence already did some partial changes to set_error_handler and set_exception_handler. I'm reverting those modifications to apply the full set of changes. (The modifications changed the code structure in a way that would lead to more duplication with the new behavior.)
* | | Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)Xinchen Hui2012-03-241-27/+29
| | | | | | | | | | | | | | | The previous commit was reverted as Stas ask, so only commit this to Truk now.
* | | Improve set_exception_handler while doing resetXinchen Hui2012-03-241-18/+19
|/ /
* | Merge branch 'PHP-5.3' of ../php-5.3 into PHP-5.4Xinchen Hui2012-03-241-48/+45
|\ \ | |/
| * Revert "Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)"Xinchen Hui2012-03-241-29/+27
| | | | | | | | This reverts commit fcae164ea63979d7814d7aa114fe8351033e7400.
| * Revert "Merge from PHP-5.4"Xinchen Hui2012-03-241-19/+18
| | | | | | | | This reverts commit 9a87fe1c529eabc7aeec4559d916dda5fda3cdd2.
* | Merge branch 'PHP-5.3' of ../php-5.3 into PHP-5.4Xinchen Hui2012-03-241-27/+29
|\ \ | |/
| * Implemented FR #60738 (Allow 'set_error_handler' to handle NULL)Xinchen Hui2012-03-241-27/+29
| |
| * Merge from PHP-5.4Xinchen Hui2012-03-241-18/+19
| | | | | | | | Improve set_exception_handler
| * Fixed bug #61072 (Memory leak when restoring an exception handler)Xinchen Hui2012-02-141-2/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Re-committing Alan's is_a revert/fix for bug #55475Rasmus Lerdorf2011-09-231-6/+12
| | | | | | | | | | | | | | | | Dmitry had done so earlier, but reverted pending discussion. It is completely clear that this should never have been changed in the 5.3 branch in the first place giving the number of things that broke because of it.
| * Reverted the fix for #55475 (is_a() triggers autoloader) before the common ↵Dmitry Stogov2011-09-151-1/+1
| | | | | | | | decision
| * Fixed bug #55475 (is_a() triggers autoloader). (alan at akbkhome dot com)Dmitry Stogov2011-09-151-1/+1
| |
| * Fix typoEtienne Kneuss2011-08-081-1/+1
| |
| * Use snprintf to make the static analyzers happyPierrick Charron2011-08-081-1/+1
| |
| * function_name cannot be falsePierrick Charron2011-08-071-1/+1
| |
| * - Use ZEND_FE_END macro hereFelipe Pena2011-07-251-1/+1
| |
| * remove warning for is_a() BCStanislav Malyshev2011-07-121-1/+0
| |
| * Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)Dmitry Stogov2011-07-041-25/+6
| |
| * Add options to debug_backtrace functionsStanislav Malyshev2011-01-161-12/+14
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * - Fixed bug #52060 (Memory leak when passing a closure to method_exists())Felipe Pena2010-06-111-3/+11
| |