Commit Graph

5094 Commits

Author SHA1 Message Date
Marcus Boerger
f1d02a87aa - Fix test 2006-03-01 17:20:28 +00:00
Marcus Boerger
9158218d3a - Must use return as in 5.1 after recursion 2006-03-01 16:18:35 +00:00
Marcus Boerger
bf086dff71 - Fix string conversion issues 2006-03-01 16:15:40 +00:00
Marcus Boerger
a3741cf6bc - Constants need to be updated too (when updating class constants) 2006-03-01 16:15:15 +00:00
Marcus Boerger
23a8100309 - Fix warning 2006-03-01 16:14:37 +00:00
3c01a9f641 ChangeLog update 2006-03-01 06:31:45 +00:00
Dmitry Stogov
3413d5df40 Fixed compilation on FreeBSD with gcc-3.2 2006-02-28 18:34:58 +00:00
232eace5c8 ChangeLog update 2006-02-28 06:31:47 +00:00
72345090e7 ChangeLog update 2006-02-27 06:32:01 +00:00
Dmitry Stogov
e3b7f3fd0d Unicode support: MS Visual C compatibility 2006-02-26 11:57:14 +00:00
Dmitry Stogov
25c8f09752 Unicode support 2006-02-26 07:23:33 +00:00
d952bfcc6a ChangeLog update 2006-02-26 06:31:46 +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
8299b9ea6f ChangeLog update 2006-02-25 06:31:48 +00:00
Marcus Boerger
8a4c8e8d47 - Add macros to mark functions/alias functions as deprecated
(mentioned by Sara and obviously neccessary)
- Fix function/method flag error detection logic
2006-02-24 13:29:54 +00:00
fea97047e9 ChangeLog update 2006-02-24 06:31:51 +00:00
Andrei Zmievski
7f5c395781 *** empty log message *** 2006-02-23 18:06:36 +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
9ca3aa59e6 ChangeLog update 2006-02-23 06:32:01 +00:00
Dmitry Stogov
0342d9f519 Unicode support 2006-02-22 12:02:44 +00:00
Dmitry Stogov
3d0da6184a Unicode support: fixed __toString() in user defined exceptions 2006-02-22 11:38:32 +00:00
Dmitry Stogov
26ddcdb55d Unicode support 2006-02-22 11:37:11 +00:00
Dmitry Stogov
cbd40d1e5d Unicode support: fixed check for class type hint 2006-02-22 10:56:52 +00:00
Dmitry Stogov
1f4d9fa4a7 Unicode support: fixed internal constants usage and get_defined_constants() 2006-02-22 10:02:15 +00:00
Dmitry Stogov
28737451f2 Unicode support: fixed check for direct call to __clone() 2006-02-22 09:03:26 +00:00
Dmitry Stogov
19ebeed0d8 Unicode support: fixed call_user_func(array($this, "self::foo"))
Made check for "self/parent" before calling __autoload()
2006-02-22 08:54:02 +00:00
9f8de03dad ChangeLog update 2006-02-22 06:31:55 +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
7bc8d5227d ChangeLog update 2006-02-21 06:31:51 +00:00
Marcus Boerger
a27e272670 - Synch zend_call_function() with VM function call helper 2006-02-20 20:03:36 +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
9926de1840 ChangeLog update 2006-02-20 06:31:57 +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
5a4cfaf96a - Fix method flag handling 2006-02-19 10:39:48 +00:00
99b4f52353 ChangeLog update 2006-02-19 06:31:52 +00:00
Marcus Boerger
d73533a9d4 - There is no %v in sprintf 2006-02-18 19:33:26 +00:00
Marcus Boerger
bc994b981f - Fix integrated iterator index 2006-02-18 17:37:54 +00:00
Marcus Boerger
b60c8056b3 - Fix possible memory corruption/memleak issue with foreach and iterators
- Fix warnings
2006-02-18 17:36:41 +00:00
aa4cfd6d2f ChangeLog update 2006-02-15 06:31:54 +00:00
Antony Dovgal
09b16f0b58 MF51:
fix leak in zend_strtod() on big doubles
add new test
2006-02-14 22:11:36 +00:00
7ab93bee97 ChangeLog update 2006-02-14 06:31:50 +00:00
Dmitry Stogov
ece3854bf6 Typo (misplaced #endif) 2006-02-13 15:35:52 +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
5a4b6845dc - Fix ini unicode_semantics (patch by Brion Vibber) 2006-02-13 09:23:13 +00:00
277789fb30 ChangeLog update 2006-02-10 06:31:48 +00:00
Andrei Zmievski
d4307e4494 We already have default collator available. 2006-02-09 23:23:02 +00:00
0916b5c607 ChangeLog update 2006-02-09 06:31:47 +00:00
Andrei Zmievski
d8db0d6a15 unicode_semantics cannot be set on per-request basis 2006-02-08 18:52:13 +00:00
72803507f1 ChangeLog update 2006-02-08 06:31:47 +00:00
d2148ac8e5 ChangeLog update 2006-02-07 06:31:46 +00:00
Andrei Zmievski
ef4c06c083 Check for get_properties handler before using it. (Patch from
rrichards@ctindustries.net).
2006-02-07 00:32:16 +00:00
Antony Dovgal
c888a7f8af init variables (continue making GCC happy) 2006-02-06 20:36:51 +00:00
Dmitry Stogov
47c90c571f Fixed bug #36303 (foreach on error_zval produces segfault) 2006-02-06 11:46:12 +00:00
98c15023eb ChangeLog update 2006-02-06 06:31:46 +00:00
Marcus Boerger
50b243babb - Missed one to be public 2006-02-06 01:58:45 +00:00
Marcus Boerger
1630242347 - The next get_iterator() call is supposed to do the check itself 2006-02-06 01:40:42 +00:00
Marcus Boerger
dcf5862221 - Make all default implementations public 2006-02-06 00:49:33 +00:00
Marcus Boerger
2fba438e06 - Need one more thing exported 2006-02-05 23:42:53 +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
Andrei Zmievski
a6e8746bbe Needs to use .ustr. portion of the union for IS_UNICODE. 2006-02-05 20:54:11 +00:00
Marcus Boerger
44baf1f3ec - Initialize variable 2006-02-05 16:25:46 +00:00
Marcus Boerger
6bfa4b19e1 - Fix comparision where one argument is an object 2006-02-05 13:12:20 +00:00
b352adf0c5 ChangeLog update 2006-02-04 06:31:55 +00:00
Antony Dovgal
a1640d5ef9 duplicate string when needed 2006-02-03 13:24:26 +00:00
Dmitry Stogov
558e883302 Fixed bug #36268 (Object destructors called even after fatal errors) 2006-02-03 09:33:31 +00:00
b7b5b9fe79 ChangeLog update 2006-02-02 06:31:46 +00:00
Zeev Suraski
8a2a69ad0f Fix possibility of a wrong element being deleted by zend_hash_del() 2006-02-01 01:05:17 +00:00
efae4837cf ChangeLog update 2006-01-25 06:31:47 +00:00
Antony Dovgal
9c8bc2043c improve CS 2006-01-24 23:58:54 +00:00
Marcus Boerger
35e632257e - Add fast access to HashTable 2006-01-24 19:48:11 +00:00
3f5eb39f8c ChangeLog update 2006-01-23 06:31:56 +00:00
Marcus Boerger
b7d473ac00 - WS 2006-01-22 22:15:55 +00:00
Marcus Boerger
f4a0ce710e - Fix method invocation issues 2006-01-22 18:55:02 +00:00
9b674c8a79 ChangeLog update 2006-01-20 06:31:47 +00:00
Antony Dovgal
04ad1d1462 fix test 2006-01-19 21:27:15 +00:00
Dmitry Stogov
d90873d3ce Fixed bug #36071 (Engine Crash related with 'clone') 2006-01-19 07:26:58 +00:00
185dabe26b ChangeLog update 2006-01-19 06:31:47 +00:00
Antony Dovgal
79bebd9bf8 make sure ce_child is properly initialized 2006-01-18 21:06:18 +00:00
1105368b9c ChangeLog update 2006-01-18 06:31:47 +00:00
Antony Dovgal
b8dda54715 fix build 2006-01-17 22:13:39 +00:00
Ilia Alshanetsky
b0b79b138d MFB51: Fixed bug #36046 (parse_ini_file() miscounts lines in multi-line
values).
2006-01-17 19:56:41 +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
Dmitry Stogov
465b131c2f Fixed bug #36037 (heredoc adds extra line number) 2006-01-17 09:39:33 +00:00
b29d9dbc87 ChangeLog update 2006-01-17 06:31:48 +00:00
Dmitry Stogov
c93396ae1a Fixed bug #36006 (Problem with $this in __destruct()) 2006-01-16 10:12:54 +00:00
806c280d6d ChangeLog update 2006-01-15 06:31:47 +00:00
Marcus Boerger
584c0719e4 - Fix test 2006-01-14 15:55:10 +00:00
Marcus Boerger
2fe859febb - Fixed bug #36011 2006-01-14 15:22:19 +00:00
c043dd301c ChangeLog update 2006-01-08 06:31:44 +00:00
Marcus Boerger
ec20ba1a50 - MFB Second part of is_callable/call_user_func
- Clean a few warnings
2006-01-07 21:29:00 +00:00
Marcus Boerger
416d5f2c0c - MFB missing E_STRICT 2006-01-07 21:16:02 +00:00
Marcus Boerger
ddd5d80194 - MFB zend_is_callable() fixes
# Now to the missing part in zend_call_function()
2006-01-07 20:43:33 +00:00
5f99b7cb52 ChangeLog update 2006-01-07 06:31:44 +00:00
Antony Dovgal
9cd04b68d1 typo 2006-01-06 20:54:46 +00:00
bd53ba7cf9 ChangeLog update 2006-01-06 06:31:45 +00:00
bcb25bffec ChangeLog update 2006-01-05 06:31:47 +00:00
Andi Gutmans
a93ddab01e - More -> 2006 changes 2006-01-05 02:35:02 +00:00
Andi Gutmans
5de7cc3194 - Update copyright notices to 2006 2006-01-04 23:54:12 +00:00
c6a372dba2 ChangeLog update 2006-01-02 06:31:58 +00:00
foobar
d99d22dc11 oops 2006-01-01 13:25:34 +00:00
foobar
3631df802d - fix typo 2006-01-01 13:13:11 +00:00
96bb0c4395 ChangeLog update 2005-12-27 06:32:16 +00:00
Antony Dovgal
01c1e2f719 MFB: typofix 2005-12-26 23:58:55 +00:00
Dmitry Stogov
39a540f75f Reverted invalid fix for bug #35785 2005-12-26 08:21:29 +00:00
368f9414bc ChangeLog update 2005-12-24 06:31:56 +00:00
Marcus Boerger
1edb0395ab - Fixed Bug #35785 (SimpleXML memory read error) 2005-12-23 20:31:39 +00:00
dbfe958172 ChangeLog update 2005-12-23 06:31:49 +00:00
Dmitry Stogov
925f3f1880 Fixed bug #35612 (iis6 Access Violation crash). (alacn dot uhahaa at gmail dot com) 2005-12-22 16:46:03 +00:00
Dmitry Stogov
69200c9baf Fixed memory leak and typo 2005-12-22 09:31:40 +00:00
9d27d22b07 ChangeLog update 2005-12-21 06:31:46 +00:00
Marcus Boerger
c80e82230b - Move zend_object_value definition to zend_type.h
# Types declared there can be used in configure stuff already. zend.h is
# being created by configure...
2005-12-20 21:35:17 +00:00
Marcus Boerger
e072c3e590 - Add Z_OBJVAL*() macros 2005-12-20 21:33:14 +00:00
Antony Dovgal
333e66cc4f MFB: fix test decription 2005-12-20 17:00:59 +00:00
Antony Dovgal
3ba24546ed MFB: fix leak appearing when __autoload() throws an exception 2005-12-20 11:25:39 +00:00
45e6d9a1c6 ChangeLog update 2005-12-18 06:31:48 +00:00
Marcus Boerger
170918c6eb - Fix Bug #35720 A final constructor can be overwritten 2005-12-17 15:50:24 +00:00
foobar
f1cb188015 fix test 2005-12-17 14:56:02 +00:00
6ddfecd65a ChangeLog update 2005-12-17 06:31:58 +00:00
Marcus Boerger
96150967b3 - Add new const 2005-12-16 23:23:52 +00:00
Marcus Boerger
73fe423ede - WS 2005-12-16 23:13:24 +00:00
Marcus Boerger
10e69db3fa - MFB 2005-12-16 23:11:00 +00:00
f57d9428cf ChangeLog update 2005-12-14 06:31:49 +00:00
Antony Dovgal
627077e6a4 use default colors to prevent any problems with existing php.ini 2005-12-13 22:32:04 +00:00
Marcus Boerger
e9086f967a - MFB Fix zend*_str_tolower_copy() 2005-12-13 21:09:18 +00:00
Ilia Alshanetsky
4cb1bf0e9e MFB51: Fixed bug #35655 (whitespace following end of heredoc is lost). 2005-12-13 21:00:49 +00:00
c7c509e7e8 ChangeLog update 2005-12-13 06:31:44 +00:00
foobar
eccf9c7abf - Include timestamp for the leaks. (to make possible matching leaks with access_log entries) 2005-12-12 11:00:18 +00:00
661eedec9f ChangeLog update 2005-12-10 06:53:20 +00:00
Dmitry Stogov
57f7f1952c Fixed bug #35612 (iis6 Access Violation crash) 2005-12-09 18:09:08 +00:00
8606bc1638 ChangeLog update 2005-12-09 06:51:50 +00:00
Dmitry Stogov
f7433c021d Fixed test 2005-12-08 08:10:00 +00:00
245cb12834 ChangeLog update 2005-12-08 06:46:37 +00:00
Ilia Alshanetsky
04ee70f6eb MFB51:
fix for bug #35382
	fix for bug #35411
2005-12-08 03:12:34 +00:00
Dmitry Stogov
ea4197207b Fixed test 2005-12-07 14:18:12 +00:00
fa0f08e089 ChangeLog update 2005-12-06 06:46:50 +00:00
Antony Dovgal
7a8a89f35e MF51: more typos fixed (thanks to Mike Naberezny for noticing these) 2005-12-05 20:07:18 +00:00
Antony Dovgal
43536d38e6 MF51: improve error messages 2005-12-05 13:41:14 +00:00
Dmitry Stogov
7aaff40de5 Fixed bug #35509 (string constant as array key has different behavior inside object) 2005-12-05 08:56:32 +00:00
b06df87d20 ChangeLog update 2005-12-05 06:50:42 +00:00
Antony Dovgal
ced6ef40cd fix #35539 (typo in error message for ErrorException) 2005-12-04 11:45:45 +00:00
7f8adfcc7e ChangeLog update 2005-12-04 06:48:28 +00:00
688f880e61 ChangeLog update 2005-12-03 06:46:25 +00:00
foobar
8e5799059d Nuked dos EOLs and fixed typo 2005-12-03 00:00:44 +00:00
Marcus Boerger
f509c44be8 - Be picky about names 2005-12-02 15:59:36 +00:00
dbe3d0b8d7 ChangeLog update 2005-12-02 06:46:50 +00:00
Dmitry Stogov
a139e19fe3 Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4) 2005-12-01 12:51:19 +00:00
Dmitry Stogov
feaa2501d0 Fixed bug #34729 (Crash in ZTS mode under Apache) 2005-12-01 11:49:51 +00:00