Commit Graph

5595 Commits

Author SHA1 Message Date
146e04696c ChangeLog update 2006-09-05 01:30:56 +00:00
Dmitry Stogov
72594b81b8 Removed unreachable handlers 2006-09-04 13:59:07 +00:00
a49d277977 ChangeLog update 2006-09-01 01:30:54 +00:00
Dmitry Stogov
447cc0eb15 Show name of storage layer in case of initialization fault 2006-08-31 13:00:12 +00:00
73fbbb48ec ChangeLog update 2006-08-31 01:30:59 +00:00
Antony Dovgal
cb415ed1bf s/pinter/pointer/ 2006-08-30 22:29:17 +00:00
Antony Dovgal
d65b68d09f fix minor issue in autoload with unicode enabled 2006-08-30 12:32:20 +00:00
Antony Dovgal
33ad684e86 fix off-by-one in zend_fetch_dimension_address_inner() 2006-08-30 09:58:10 +00:00
7a3c936490 ChangeLog update 2006-08-30 01:30:51 +00:00
Antony Dovgal
be3e5292cd fix compile warning 2006-08-29 22:01:20 +00:00
939f60c618 ChangeLog update 2006-08-29 01:30:55 +00:00
Andrei Zmievski
11ca9006a2 Add APIs for UTF-8 strings (common with XML, PCRE, etc) 2006-08-28 17:14:49 +00:00
Antony Dovgal
dd9165d60a fix #38624 (Strange warning when incrementing an object property and exception is thrown from __get method) 2006-08-28 10:25:49 +00:00
b823e3882f ChangeLog update 2006-08-26 01:31:05 +00:00
Andrei Zmievski
dd2e2abc9c Fix some API definitions. 2006-08-25 20:47:23 +00:00
e84d563306 ChangeLog update 2006-08-25 01:30:59 +00:00
Dmitry Stogov
6832a53898 Fixed bug #38315 (Constructing in the destructor causes weird behaviour) 2006-08-24 09:42:51 +00:00
2d8596e593 ChangeLog update 2006-08-24 01:30:51 +00:00
Dmitry Stogov
aaa3ecee8a Fixed bug #38265 (heap corruption) 2006-08-23 13:01:04 +00:00
790050b6d7 ChangeLog update 2006-08-23 01:30:59 +00:00
Dmitry Stogov
b590503bdf Fixed "win32" storage manager 2006-08-22 05:54:35 +00:00
91da517692 ChangeLog update 2006-08-20 01:31:00 +00:00
c3d1deca0b ChangeLog update 2006-08-16 01:30:56 +00:00
Antony Dovgal
9ea866fab4 apply more correct fix for bug #38461 2006-08-15 20:30:26 +00:00
Antony Dovgal
e17c15ba03 fix #38461 (setting private attribute with __set() produces segfault) 2006-08-15 13:19:00 +00:00
Antony Dovgal
946a29753c add test 2006-08-15 08:58:24 +00:00
57aa016750 ChangeLog update 2006-08-15 01:30:54 +00:00
Andrei Zmievski
df345b9e33 Remove UTODO's -- this is handled during name mangling/unmangling. 2006-08-14 21:09:30 +00:00
Andrei Zmievski
2701f53af6 add_next_index_zstr[l]() 2006-08-14 21:05:22 +00:00
Andrei Zmievski
180e98f5cb Typo. 2006-08-14 20:45:32 +00:00
Andrei Zmievski
ea7ab72fe7 Set T_arg_type to default string type if we were not able to determine
it from the args.
2006-08-14 20:40:26 +00:00
66fc339e97 ChangeLog update 2006-08-11 01:30:59 +00:00
f45563fc01 ChangeLog update 2006-08-10 01:30:56 +00:00
Andrei Zmievski
a90da20623 Make params API sound less like Raymond Babbitt. 2006-08-09 17:37:29 +00:00
f16344fd49 ChangeLog update 2006-08-09 01:30:57 +00:00
Andrei Zmievski
9320e167f2 Adjust zend_get_unified_string_type() to give correct types. 2006-08-08 17:36:55 +00:00
Andrei Zmievski
520655608a Should be slightly faster to use U16_NEXT here. 2006-08-08 17:36:20 +00:00
Antony Dovgal
f5715ee86f implement zend_unicode_to_string() and zend_string_to_unicode()
part #1 (of 2)
2006-08-08 16:58:06 +00:00
Antony Dovgal
7010fd0005 there is no realiable way to detect memrchr() presence because of a mess in glibc
so let's use our own implementation
2006-08-08 10:53:06 +00:00
Antony Dovgal
c022ca263b %s -> %v
ce names are in Unicode
2006-08-08 10:10:26 +00:00
Antony Dovgal
a3c3b91b33 add zend_memrchr() 2006-08-08 09:40:50 +00:00
eba1941974 ChangeLog update 2006-08-08 01:30:51 +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
53d345a347 ChangeLog update 2006-08-05 01:31:02 +00:00
Andrei Zmievski
dda059708f Add add_assoc_zstr_ex() and related. 2006-08-04 21:05:59 +00:00
Andrei Zmievski
cb15b7d5ae Add macros to be able to initialize/return values based on zstr. 2006-08-04 18:08:31 +00:00
Andrei Zmievski
aa398bf8ce One fewer walks needed. 2006-08-04 18:02:20 +00:00
Andrei Zmievski
2bfe0a8cbd Scan through all the modifiers at once, setting flags. 2006-08-04 17:02:17 +00:00
Andrei Zmievski
fd39d28d17 Fix '&' handling. (patch by Rob R) 2006-08-04 16:58:29 +00:00
Derick Rethans
b2d717667b - MFB: Bison 2.3 is working as well. 2006-08-04 06:49:28 +00:00
f98ae45bb3 ChangeLog update 2006-08-04 01:30:52 +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
b1dd60af02 ChangeLog update 2006-08-03 01:30:51 +00:00
Andrei Zmievski
f34e1baa9f Make string comparison functions conver to unicode or printable strings
depending on unicode.semantics and do the right thing.
2006-08-02 20:31:40 +00:00
Andrei Zmievski
433c40c3d2 Add '&' modifier (for 's' type) that will apply the specified converter
during conversion of Unicode strings.
2006-08-02 17:36:28 +00:00
d85822062a ChangeLog update 2006-08-02 01:30:59 +00:00
Andrei Zmievski
974f55ace3 Fix off-by-one error in zend_case_fold_string(). 2006-08-01 21:49:57 +00:00
Andrei Zmievski
8a32effd2c Rewrite IS_LONG, IS_DOUBLE, and IS_RESOURCE to IS_UNICODE conversion to
use custom functions instead of u_sprintf() which is terribly slow at
the moment (for numbers). Now long-to-unicode is only 8% slower than
long-to-binary and double-to-unicode is actually 6% faster.
2006-08-01 17:47:24 +00:00
6320d6329b ChangeLog update 2006-07-28 01:30:51 +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
0eb0282912 Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from inside error handler) 2006-07-27 08:20:52 +00:00
feaeb45937 ChangeLog update 2006-07-27 01:30:50 +00:00
Dmitry Stogov
1ab16de084 Fixed bug #38220 (Crash on some object operations) 2006-07-26 15:29:39 +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
Dmitry Stogov
e8a718a5c0 Fixed crash of DEBUG version on SPARC CPU because of unaligned pointers. 2006-07-26 08:08:31 +00:00
e18934cdd4 ChangeLog update 2006-07-26 01:30:56 +00:00
Dmitry Stogov
61d39cf1c1 Changed memory_get_usage() and memory_get_peak_usage(). Optional boolean argument allows get memory size allocated by emalloc() (by default) or real size of memory allocated from system. 2006-07-25 13:41:08 +00:00
Derick Rethans
0d1957e7dc - MFB: Fixed typo 2006-07-25 06:50:26 +00:00
3d9f3f6221 ChangeLog update 2006-07-25 01:30:56 +00:00
Marcus Boerger
058bdbf708 - Fix off by one copy'n'paste error 2006-07-25 00:01:40 +00:00
Marcus Boerger
48b438f898 - Yet another rproblematic case with mangled properties 2006-07-24 22:34:44 +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
a1c0009d14 Fixed memory leaks detection 2006-07-24 08:15:42 +00:00
Dmitry Stogov
a6b67676e0 Test for bug #38146 (Cannot use array returned from foo::__get('bar') in write context) 2006-07-24 07:44:06 +00:00
76e91003bf ChangeLog update 2006-07-23 01:30:49 +00:00
foobar
bca80ac698 - Fixed bug #38183 (disable_classes=Foobar causes disabled class to be called Foo) 2006-07-22 15:39:22 +00:00
458c7f170c ChangeLog update 2006-07-22 01:30:53 +00:00
Andrei Zmievski
8ee838b4ec It's not legacy - it's binary. 2006-07-21 23:37:15 +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
933e8c0be0 Changed error message (E_ERROR -> E_NOTICE) in case of indirect modification of overloaded property. 2006-07-21 10:32:41 +00:00
Dmitry Stogov
881258ad6e Fixed wrong "type" argument to read_property() handler 2006-07-21 08:39:43 +00:00
2e07bf1ce3 ChangeLog update 2006-07-21 01:30:51 +00:00
Marcus Boerger
8619c361cc - Add new unicode functions: add_u_assoc_*[_ex]() which allow to add values
using a unicode key.
2006-07-20 21:16:08 +00:00
Andrei Zmievski
e9a9a26e7e Rewrite array_map() to use params API with fci cache and mark it with U. 2006-07-20 20:54:23 +00:00
Antony Dovgal
402cbc1db9 no need to return bool and false in the same time =) 2006-07-20 07:30:14 +00:00
0d65d72f77 ChangeLog update 2006-07-20 01:30:54 +00:00
Andrei Zmievski
0e05886a2e Fix usage of 'return_null' option in parameter parsing. 2006-07-19 18:21:04 +00:00
Andrei Zmievski
80839710f1 Make 't' and 'T' use zstr for storage type. 2006-07-19 17:51:49 +00:00
Andrei Zmievski
f45c16cb3c Add '+' varargs specifier that requires at least one arg. 2006-07-19 17:38:47 +00:00
Antony Dovgal
93094e525b MFB: fetch tsrm_ls, don't use it uninitialized 2006-07-19 06:33:07 +00:00
Andrei Zmievski
4bf31abbf4 Initialize some vars. 2006-07-19 01:51:20 +00:00
35ebfabbd2 ChangeLog update 2006-07-19 01:30:52 +00:00
Andrei Zmievski
bbd3cd2743 Implement varargs parameter parsing. See README for examples. 2006-07-18 22:07:20 +00:00
Andrei Zmievski
0667864631 Callable checks and class fetching and lookup should support identifer
normalization now. (Marcus, Andrei)
2006-07-18 17:52:45 +00:00
Andi Gutmans
c32b733940 - Capture Dmitry's Zend MM email for later reference 2006-07-18 16:54:37 +00:00
Antony Dovgal
4509fb33c5 fix build on platforms without mremap() 2006-07-18 15:41:47 +00:00
Dmitry Stogov
6687f0377b New memory manager 2006-07-18 09:08:06 +00:00
Antony Dovgal
6bcb0c9ed5 fix logic 2006-07-18 08:57:26 +00:00
Antony Dovgal
0d088b15b7 fix DVAL_TO_LVAL() macro, which doesn't seem to work correctly on AIX & GCC < 3.5 2006-07-18 08:16:18 +00:00
f645ccf699 ChangeLog update 2006-07-18 01:31:06 +00:00
Andrei Zmievski
fdf280b41b - Upgrade usort() to support Unicode (including valid Unicode callbacks).
- Make usort() use 'f' specifier for function call info/cache.
2006-07-17 20:52:12 +00:00
73746f8fa9 ChangeLog update 2006-07-16 01:30:53 +00:00
Marcus Boerger
607ca7baf6 - Provide defined value for autoload flag 2006-07-15 19:16:19 +00:00
07e007f404 ChangeLog update 2006-07-15 01:30:57 +00:00
Antony Dovgal
c7639e9e19 add USTR_VAL() access zstr value 2006-07-14 10:31:32 +00:00
4fcd7e4c1e ChangeLog update 2006-07-14 01:30:53 +00:00
Andrei Zmievski
2fbc36496f - Let the caller output a warning instead of having
zend_get_unified_string_type() do it.
- Mark a few more functions are Unicode compatible.
2006-07-13 21:27:48 +00:00
1e9e63e56c ChangeLog update 2006-07-13 01:31:09 +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
Antony Dovgal
90d62b46a0 initialize EG(exit_status) 2006-07-12 21:03:07 +00:00
Andrei Zmievski
b8e488ecd5 No need for TSRMLS_FETCH(). 2006-07-12 19:34:55 +00:00
Andrei Zmievski
2c8398fe81 Implement convert_to_unicode_with_converter() and adjust zval_* APIs. 2006-07-12 17:35:06 +00:00
Andrei Zmievski
ed77c07a35 Commit Sara's patch for supporting filesystem enccoding in
include/require.
2006-07-12 17:04:13 +00:00
Antony Dovgal
1fb6a441d7 fix argument parsing utilities
test before commit?
2006-07-12 10:13:13 +00:00
Dmitry Stogov
f5a2224ca3 Fixed bug #36759 (Objects destructors are invoked in wrong order when script is finished) 2006-07-12 07:54:18 +00:00
Sara Golemon
f541962338 Fix typo/Syntax error 2006-07-12 04:20:02 +00:00
516df2ce97 ChangeLog update 2006-07-12 01:30:53 +00:00
Andrei Zmievski
a1fcfe3693 Remove unused 'y' specifier. 2006-07-11 22:53:10 +00:00
Andrei Zmievski
b41169d4e7 Rename to a more explanatory macro. 2006-07-11 16:59:42 +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
0395649b41 ChangeLog update 2006-07-11 01:31:00 +00:00
Andrei Zmievski
637f602822 Optimize zero-arg case for parameter parsing. No more need for manual
checks.
2006-07-10 23:06:33 +00:00
Andrei Zmievski
78f5e9f0a1 Include uclean.h header. 2006-07-10 23:06:17 +00:00
Antony Dovgal
b062531746 nuke unused variable 2006-07-10 13:53:47 +00:00
ce4c6d1657 ChangeLog update 2006-07-10 01:30:51 +00:00
Marcus Boerger
5fc72b98fa - Add missing test name prefix 2006-07-10 00:35:24 +00:00
Marcus Boerger
97b35cabb0 - Drop unused var 2006-07-10 00:32:23 +00:00
Marcus Boerger
871395174b - Add new test 2006-07-10 00:10:14 +00:00
Marcus Boerger
032dfa1bc4 - Fix issues with __get() returning arrays (might need to be revised) 2006-07-10 00:07:36 +00:00
Marcus Boerger
2de6065591 - Fixed Bug #37811 define not using toString on objects 2006-07-09 22:40:10 +00:00
Marcus Boerger
3173828d9e - Reword comment 2006-07-09 18:03:17 +00:00
Marcus Boerger
9de66765b8 - Fix issue with comparing objects with objects 2006-07-09 18:01:42 +00:00
Marcus Boerger
2c6b8329e7 - Drop dead code 2006-07-09 17:11:32 +00:00
Marcus Boerger
f94e3cc3ba - Add new test 2006-07-09 17:02:34 +00:00
Marcus Boerger
93a1d862f8 - Fix comparision edgecases involving objects (Tony, Marcus)
- Use ZVAL_LONG() where appropriate
2006-07-09 16:57:35 +00:00
Marcus Boerger
a37f9719e2 - Fix test 2006-07-09 16:56:07 +00:00
86c132acb9 ChangeLog update 2006-07-07 01:30:57 +00:00
Antony Dovgal
de23c325e9 add test 2006-07-06 16:17:12 +00:00
Sara Golemon
aee52fa3ea Silence FETCH_OBJ_IS / undefined notices 2006-07-06 15:28:05 +00:00
816d280580 ChangeLog update 2006-07-06 01:30:52 +00:00
Antony Dovgal
cbeedda2db export zend_std_get_constructor() 2006-07-05 11:41:09 +00:00
Antony Dovgal
636e7be681 improve error messages 2006-07-05 11:38:13 +00:00
58b222b625 ChangeLog update 2006-06-29 01:31:01 +00:00
Andrei Zmievski
619350f27c Rename unicode_semantics to unicode.semantics. 2006-06-28 14:13:13 +00:00
b4b3b66f4c ChangeLog update 2006-06-28 01:30:54 +00:00
Antony Dovgal
40a9bb96a6 add new tests 2006-06-27 21:09:50 +00:00
Antony Dovgal
5a816e0f20 no need to throw E_ERROR here, E_WARNING is more than enough 2006-06-27 19:58:27 +00:00
2a36d0eea6 ChangeLog update 2006-06-23 01:30:48 +00:00
Antony Dovgal
4c9b3450df fix typo 2006-06-22 21:24:12 +00:00
cedefd12d5 ChangeLog update 2006-06-22 02:29:26 +00:00
Andrei Zmievski
e875205714 Implement user conversion error handler support. Works as normal error
handler, in that it can return false to make the default one take over.
Handler signature is:
  user_handler($direction, $encoding, $char_byte, $offset, $message)

Also removed support for using exceptions in default error handler.
2006-06-21 20:17:21 +00:00
Andrei Zmievski
37972451f8 Implement unicode_set_error_handler() / unicode_restore_error_handler().
The error handler doesn't do anything yet. (vaporware)
2006-06-20 23:00:02 +00:00
Andrei Zmievski
5e64063b1c Plug memory leak in set_exception_handler(). 2006-06-20 22:50:49 +00:00
Antony Dovgal
59e16e52de init variables 2006-06-20 13:28:02 +00:00
Antony Dovgal
a896c54e2f fix tests 2006-06-20 12:50:52 +00:00
Marcus Boerger
55086233ce - Arginfo fix (Hannes) 2006-06-13 20:56:52 +00:00
Dmitry Stogov
2cbde06400 Added automatic module globals management. 2006-06-13 13:11:42 +00:00
Stefan Esser
08e355e39e Added hook for compile_string() 2006-06-13 12:56:20 +00:00
Marcus Boerger
9b29f1a3f4 - Fix memleaks (by nuno) 2006-06-12 22:48:46 +00:00
Andrei Zmievski
8eb6c59e10 Be more explicit. 2006-06-12 17:06:39 +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
09cbc2479e - Regenerated after zend_vm_def.h change 2006-06-07 09:25:04 +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
762603f66c ChangeLog update 2006-06-07 05:32:04 +00:00
Antony Dovgal
35949de5b1 revert by Andi's request 2006-06-06 14:16:53 +00:00
Antony Dovgal
65d8dabdd0 fix test 2006-06-06 11:34:40 +00:00
Antony Dovgal
4bf982eba4 do not allow to implement the same interface twice
add tests
2006-06-06 10:02:28 +00:00
ddee780752 ChangeLog update 2006-06-06 05:31:56 +00:00
f8739f4496 ChangeLog update 2006-06-05 05:31:56 +00:00
Marcus Boerger
45c1713762 - Fix function flag check 2006-06-04 10:23:25 +00:00
a89e7447bf ChangeLog update 2006-06-04 05:31:56 +00:00
Marcus Boerger
3350fd0fd1 - Revert - Needs further discussing 2006-06-03 11:41:29 +00:00
Marcus Boerger
c870888d06 - Printable is supposed to return nativ/unicode depending on ini setting 2006-06-03 11:01:40 +00:00
fae653bf48 ChangeLog update 2006-06-03 05:31:59 +00:00
Dmitry Stogov
916a317385 SAPI globals are destroied at this point and reporting errors about memory leaks
can cause crash.
2006-06-02 13:31:38 +00:00
136d3c6fbe ChangeLog update 2006-06-02 05:31:58 +00:00
Antony Dovgal
de4a8eed86 add new tests 2006-06-01 11:57:39 +00:00
Antony Dovgal
57566a78b5 throw a warning when using invalid offset types with strings 2006-06-01 11:56:23 +00:00
e24b4215ea ChangeLog update 2006-06-01 05:31:55 +00:00
Antony Dovgal
3a4028c39e fix error message in Unicode mode 2006-05-31 18:59:42 +00:00
Antony Dovgal
8d9ad7511d add more tests 2006-05-31 18:58:27 +00:00
Antony Dovgal
1fdb254591 add tests for new E_FATALs 2006-05-31 14:55:16 +00:00
Dmitry Stogov
4e662470f7 Keeping consistent arg_stack during arguments freeing (Exception from destructor may use inconsistent arg_stack for backtrace). 2006-05-31 13:02:15 +00:00
Dmitry Stogov
75fac72dc5 Support for nested exceptions and fatal errors in destructors 2006-05-31 12:59:45 +00:00
988acbf86a ChangeLog update 2006-05-31 05:31:57 +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
0389fb190d ChangeLog update 2006-05-30 05:31:57 +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
7ed1649017 ChangeLog update 2006-05-29 05:31:56 +00:00
Johannes Schlüter
80cff030da - Fix printf modifier 2006-05-28 19:45:02 +00:00
a256df46bc ChangeLog update 2006-05-28 05:31:56 +00:00
Marcus Boerger
5925a26275 - Take care of refcounting in zend_fcall_info_*() functions
- Add docu
# I know it is unpopular to add docu here but i think we should add more
2006-05-27 19:40:06 +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
ec0c3e853f ChangeLog update 2006-05-27 05:31:57 +00:00
Marcus Boerger
9265545992 - Fix bug #37212 (Access to protected property of common base class)
By adding "zend_class_entry *ce" to struct zend_property_info;
# Besides closing the bug this patch allows to optimize a bunch of
# property handling optimizations. I need to find out what all can be
# optimized. All other tests relevant to class handling still PASS.
2006-05-27 02:12:43 +00:00
Marcus Boerger
ffc4fbb91f - There are no abstract static methods in classes, use interfaces 2006-05-27 01:56:42 +00:00
ad466c9e7c ChangeLog update 2006-05-26 05:31:57 +00:00
Sara Golemon
a228b7f675 Fix ZTS build, call with TSRMLS_CC not DC 2006-05-26 04:22:46 +00:00
Marcus Boerger
cc56405cb9 - Sync error messages and simplify error message generation code 2006-05-26 00:26:45 +00:00
Marcus Boerger
9114bc25c3 - Ease writing functions that deal with php function 'pointers' 2006-05-25 22:20:13 +00:00
Antony Dovgal
34126e4a64 MFB: fix error messages when converting objects to other types 2006-05-25 10:34:01 +00:00
Dmitry Stogov
7e59bc4d89 Fixed bug #37558 (timeout functionality doesn't work after a second PHP starup on the same thread). (p dot desarnaud at wanadoo dot fr) 2006-05-25 07:23:38 +00:00
b549e5b503 ChangeLog update 2006-05-24 05:31:57 +00:00
Marcus Boerger
30bc5adf3b - Handle NULL in C argument parsing correct 2006-05-23 22:21:52 +00:00
Sebastian Bergmann
9ac660b72e Add bison 2.2 to the list of supported versions. 2006-05-23 11:10:54 +00:00
9b35a2aad8 ChangeLog update 2006-05-22 05:31:58 +00:00
Marcus Boerger
223dce98a5 - Improve error messages (missing unicode todo) 2006-05-21 12:39:03 +00:00
Marcus Boerger
7628f08017 - Improve error messages (part 2) 2006-05-21 12:38:28 +00:00
Marcus Boerger
426b40fc77 - Improved error messages 2006-05-21 11:23:35 +00:00
cdcc0e2633 ChangeLog update 2006-05-21 05:31:53 +00:00
Marcus Boerger
7c3ffb2056 - Z_LVAL is a long so use %ld 2006-05-20 20:50:24 +00:00
Antony Dovgal
e697da651c fix the typo before everybody forgets about it 2006-05-20 19:08:25 +00:00
Marcus Boerger
b7315f749c - Better error message in case of an exception from a dtor while an
exception is already pending
2006-05-20 18:32:33 +00:00
Marcus Boerger
a871b842f8 - Fix warning 2006-05-20 15:38:36 +00:00
Marcus Boerger
b850abcb82 - Do not use the protection at this place, we would need another object
shutdown state (e.g. destructed == 2). That's probbaly too much.
2006-05-20 10:18:17 +00:00
Marcus Boerger
8e42a84335 - Destructors must not be called twice 2006-05-20 09:51:41 +00:00
Marcus Boerger
3a752ce669 - Should be static and be called (comitted wrong version) 2006-05-20 09:11:50 +00:00
Marcus Boerger
207846259d - Add new tests
# Now who finds the error in php code?
2006-05-20 09:08:00 +00:00
10163622cc ChangeLog update 2006-05-20 05:31:54 +00:00
Dmitry Stogov
6f9a24e4e2 Fixed random crashes in ZTS mode becouse of uninitialized EG(modified_ini_directives). 2006-05-19 15:39:36 +00:00
Dmitry Stogov
ab9e070bbf Optimized zend_try/zend_catch macroses (eliminated memcpy()) 2006-05-19 06:11:02 +00:00
7324a30e8d ChangeLog update 2006-05-19 05:31:56 +00:00
Marcus Boerger
37561705a0 - Fix error message in unicode mode 2006-05-18 21:14:40 +00:00
7bb6f3ea59 ChangeLog update 2006-05-18 05:31:54 +00:00
Antony Dovgal
fe94855983 change argument name, it should be "object" not "property" 2006-05-17 14:28:31 +00:00
Ilia Alshanetsky
2639d7e6d8 Fixed bug #35512 (Lack of read permission on main script results in
E_WARNING rather then E_ERROR).
2006-05-17 13:28:20 +00:00
cccca0943a ChangeLog update 2006-05-16 05:31:53 +00:00
Dmitry Stogov
61806b7b03 Added test 2006-05-15 16:30:37 +00:00
Dmitry Stogov
fb1a172cae Optimized require_once/include_once (eliminated fopen() on second usage) 2006-05-15 15:31:50 +00:00
Dmitry Stogov
1985424c4d Optimized request shutdown sequence to iterate only over modified ini directives 2006-05-15 14:53:47 +00:00
9d2828f16f ChangeLog update 2006-05-15 05:31:56 +00:00
b7c3e4312c ChangeLog update 2006-05-14 05:31:55 +00:00
Marcus Boerger
601523f22d - Support __tostring() in argument parsing 2006-05-13 10:18:12 +00:00
e7e50d52f8 ChangeLog update 2006-05-13 05:31:53 +00:00
Derick Rethans
f3de1a5273 - Added tests for BC breaking changes. 2006-05-12 10:02:13 +00:00
058ddb8f65 ChangeLog update 2006-05-12 05:31:59 +00:00
Marcus Boerger
d588eb2012 - Drop a few superflous if conditions (now the generated file) 2006-05-11 21:12:27 +00:00
Marcus Boerger
623df04877 - Drop a few superflous if conditions 2006-05-11 21:11:54 +00:00
Andrei Zmievski
f1a98a1d52 Adjust API for scanning INI files as UTF-8. 2006-05-11 18:22:09 +00:00