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
Dmitry Stogov
7aeb4421b7
Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks)
2006-09-19 21:36:00 +00:00
Dmitry Stogov
128548a5c0
Disabled autoconversion of hash keys (from string to unicode) for PHP arrays
2006-09-19 10:38:31 +00:00
Dmitry Stogov
c0dbffaa3c
Forgotten part of patch (Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT)
2006-09-19 07:40:38 +00:00
Dmitry Stogov
9d55b3d3fc
Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry)
2006-09-18 14:35:37 +00:00
Dmitry Stogov
2ea26c6570
Reverted last Ilia's patch (for #38579 ).
...
The patch didn't fix the bug and made new one.
2006-09-06 06:51:05 +00:00
Ilia Alshanetsky
2f0d258606
MFB: Fixed bug #38579 require_once/include_once optimization causes files
...
to be loaded multiple times.
2006-09-05 15:52:42 +00:00
Dmitry Stogov
72594b81b8
Removed unreachable handlers
2006-09-04 13:59:07 +00:00
Antony Dovgal
c022ca263b
%s -> %v
...
ce names are in Unicode
2006-08-08 10:10:26 +00:00
Marcus Boerger
2916886523
- Speling
2006-08-08 00:36:19 +00:00
Marcus Boerger
5e9acea82e
- Fixed Bug #38064 ignored constructor visibility
2006-08-07 23:16:20 +00:00
Dmitry Stogov
c021824fc1
Fixed bug #38287 (static variables mess up global vars)
2006-08-07 15:15:36 +00:00
Antony Dovgal
9625469a44
make it consistent
2006-08-03 10:57:13 +00:00
Antony Dovgal
60feb94bf6
improve error message
2006-08-03 10:52:15 +00:00
Dmitry Stogov
1e71620e8f
Fixed bug #38234 (Exception in __clone makes memory leak)
2006-07-27 10:44:19 +00:00
Dmitry Stogov
3f51a6970d
Fixed mess with semantic of zend_normalize_identifier()'s return value (SUCCESS != 1)
2006-07-27 09:33:44 +00:00
Dmitry Stogov
b9915a9264
Fixed bug #38211 (variable name and cookie name match breaks script execution)
2006-07-26 09:24:50 +00:00
Marcus Boerger
617a18fc40
- Fix for #34505 and repated (improved version of what is in 5.2, 5.1)
2006-07-24 17:51:41 +00:00
Dmitry Stogov
a7cfcd6b35
MTH: Fixed bug #37144 (PHP craches trying to assign into property of dead object)
2006-07-21 11:13:24 +00:00
Dmitry Stogov
881258ad6e
Fixed wrong "type" argument to read_property() handler
2006-07-21 08:39:43 +00:00
Antony Dovgal
4343311203
get rid of more "might be uninitialized" warnings
2006-07-12 21:14:11 +00:00
Antony Dovgal
527f93f25d
make sure return_value_used is always initialized
2006-07-12 21:07:07 +00:00
Andrei Zmievski
ed77c07a35
Commit Sara's patch for supporting filesystem enccoding in
...
include/require.
2006-07-12 17:04:13 +00:00
Dmitry Stogov
b52137a828
Fixed memory leak in case of exception in iterator callbacks in 'foreach(new Iterator()...' (spl/tests/iterator_047.phpt).
2006-07-11 08:52:44 +00:00
Sara Golemon
aee52fa3ea
Silence FETCH_OBJ_IS / undefined notices
2006-07-06 15:28:05 +00:00
Stefan Esser
08e355e39e
Added hook for compile_string()
2006-06-13 12:56:20 +00:00
Dmitry Stogov
4ef9b25370
Proper fix for bug #37707 ("clone $x" must call __clone() enven if result value is not used)
2006-06-08 08:56:47 +00:00
Dmitry Stogov
de90af4ddc
Wrap "wrong" unreachable code with "#if 0"
2006-06-08 08:38:11 +00:00
Ilia Alshanetsky
72a4a1362a
MFB: Fixed bug #37707 clone without assigning leaks memory
2006-06-07 13:43:13 +00:00
Marcus Boerger
646a613ebf
- Fix issue with interfaces being inherited multiple times
2006-06-07 09:23:58 +00:00
Johannes Schlüter
80cff030da
- Fix printf modifier
2006-05-28 19:45:02 +00:00
Marcus Boerger
a871b842f8
- Fix warning
2006-05-20 15:38:36 +00:00
Dmitry Stogov
fb1a172cae
Optimized require_once/include_once (eliminated fopen() on second usage)
2006-05-15 15:31:50 +00:00
Marcus Boerger
623df04877
- Drop a few superflous if conditions
2006-05-11 21:11:54 +00:00
Dmitry Stogov
30ff22ca47
Fixed bug #37251 (deadlock when custom error handler is to catch array type hint error).
2006-05-05 08:04:55 +00:00
Dmitry Stogov
ec12098c3b
Fixed bug #37046 (foreach breaks static scope)
2006-04-12 11:38:09 +00:00
Marcus Boerger
509c9d44e2
- Iterators from overloaded objects are allowed to not have keys...
2006-04-10 23:15:26 +00:00
Dmitry Stogov
ea9b9502e9
typo
2006-03-16 15:42:54 +00:00
Dmitry Stogov
89a1a4cbc4
Return "new" by reference now throws an E_STRICT error
2006-03-16 15:35:26 +00:00
Dmitry Stogov
7c0e534157
Dropped zend.ze1_compatibility_mode
2006-03-16 10:33:23 +00:00
Dmitry Stogov
d3e5691b41
Added E_STRICT warning in case of calling non-static method from incompatible context (this feature is staying for BC with php-4)
2006-03-15 11:15:20 +00:00
Dmitry Stogov
a623645b6f
Fixed "zend_vm_gen.php --without-specializer"
2006-03-15 08:06:51 +00:00
Dmitry Stogov
bc9eaa011e
Fixed compilation error (Rob)
2006-03-10 16:35:57 +00:00
Dmitry Stogov
f8576f84dc
Implemented "jump label" operator (limited "goto")
2006-03-10 08:29:43 +00:00
Marcus Boerger
23a8100309
- Fix warning
2006-03-01 16:14:37 +00:00
Dmitry Stogov
e3b7f3fd0d
Unicode support: MS Visual C compatibility
2006-02-26 11:57:14 +00:00
Marcus Boerger
44b0637bcd
- Deprecation severity shall be E_STRICT (as commented by ilia)
...
# Actually this conforms with other messages
2006-02-25 17:43:12 +00:00
Dmitry Stogov
0f1209ab3d
Portable unicode string API:
...
- use the same type (int) for zval.value.usr.len and zval.value.str.len
- use union "zstr" as char*/UChar* mixture instead of void*
- Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
- nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Dmitry Stogov
2e5d0a3a9d
WS
2006-02-21 08:00:39 +00:00
Marcus Boerger
3b3e006e33
- Add deprecation flag and message
2006-02-20 20:00:46 +00:00
Dmitry Stogov
b424a32610
Preparation for portable string API (use macroses to access zval).
2006-02-20 19:03:43 +00:00
Marcus Boerger
bc994b981f
- Fix integrated iterator index
2006-02-18 17:37:54 +00:00
Dmitry Stogov
47c90c571f
Fixed bug #36303 (foreach on error_zval produces segfault)
2006-02-06 11:46:12 +00:00
Marcus Boerger
c8d78028b5
- Disallow foreach($v as &$ref) when $v is an object that implements
...
interface Iterator. The signature of Iterator::current() doesn't allow
that. Maybe ppl also want IteratorByReference or similar. Unfortunatley
this comes with an API change but there is no easier way.
2006-02-05 23:26:55 +00:00
Dmitry Stogov
227295a4f1
Unicode stuff is changed according to decision maden on PDM.
...
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Andi Gutmans
5de7cc3194
- Update copyright notices to 2006
2006-01-04 23:54:12 +00:00
Dmitry Stogov
d409c5e347
Fixed bug #35470 (Assigning global using variable name from array doesn't function)
2005-11-30 10:10:32 +00:00
Dmitry Stogov
4192685b64
Fixed bug #35393 (changing static protected members from outside the class, one more reference issue)
2005-11-28 14:33:44 +00:00
Dmitry Stogov
97190ee606
Removed support for continue and break operators with non-constant operands
2005-11-17 08:27:25 +00:00
Dmitry Stogov
372d59b648
Fixed bug #35017 (Exception thrown in error handler may cause unexpected behavior)
2005-10-31 19:29:48 +00:00
Dmitry Stogov
3c6c6d2a9a
$id:$ tatgs are removed from generated files to avoid committing of Zend/zend_vm_opcodes.h without real changes.
2005-10-28 06:05:41 +00:00
Dmitry Stogov
804e3b4f5b
Fixed SIGSEGV
2005-10-27 19:25:07 +00:00
Dmitry Stogov
81b506bdd0
Removed unnecesary local variable
2005-10-20 11:31:59 +00:00
Dmitry Stogov
2507a54429
Fixed bug #31177 (menory leaks and corruption because of incorrect refcounting)
2005-10-20 07:23:58 +00:00
Dmitry Stogov
98294fbf3f
Fixed bug #34786 (2 @ results in change to error_reporting() to random value)
2005-10-10 10:54:45 +00:00
Dmitry Stogov
f94344d7fd
Changed __toString() behavior to call it in all necessary places
2005-09-27 07:59:18 +00:00
Antony Dovgal
b97af6c1c0
MF5.1:
...
- store current value of error_reporting only if it's not stored yet
- reset old_error_reporting to NULL only it points to the tmp_var at current opline
2005-09-23 09:38:37 +00:00
Dmitry Stogov
14a0d82f42
MFH
2005-09-23 07:16:06 +00:00
Antony Dovgal
78fe744753
fix #33771 (error_reporting falls to 0 when @ was used inside try/catch block)
2005-09-22 19:03:04 +00:00
Derick Rethans
c3c9df5ed6
- Moved the FREE_OP to after the execution of the included file, or eval
...
statement so that it is safe to access this information in the overridden
zend_execute() function, which is what Xdebug does.
2005-09-21 08:12:34 +00:00