Commit Graph

495 Commits

Author SHA1 Message Date
Dmitry Stogov
2cfd6cd195 Fixed __call() to be invoked on private/protected method access through callback
s
2009-01-14 11:56:24 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Stanislav Malyshev
636b2c9a6f MF5: Merge namespaces changes 2008-12-04 20:12:30 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Stanislav Malyshev
3a54f031e4 cleanup 2008-11-25 22:23:28 +00:00
Stanislav Malyshev
04c165274a add object-compatible array parameters 2008-11-24 19:17:24 +00:00
Dmitry Stogov
a54d8e5d08 Fixed bug #46246 (difference between call_user_func(array($this, $method)) and $this->$method()) 2008-10-10 15:19:22 +00:00
Antony Dovgal
dcb76bf143 fix zend_register_functions() not displaying duplicate functions (reported by Gopal) 2008-08-22 14:51:19 +00:00
Etienne Kneuss
6423606a63 Handlerify get_closure 2008-08-14 21:26:05 +00:00
Felipe Pena
66dab83834 - Fix build 2008-08-13 16:19:28 +00:00
Felipe Pena
a5f867f3d5 - Constness (Added const qualifier to several function parameters) 2008-08-12 17:15:59 +00:00
Marcus Boerger
320c954402 - Fix memleak with new error handling stack'ing 2008-08-11 17:19:01 +00:00
Marcus Boerger
034d2e5916 - Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
  to save/restore in the vm.
2008-08-08 17:10:49 +00:00
Dmitry Stogov
d24ecd1458 Fixed bug #45744 (Case sensitive callback behaviour) 2008-08-07 12:03:51 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Felipe Pena
dd3d9fc455 - Removed unnecessary TSRMLS_FETCH() 2008-08-02 02:49:46 +00:00
Antony Dovgal
182de3e907 add zend_u_read_property() and zend_u_update_property() 2008-07-29 08:47:21 +00:00
Dmitry Stogov
d379f1fd06 Added checks for destroied objects 2008-07-26 18:32:39 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Dmitry Stogov
84625f5e7e Fixed is_callable() to support closures and return appropriate function name 2008-07-14 12:17:16 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
Felipe Pena
579dcade61 - MFB: Fixed bug #45186 (__call depends on __callstatic in class scope) 2008-06-05 19:16:17 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
Dmitry Stogov
1e2676070d Added API to use namesapces in internal extensions 2008-05-12 07:13:47 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Felipe Pena
cb9f7f675f - Fix valgrind report (Conditional jump or move depends on uninitialised value) 2008-05-08 15:39:35 +00:00
Dmitry Stogov
a0f5a72a8a Support for old-style constructors in namespaces 2008-05-05 09:44:07 +00:00
Antony Dovgal
f2ca4aaf6a allow NULL argument to be passed where binary string expected 2008-03-26 09:09:08 +00:00
Dmitry Stogov
ad40998e8a Optimized detection of "__call" and "__callstatic" methods. 2008-03-25 13:04:22 +00:00
Felipe Pena
d6aacd5eb6 Fixed error message on unicode mode 2008-03-05 14:39:05 +00:00
Sebastian Bergmann
b1d4185f7f Fugbix typo. 2008-02-19 06:52:17 +00:00
Marcus Boerger
43b623f2a2 - Windows build fix 2008-02-09 21:22:22 +00:00
Marcus Boerger
7329e71eb5 - Simplify 2008-02-07 18:40:44 +00:00
Marcus Boerger
cbf04002c4 - Is there an easier way to figure out something is a string? 2008-02-06 22:00:21 +00:00
Marcus Boerger
812d203003 - Fix unicode
# I hate unicode, it is getting tooo complex
2008-02-06 21:53:17 +00:00
Marcus Boerger
4ad89748c3 - Fix missing check and tests 2008-02-06 20:39:54 +00:00
Marcus Boerger
7c377ca19f - Fix cross class tree reference issues with callbacks 2008-02-05 19:06:59 +00:00
Marcus Boerger
27f610f758 - Spread some %v's 2008-02-04 13:59:27 +00:00
Antony Dovgal
803d3a826c fix leak appearing when calling non-static protected or private methods as static
(error message is allocated twice)
2008-02-02 22:29:26 +00:00
Marcus Boerger
8b12839a3b -Add comment that explains wh we need E_ERROR in those cases 2008-02-02 15:46:19 +00:00
Marcus Boerger
f7a0a44b84 - MFB static callable message mess 2008-02-02 15:23:22 +00:00
Dmitry Stogov
dfd32b69fd Fixed GC bug 2008-01-24 10:49:44 +00:00
Dmitry Stogov
2971e13836 Changed EG(argument_stack) implementation. 2008-01-24 09:41:48 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
1ccc6a4f10 Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes) 2007-12-25 10:58:49 +00:00
Dmitry Stogov
47dc82ecb9 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:33:53 +00:00
Jani Taskinen
7bfd345996 cs + ws 2007-11-01 13:30:15 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00