Antony Dovgal
88605a22ff
implement correct fix for segfault on 64bit platform
2006-03-23 09:44:30 +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
78aed20223
Optimized cleanup loops on request shutdown
2006-03-13 11:13:55 +00:00
Dmitry Stogov
f8576f84dc
Implemented "jump label" operator (limited "goto")
2006-03-10 08:29:43 +00:00
Dmitry Stogov
432cae3222
Reverted "break label"
2006-03-07 08:43:21 +00:00
Dmitry Stogov
2a2050d4e3
Added support for "continue" and "break" operators with labels. Each loop or switch statement can be marked by label and then it is possible to write "break <label>" instead of "break <number>".
2006-03-03 13:09:13 +00:00
Dmitry Stogov
e3b7f3fd0d
Unicode support: MS Visual C compatibility
2006-02-26 11:57:14 +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
09ca61c125
Made server wide switch for unicode on/off (according to PDM).
2006-02-13 10:23:59 +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
Andi Gutmans
5de7cc3194
- Update copyright notices to 2006
2006-01-04 23:54:12 +00:00
Marcus Boerger
169411d040
- Get rid of several wanrings
2005-11-01 20:41: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
f94344d7fd
Changed __toString() behavior to call it in all necessary places
2005-09-27 07:59:18 +00:00
Marcus Boerger
23d0387eae
- WS
2005-09-23 22:55:10 +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
Marcus Boerger
0165ab6251
- Adds module registering a function to struct zend_internal_function.
...
(Johannes)
# This information is by reflection API and error messages.
2005-08-30 18:27:17 +00:00
Andrei Zmievski
d0d6a1f16f
- Require declare(encoding=...) to come before any opcodes. Read source
...
comments for more info.
- Op arrays now know which script encoding they were compiled from.
- Use this information to intelligently convert inline HTML blocks to
the output encoding. Currently it opens and closes a new converter for
each block, but we can optimize it.
2005-08-24 20:42:09 +00:00
Dmitry Stogov
d90d6c5d2b
nstanceof operator shouldn't call __autoload()
2005-08-19 08:11:16 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Andrei Zmievski
b80cb7bd2f
Unicode support
2005-08-11 23:35:03 +00:00
Dmitry Stogov
b0d3aec8ad
Fixed bug #25359 (array_multisort() doesn't work in a function if array is global or reference)
2005-08-10 12:02:14 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Dmitry Stogov
343af548a6
Fixed SIGSEGV on 'global ${"{$blah}_ID"};'
2005-07-04 13:24:46 +00:00
Dmitry Stogov
12b66c262a
Fixed bug #30519 (Interface not existing says Class not found)
2005-06-24 08:45:17 +00:00
Dmitry Stogov
21e071be06
Fixed bug #33257 (array_splice() inconsistent when passed function instead of variable)
2005-06-22 08:33:00 +00:00
Dmitry Stogov
2a314dbc47
Removed EX(fbc_constructor) (it is no longer needed)
2005-06-17 15:06:28 +00:00
Dmitry Stogov
aedbdb087d
Allowed return by refrence from internal functions
2005-06-16 14:56:13 +00:00
Dmitry Stogov
c3e6a90808
ZEND_UNSET_DIM_OBJ is splitted to ZEND_UNSET_DIM and ZEND_UNSET_OBJ.
2005-06-16 12:17:39 +00:00
Stanislav Malyshev
2cb52151ac
MF50: fix #29689 and more private property problems
2005-06-09 17:20:44 +00:00
Dmitry Stogov
58a0ee09c3
Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when called via STDIN)
2005-06-07 18:11:56 +00:00
Zeev Suraski
d33500ee20
Thought I committed it ages ago... Anyway, without further delays, the final
...
__halt_compiler() patch
2005-06-04 16:16:19 +00:00
Marcus Boerger
4918b67ac5
- Make zend_do_inheritance ZEND_API
2005-05-28 10:24:56 +00:00
Dmitry Stogov
1a72341328
Added array type hinting. (This patch requires full re-make)
2005-05-26 13:46:17 +00:00
Marcus Boerger
67a226d910
- Add ReflectionProperty::getDocComment()
2005-04-19 22:04:59 +00:00
Marcus Boerger
a29f5391db
- Cleanup foreach handling
2005-02-11 22:26:45 +00:00
Dmitry Stogov
fc96c7f7fa
foreash($a as $key => $val) optimization
...
Removed temorary array creation on each iteration.
2005-02-07 16:09:54 +00:00
Marcus Boerger
2d13dd0ef0
- Remove part of the cleanup which causes a problem with unnormal code
...
like tests/lang/040.phpt
# However there is a memleak introduced somewhen after august 04 for such
# code now, 5.0 and 4.3 are fine though.
2005-02-07 15:22:38 +00:00
Marcus Boerger
662cd8262e
- Cleanup foreach statement
2005-02-05 14:01:59 +00:00
Andi Gutmans
8838c0f860
- Two new API calls for Derick (retreive CV name and value) by Dmitry
2005-01-22 02:29:18 +00:00
Andi Gutmans
a904c1dabc
- Improve comments, docs, code...
2004-10-27 17:58:46 +00:00
Marcus Boerger
f71644b480
- Revert automatic pass arg_info
...
# We need to find a better solutions to prevent havy extension writer probs
2004-10-08 22:17:32 +00:00
Marcus Boerger
f916d603ef
- Add arginfo ZEND_ARG_SEND_AUTOMATIC which lets the compiler automatically
...
determine whether pass by ref is possible or pass by value is needed.
# This is usefull when functions take array or string parameters as
# expressions. In such a case force by ref is not applicable and the
# executor would copy the variable unnecessarily as soon as it is at least
# once referenced.
2004-10-05 18:36:46 +00:00
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
...
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Andi Gutmans
f82ed13625
- Commit new VM architecture. This one allows people (aka Derick) to
...
- ask the engine to use function handler mode. Will update the README
- about that.
2004-09-23 21:43:32 +00:00
Andi Gutmans
d8efe626b5
- Fix bug #27669 (Dmitry).
...
Fixes:
<?
class A
{
function hello()
{
echo "Hello World\n";
}
}
$y[0] = 'hello';
A::$y[0]();
?>
2004-09-16 00:40:38 +00:00
Andi Gutmans
96ab56e146
- Roll back VM commit
2004-09-09 16:47:22 +00:00