summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2014-06-081-16/+16
|\ | | | | | | | | | | * PHP-5.5: Fixed identation on file Fix align indentation
| * Merge branch 'PHp-5.4' into PHP-5.5Stanislav Malyshev2014-06-081-16/+16
| |\ | | | | | | | | | | | | | | | * PHp-5.4: Fixed identation on file Fix align indentation
| | * Fix align indentationJefersson Nathan2014-06-081-16/+16
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| * | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Bump yearXinchen Hui2014-01-031-1/+1
| | |
* | | Merge branch 'PHP-5.5' into PHP-5.6Remi Collet2013-12-101-19/+32
|\ \ \ | |/ / | | | | | | | | | | | | * PHP-5.5: NEWS Fixed Bug #66218 zend_register_functions breaks reflection
| * | 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.
* | | Avoid interned hash key duplication and hash key length recaclulationDmitry Stogov2013-11-291-6/+14
| | |
* | | Constant expressions refactoringDmitry Stogov2013-11-061-1/+1
| | |
* | | converted several switches to ifs and made more opcache friendlyBob Weinand2013-11-011-5/+2
| | |
* | | Working commit for constant scalar expressions (with constants).Bob Weinand2013-10-311-2/+5
| | | | | | | | | | | | Tests will follow.
* | | Avoid copy in func_get_arg()Nikita Popov2013-10-281-3/+1
| | | | | | | | | | | | Complements dmitry's change to func_get_args()
* | | Merge branch 'PHP-5.5'Dmitry Stogov2013-10-281-5/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-5.5: Improved performance of func_get_args() by eliminating useless copying Conflicts: NEWS
| * | Improved performance of func_get_args() by eliminating useless copyingDmitry Stogov2013-10-281-5/+10
| | |
* | | Fix two warningsNikita Popov2013-09-131-2/+1
| | |
* | | Provide more macros for handling of interned stringsNikita Popov2013-09-131-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | * str_erealloc behaves like erealloc for normal strings, but will use emalloc+memcpy for interned strings. * str_estrndup behaves like estrndup for normal strings, but will not copy interned strings. * str_strndup behaves like zend_strndup for normal strings, but will not copy interned strings. * str_efree_rel behaves like efree_rel for normal strings, but will not free interned strings. * str_hash will return INTERNED_HASH for interned strings and compute it using zend_hash_func for normal strings.
* | 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