summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* On PHP-7.1 and above we have to check CALL_INFO instead of symbol_table.Dmitry Stogov2016-09-261-1/+1
|
* Merge branch 'PHP-7.0' into PHP-7.1Dmitry Stogov2016-09-261-3/+27
|\ | | | | | | | | * PHP-7.0: Fixed bug #73156 (segfault on undefined function)
| * Fixed bug #73156 (segfault on undefined function)Dmitry Stogov2016-09-261-3/+27
| |
| * Fix bug #69579John Boehr2016-09-221-0/+23
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2016-09-221-0/+16
|\ \
| * | Fix bug #69579John Boehr2016-09-221-0/+23
| |/
* | Merge branch 'PHP-7.0' into PHP-7.1Andrea Faulds2016-09-111-66/+1
|\ \ | |/
| * Remove zpp fallback code (always use Fast ZPP)Andrea Faulds2016-09-111-66/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit 3e27fbb3d22b42d181e15c345f1c59a007b6b58c Author: Andrea Faulds <ajf@ajf.me> Date: Sun Sep 11 19:14:37 2016 +0100 Keep dummy FAST_ZPP macro for compatibility commit 8a7cfd00deaa4a3c5026c97580c49c886c72a5b4 Author: Andrea Faulds <ajf@ajf.me> Date: Mon Sep 5 22:36:03 2016 +0100 Remove FAST_ZPP macro and plain zpp fallback code
| * Fixed use after freeDmitry Stogov2016-08-161-1/+0
| |
* | Fixed compilation warningsDmitry Stogov2016-06-281-1/+1
| |
* | Merge branch 'PHP-7.0'Dmitry Stogov2016-06-221-3/+11
|\ \ | |/ | | | | | | * PHP-7.0: Allow "proxy" ovjects to substitute their class names through get_class_name() handler (similar to var_dump() and others).
| * Allow "proxy" ovjects to substitute their class names through ↵Dmitry Stogov2016-06-221-3/+13
| | | | | | | | get_class_name() handler (similar to var_dump() and others).
* | Forbid dynamic calls to scope introspection functionsNikita Popov2016-05-241-4/+20
| | | | | | | | | | Per RFC: https://wiki.php.net/rfc/forbid_dynamic_scope_introspection
* | Intern some known (and offten used) strings.Dmitry Stogov2016-05-121-33/+42
| |
* | Merge branch 'PHP-7.0'Xinchen Hui2016-05-061-5/+10
|\ \ | |/ | | | | | | | | * PHP-7.0: Fixed test Revert "Fix bug #72162 (again)"
| * Revert "Fix bug #72162 (again)"Xinchen Hui2016-05-061-5/+10
| | | | | | | | | | | | | | | | | | | | The problem is because we release p->value too early and later you try to convert an object to string, which is a fatal error then leave p->value double free, change to expect long is a BC break This reverts commit 8e5b38100411d3b8fa4486c7c41dec7dedb4b474.
* | Merge branch 'PHP-7.0'Nikita Popov2016-05-051-10/+5
|\ \ | |/ | | | | | | Conflicts: Zend/zend_builtin_functions.c
| * Fix bug #72162 (again)Nikita Popov2016-05-051-10/+5
| | | | | | | | | | | | | | | | Not sure what the previous fix was supposed to do. The issue was that error_reporting() simply assumes that the value must either be an integer or a string. Fixed by using zpp properly.
* | Merge branch 'PHP-7.0'Xinchen Hui2016-05-051-2/+3
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #72162 (use-after-free - error_reporting)
| * Fixed bug #72162 (use-after-free - error_reporting)Xinchen Hui2016-05-051-2/+3
| |
* | Fixed compilation warningsDmitry Stogov2016-04-291-3/+3
| |
* | - get rid of EG(scope). zend_get_executed_scope() should be used instead.Dmitry Stogov2016-04-281-18/+26
| | | | | | | | - ichanged zval_update_constant_ex(). Use IS_TYPE_IMMUTABLE flag on shared constants and AST, instead of "inline_change" parameter.
* | Merge zend_execute_data->called_scope into zend_execute_data->This.Dmitry Stogov2016-04-011-2/+2
| | | | | | | | | | | | | | "called_scope" made sense only for static method calls, for dynamic calls it was always equal to the class of $this. Now EG(This) may store IS_OBJECT + $this or IS_UNUSED + "called_scope" (of course, "called_scope" may be NULL). Some code might need to be adopted to support this change. Checks (Z_OBJ(EX(This))) might need to be converted into (Z_TYPE(EX(This)) == IS_OBJECT).
* | Merge branch 'PHP-7.0'Xinchen Hui2016-03-211-1/+1
|\ \ | |/ | | | | | | * PHP-7.0: Fix bug #71835 (json_encode sometimes incorrectly detects recursion with JsonSerializable)
| * Fix bug #71835 (json_encode sometimes incorrectly detects recursion with ↵Jakub Zelenka2016-03-201-1/+1
| | | | | | | | JsonSerializable)
* | Return meaningful valueXinchen Hui2016-01-221-0/+1
| |
* | Empty lineXinchen Hui2016-01-211-0/+1
| |
* | Cover overloaded functionsXinchen Hui2016-01-211-2/+51
| |
* | Let's add a class entry for testingXinchen Hui2016-01-211-0/+14
| |
* | Merge branch 'PHP-7.0'Xinchen Hui2016-01-131-2/+6
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #71336 (Wrong is_ref on properties as exposed via get_object_vars())
| * Fixed bug #71336 (Wrong is_ref on properties as exposed via get_object_vars())Xinchen Hui2016-01-131-2/+6
| |
* | Merge branch 'PHP-7.0'Xinchen Hui2016-01-021-1/+1
|\ \ | |/
| * bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
| |
* | Merge branch 'PHP-7.0'Xinchen Hui2015-12-251-0/+4
|\ \ | |/
| * Fixed bug #71221 (Null pointer deref (segfault) in get_defined_vars via ↵Xinchen Hui2015-12-251-0/+4
| | | | | | | | ob_start)
* | Don't use deprecated APIDmitry Stogov2015-12-161-2/+2
|/
* Fixed bug #70323 (Regression in zend_fetch_debug_backtrace() can cause ↵Xinchen Hui2015-11-091-9/+11
| | | | segfaults)
* Fixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW)Xinchen Hui2015-09-231-7/+17
| | | | | and also keep the indices of func_get_args(). since they are similar issue of #70574, thus reuse its test script.
* Fixed #70547 similar bug in func_get_argsXinchen Hui2015-09-221-8/+16
|
* Fixed bug #70547 (unsetting function variables corrupts backtrace)Xinchen Hui2015-09-221-4/+12
|
* We should keep one refcount to resourceXinchen Hui2015-09-021-2/+3
|
* Fixed bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex)Xinchen Hui2015-09-021-2/+9
|
* Don't copy zend_strings during exception creationNikita Popov2015-08-141-20/+20
| | | | Minor optimization...
* Remove useless insertXinchen Hui2015-08-141-1/+0
|
* Fixed bug #70098 (Real memory usage doesn't decrease)Dmitry Stogov2015-08-041-0/+11
|
* Use hash_str directlyXinchen Hui2015-07-021-3/+4
|
* debug_print_backtrace has a 2nd optional argRasmus Lerdorf2015-06-301-0/+1
|
* Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-44/+44
| | | | semantick changes).
* 3rd arg to define() is optionalRasmus Lerdorf2015-06-231-1/+1
|
* Fix more minor mistakes in the proto commentsRasmus Lerdorf2015-06-231-1/+1
|