Stefan Esser
08e355e39e
Added hook for compile_string()
2006-06-13 12:56:20 +00:00
Marcus Boerger
646a613ebf
- Fix issue with interfaces being inherited multiple times
2006-06-07 09:23:58 +00:00
Marcus Boerger
f2a8d8cb83
- Fix issue with interfaces being inherited multiple times
2006-06-07 09:20:02 +00:00
Antony Dovgal
35949de5b1
revert by Andi's request
2006-06-06 14:16:53 +00:00
Antony Dovgal
4bf982eba4
do not allow to implement the same interface twice
...
add tests
2006-06-06 10:02:28 +00:00
Marcus Boerger
1a76b61bef
- Fix test logic
2006-05-30 23:10:55 +00:00
Marcus Boerger
d33e4dfe1e
- WS
2006-05-30 19:40:19 +00:00
Antony Dovgal
2acd363bbe
there is no ce at this point, revert this line to its previous state
...
See also: http://news.php.net/php.zend-engine.cvs/4931
2006-05-29 21:28:15 +00:00
Marcus Boerger
17912b4f1e
- Bugfix #37632 (Protected method access problem)
2006-05-29 19:57:43 +00:00
Marcus Boerger
f93bf1007a
- WS
2006-05-27 19:04:16 +00:00
Johannes Schlüter
341ffb3f3d
- Fix #37614 (Class name lowercased in error message)
2006-05-27 17:58:50 +00:00
Marcus Boerger
2dc783ab36
- MFB missing initialization
2006-05-10 21:04:40 +00:00
Dmitry Stogov
2b1e0a8339
Fixed possible crash in highlight_string() (proper place)
2006-05-02 15:49:44 +00:00
Andrei Zmievski
443f9d0844
Mark with UTODO instead of FIXME.
2006-03-27 17:34:06 +00:00
Dmitry Stogov
ba72ff3fcc
Fixed bug during function/class declaration in unicode mode
2006-03-27 09:44:03 +00:00
Dmitry Stogov
d7491a3e7e
Fixed meory leak in case of unknown pragma
2006-03-27 08:09:08 +00:00
Antony Dovgal
88605a22ff
implement correct fix for segfault on 64bit platform
2006-03-23 09:44:30 +00:00
Antony Dovgal
763483d18b
don't segfault on 64bit platforms
2006-03-22 19:36:10 +00:00
Dmitry Stogov
d2fd87526f
Removed unreachable code
2006-03-20 15:12:54 +00:00
Dmitry Stogov
3510eda470
ws
2006-03-16 15:38:29 +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
9d7ca01c8b
Dropped allow_call_time_pass_reference, the error is maden E_STRICT.
2006-03-16 11:32:00 +00:00
Dmitry Stogov
d51599dfcd
Eliminated run-time constant fetching for TRUE, FALSE and NULL
2006-03-15 09:04:48 +00:00
Dmitry Stogov
b7933917f6
"jump" -> "goto"
2006-03-14 11:20:19 +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
Marcus Boerger
24618f2b3b
- Fix comment, too
2006-03-05 18:32:21 +00:00
Marcus Boerger
b0f461e9d9
- Fix Bug #34019 by popular demand: Implementing interface with a
...
__construct method strange behaviour
2006-03-05 18:23:56 +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
Andrei Zmievski
ea1c076155
Fix a bug where the default value for function argument could be an
...
array with array (!) keys.
2006-02-23 18:06:04 +00:00
Dmitry Stogov
cbd40d1e5d
Unicode support: fixed check for class type hint
2006-02-22 10:56:52 +00:00
Dmitry Stogov
28737451f2
Unicode support: fixed check for direct call to __clone()
2006-02-22 09:03:26 +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
Dmitry Stogov
b424a32610
Preparation for portable string API (use macroses to access zval).
2006-02-20 19:03:43 +00:00
Marcus Boerger
ffd43034b0
- Interfaces may have static methods to enforce their existance in
...
implementing classes
2006-02-19 11:55:11 +00:00
Marcus Boerger
89f57ea951
- Static functions cannot be abstract
2006-02-19 11:42:30 +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
Marcus Boerger
170918c6eb
- Fix Bug #35720 A final constructor can be overwritten
2005-12-17 15:50:24 +00:00
Dmitry Stogov
feaa2501d0
Fixed bug #34729 (Crash in ZTS mode under Apache)
2005-12-01 11:49:51 +00:00
Dmitry Stogov
a42086c73c
Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash)
2005-11-24 11:32:44 +00:00
Dmitry Stogov
98b8a0fdb9
Bug #33732 (Wrong behavior of constants in class and interface extending)
2005-11-23 09:27:01 +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
0220a8318c
Allow "null" default value for arguments with array type hint
...
Unicode support
2005-11-15 16:50:07 +00:00
Dmitry Stogov
bc446eec5b
Fixed bug #34873 (Segmentation Fault on foreach in object)
2005-10-17 08:01:07 +00:00
Derick Rethans
086875b107
- Make sure that typehints for classes can only accept "= NULL" as default
...
value.
2005-10-17 07:03:33 +00:00
Derick Rethans
a1527fdaf3
- Changed type hints so that they take "= NULL" as default value.
2005-10-15 12:54:19 +00:00