Commit Graph

194 Commits

Author SHA1 Message Date
Dmitry Stogov
a53eb396b3 Fixed variations of bug #35163 2007-10-23 12:52:51 +00:00
Dmitry Stogov
d892fd3da4 Fixed bug #35163 (Array elements can lose references) 2007-10-23 09:55:25 +00:00
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Ilia Alshanetsky
42ec1edea4 MFB: Fixed bug #42817 (clone() on a non-object does not result in a fatal
error)
2007-10-04 23:25:53 +00:00
Dmitry Stogov
daf1121292 Fixed bug #42818 ($foo = clone(array()); leaks memory) 2007-10-03 09:47:59 +00:00
Dmitry Stogov
ca4c533843 Fixed bug #42772 (Storing $this in a static var fails while handling a cast to string) 2007-10-03 08:02:57 +00:00
Dmitry Stogov
654fd66533 ws 2007-10-03 06:49:34 +00:00
Dmitry Stogov
ae9a00a641 Fixed access to freed memory in tests/classes/__call_001.phpt 2007-10-02 08:47:42 +00:00
Dmitry Stogov
19d7fed62d Fixed bug #42819 (namespaces in indexes of constant arrays) 2007-10-02 08:27:19 +00:00
Dmitry Stogov
8d8d86eb7a Fixed bug #42802 (Namespace not supported in typehints) 2007-10-01 10:37:36 +00:00
Jani Taskinen
4fa6949a58 - Nuked unnecessary TSRMLS_FETCH(). 2007-09-27 16:54:55 +00:00
Dmitry Stogov
189ac4f201 Late Static Binding (Dmitry, Etienne Kneuss) 2007-09-26 07:16:33 +00:00
Dmitry Stogov
618644c201 - in case of ambiguity class name in namespace call __autoload() only after
checking for both (class from current namespace and internal class)
- improved class fetching performance
- fixed wrong (lowercase) name passed to __autoload() from call_user_func()
2007-09-11 11:23:12 +00:00
Jani Taskinen
15e5858698 - Fixed the rest of bug #41561 ( @ operator not working ) 2007-09-07 09:31:26 +00:00
Johannes Schlüter
4a19c90d4f - Allow binary strings as method name in $class::$method(), fixes
tests/lang/044.phpt (Etienne Kneuss)
2007-08-30 14:48:39 +00:00
Dmitry Stogov
611abb17fc Namespace constants 2007-08-24 13:50:52 +00:00
Dmitry Stogov
046b878b5b Fixed name resolution
namespace A;
    B::foo(); // 1. this is function "foo" from namespace "B"
              // 2. this is static method "foo" of class "B" from namespace "A"
              // 3. this is static methos "boo" of internal class "B"
  namespace A;
    A::foo(); // 1. this is function "foo" from namespace "A"
              // 2. this is static method "foo" of class "A" from namespace "A"
              // 3. this is static methos "foo" of internal class "A"
2007-08-22 07:39:37 +00:00
Dmitry Stogov
6e3a76898e Namespaces: improved run-time speed 2007-08-17 12:05:19 +00:00
Dmitry Stogov
d4af6ba6bf Fixed namespace name and internal class name ambiguity 2007-08-01 11:44:25 +00:00
Dmitry Stogov
c04dc1699b Namespace support for name ambiguity between namespace and class name 2007-07-27 13:41:36 +00:00
Dmitry Stogov
d0ec9d001c Fixed bug #40705 (Iterating within function moves original array pointer)
Fixed bug #40509 (key() function changed behaviour if global array is used within function)
2007-07-24 19:24:56 +00:00
Sara Golemon
b1bc911cee Add support got zend_class_entry->get_static_method() and matching __callStatic() userspace method @doc 2007-07-21 05:27:07 +00:00
Dmitry Stogov
5e21f121ec Fixed compilation on Windows 2007-07-14 08:51:17 +00:00
Dmitry Stogov
1f413bbc37 Namespaces 2007-07-12 09:23:48 +00:00
Dmitry Stogov
b0b6ee9d3b MTH: Fixed foreach by-ref bug 2007-06-18 11:20:01 +00:00
Dmitry Stogov
b898c98005 Fixed some class constant issues related to bug #41633 2007-06-13 14:50:33 +00:00
Dmitry Stogov
5dc51fecf8 Improved compilation of heredocs and interpolated strings. (Matt) 2007-05-18 13:12:47 +00:00
Antony Dovgal
9bc954147e use zend_make_string_zval(), we want to see the notices 2007-05-17 17:28:12 +00:00
Dmitry Stogov
d60a809744 Fixed bug #39542 (Behaviour of require/include different to < 5.2.0) 2007-05-11 08:03:00 +00:00
Dmitry Stogov
2908322c14 WIN64 support 2007-04-16 09:43:53 +00:00
Dmitry Stogov
1989ca7903 Removed undocumnted and incomplete support for strings in list() operator 2007-04-03 06:33:00 +00:00
Dmitry Stogov
6e96aba15b Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved via __get()). 2007-03-19 18:36:49 +00:00
Stanislav Malyshev
d3b90533fc MFB: fix crash on $x['x']['y'] += 1, patch by Brian Shire 2007-03-08 21:06:54 +00:00
Marcus Boerger
80c2f1f92c - Improved version of ternary shortcut 2007-03-08 17:30:28 +00:00
Dmitry Stogov
64dcd4af81 Fixed bug #40591 (list()="string"; gives invalid opcode) 2007-02-25 16:12:18 +00:00
Antony Dovgal
09f196f4b6 fix #40621 (Crash when constructor called inappropriately (statically)) 2007-02-24 21:29:22 +00:00
Dmitry Stogov
d7df9badf6 Added runtime JIT auto-globals fetching and caching 2007-02-16 19:36:45 +00:00
Marcus Boerger
bd7d5b527c - No reason not to pass return_value_ptr for non return-by-reference functions 2007-02-08 14:47:32 +00:00
Dmitry Stogov
f994b102c7 Removed dead code 2007-02-01 16:38:15 +00:00
Marcus Boerger
cbcda92dc5 - MFB Missing part of __toString() support 2007-01-11 22:35:36 +00:00
Dmitry Stogov
f6387758c6 - Fixed bug #35106 (nested foreach fails when array variable has a reference).
- Fixed bug #36214 (__get method works properly only when conditional operator is used).
- Fixed bug #39449 (Overloaded array properties do not work correctly).
- Fixed bug #39990 (Cannot "foreach" over overloaded properties).
2007-01-10 15:59:56 +00:00
Andrei Zmievski
005a9909ae Note. 2007-01-08 17:58:52 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Dmitry Stogov
e88cc26864 Fixed bug #39825 (foreach produces memory error) 2006-12-25 19:23:18 +00:00
Dmitry Stogov
326fcd0261 Fixed bug #39944 (References broken) 2006-12-25 14:16:38 +00:00
Dmitry Stogov
1bf9c4a45d Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:04:47 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
Dmitry Stogov
ea1cd51094 Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults) 2006-10-03 09:05:35 +00:00
Dmitry Stogov
aaed3f9fcb Fixed memory leak (Nuno) 2006-10-03 07:31:10 +00:00
Dmitry Stogov
798d93c4da Fixed bug #38808 ("maybe ref" issue for current() and others) 2006-09-26 10:31:04 +00:00