Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MFH: | Matt Wilmas | 2009-06-04 | 1 | -2/+22 |
| | | | | | | | | | | | | | | | | | | Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior: * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit) * See bug #42868 (presumably-rare platform with different results in 5.2) * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added, otherwise it's the same as 5.2 * Use this conversion method everywhere instead of some plain (long) casts Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit: * Essentially what 5.3's new conversion was doing in most cases * Functions with "limit" or "length" type params could be updated to use this, and prevent confusing overflow behavior with huge numbers (*also* in 5.2) - See bug #47854, for example; or even #42868 again # Test updates coming | ||||
* | Bug #47880 (crashes in call_user_func_array()) | Dmitry Stogov | 2009-04-06 | 1 | -6/+0 |
| | |||||
* | Fixed bug #47851 (is_callable throws fatal error) | Dmitry Stogov | 2009-04-02 | 1 | -0/+6 |
| | |||||
* | Fixed double efree() | Dmitry Stogov | 2009-03-24 | 1 | -1/+0 |
| | |||||
* | Fixed __call() to be invoked on private/protected method access through ↵ | Dmitry Stogov | 2009-01-14 | 1 | -13/+38 |
| | | | | callbacks | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | Fixed bug #46409 (__invoke method called outside of object context when ↵ | Dmitry Stogov | 2008-11-27 | 1 | -30/+30 |
| | | | | using array_map) | ||||
* | cleanup | Stanislav Malyshev | 2008-11-25 | 1 | -5/+3 |
| | |||||
* | add object-compatible array modes | Stanislav Malyshev | 2008-11-24 | 1 | -5/+13 |
| | |||||
* | - Next step in namespaces, using / as namespace separator. | Marcus Boerger | 2008-11-04 | 1 | -9/+7 |
| | |||||
* | Fixed bug #46246 (difference between call_user_func(array($this, $method)) ↵ | Dmitry Stogov | 2008-10-10 | 1 | -4/+17 |
| | | | | and $this->$method()) | ||||
* | MFH: fix zend_register_functions() not displaying duplicate functions ↵ | Antony Dovgal | 2008-08-22 | 1 | -1/+5 |
| | | | | (reported by Gopal) | ||||
* | MFH: Handlerify get_closure | Etienne Kneuss | 2008-08-14 | 1 | -1/+1 |
| | |||||
* | - Fix build | Felipe Pena | 2008-08-13 | 1 | -3/+3 |
| | |||||
* | - MFH: Constness (Added const qualifier to several function parameters) | Felipe Pena | 2008-08-12 | 1 | -33/+35 |
| | |||||
* | - MFH Fix memleak with new error handling stack'ing | Marcus Boerger | 2008-08-11 | 1 | -8/+18 |
| | |||||
* | - MFH error handling, now with save, replace, restore | Marcus Boerger | 2008-08-08 | 1 | -0/+31 |
| | |||||
* | Fixed bug #45744 (Case sensitive callback behaviour) | Dmitry Stogov | 2008-08-07 | 1 | -2/+3 |
| | |||||
* | - MFH: Added parameter TSRMLS_DC in zend_is_callable() | Felipe Pena | 2008-08-02 | 1 | -3/+1 |
| | |||||
* | - MFH: Removed unnecessary TSRMLS_FETCH() | Felipe Pena | 2008-08-02 | 1 | -1/+0 |
| | |||||
* | Added checks for destroied objects | Dmitry Stogov | 2008-07-26 | 1 | -0/+14 |
| | |||||
* | Fixed is_callable/call_user_func mess that had done different things for ↵ | Dmitry Stogov | 2008-07-26 | 1 | -49/+113 |
| | | | | very similar arguments e.g. array("A","B") and "A::B" | ||||
* | - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. | Felipe Pena | 2008-07-24 | 1 | -2/+2 |
| | |||||
* | LSB parent/self forwarding | Dmitry Stogov | 2008-07-24 | 1 | -124/+132 |
| | |||||
* | Fixed is_callable() to support closures and return appropriate function name | Dmitry Stogov | 2008-07-14 | 1 | -2/+6 |
| | |||||
* | Added support for lambda functions and closures | Dmitry Stogov | 2008-07-14 | 1 | -0/+11 |
| | |||||
* | - Fixed bug #45186 (__call depends on __callstatic in class scope) | Felipe Pena | 2008-06-05 | 1 | -7/+20 |
| | |||||
* | MFH: Add array_init_size() and use it where array size is known at ↵ | Matt Wilmas | 2008-05-27 | 1 | -2/+2 |
| | | | | initialization | ||||
* | Added API to use namesapces in internal extensions | Dmitry Stogov | 2008-05-12 | 1 | -0/+14 |
| | |||||
* | - MFH: Fixed detection of invalid class name | Felipe Pena | 2008-05-08 | 1 | -1/+1 |
| | |||||
* | Support for old-style constructors in namespaces | Dmitry Stogov | 2008-05-05 | 1 | -1/+7 |
| | |||||
* | Optimized detection of "__call" and "__callstatic" methods. | Dmitry Stogov | 2008-03-25 | 1 | -17/+17 |
| | |||||
* | MFH: Dropped zend.ze1_compatibility_mode | Felipe Pena | 2008-03-18 | 1 | -28/+0 |
| | | | | | [DOC] | ||||
* | fix segfault when trying to clone uncloneable object because of ↵ | Antony Dovgal | 2008-03-06 | 1 | -0/+6 |
| | | | | zend.ze1_compatibility_mode which we should have got rid of years ago | ||||
* | MFH: Fugbix typo. | Sebastian Bergmann | 2008-02-19 | 1 | -1/+1 |
| | |||||
* | - MFH Windows build fix | Marcus Boerger | 2008-02-09 | 1 | -1/+2 |
| | |||||
* | - MFH Simplify | Marcus Boerger | 2008-02-07 | 1 | -3/+1 |
| | |||||
* | - MFH Fix missing check and tests | Marcus Boerger | 2008-02-06 | 1 | -1/+3 |
| | |||||
* | - MFH Fix cross class tree reference issues with callbacks (colder,helly) | Marcus Boerger | 2008-02-05 | 1 | -2/+5 |
| | |||||
* | MFH: fix leak appearing when calling non-static protected or private methods ↵ | Antony Dovgal | 2008-02-02 | 1 | -2/+16 |
| | | | | as static | ||||
* | - MFH Add comment that explains why we need E_ERROR in those cases | Marcus Boerger | 2008-02-02 | 1 | -0/+1 |
| | |||||
* | - Fix remaining issue (should be last one) | Marcus Boerger | 2008-02-02 | 1 | -0/+1 |
| | |||||
* | - Drop useless TODO, this would need to be fixed in a generic way | Marcus Boerger | 2008-02-02 | 1 | -1/+0 |
| | |||||
* | - Fix flag handling in message generation | Marcus Boerger | 2008-02-02 | 1 | -4/+13 |
| | |||||
* | What's the [0] for here? Looks wrong and causes stuff to segv | Rasmus Lerdorf | 2008-02-02 | 1 | -1/+1 |
| | |||||
* | Small tweak. Need to make array and string callback syntax behave the | Rasmus Lerdorf | 2008-02-01 | 1 | -3/+3 |
| | | | | | | same way. Also change "cannot" to "should not" since we obviously "can" make the call. | ||||
* | [DOC] | Marcus Boerger | 2008-02-01 | 1 | -40/+99 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix callable/static mess, the following will now all result in a E_STRICT . binding a dynamic function as a static callback . static call of a dynamic function . is_callable() on a static binding to a dynamic function # [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191 # make: `sapi/cli/php' is up to date. # Interactive shell # # php > class t{ function f() { echo "Funny\n"; } } # php > $c = array("t","f"); # php > call_user_func($c); # # Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1 # Funny # php > var_dump(is_callable($c)); # # Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1 # bool(true) # php > t::f(); # # Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1 # Funny # php > | ||||
* | Fixed GC bug | Dmitry Stogov | 2008-01-24 | 1 | -11/+11 |
| | |||||
* | Changed EG(argument_stack) implementation. | Dmitry Stogov | 2008-01-24 | 1 | -8/+8 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| |