Commit Graph

6818 Commits

Author SHA1 Message Date
faca7b97d4 ChangeLog update 2008-08-12 01:32:21 +00:00
Marcus Boerger
7f6d70ee5b - Fix shutdown order 2008-08-11 17:33:02 +00:00
Marcus Boerger
320c954402 - Fix memleak with new error handling stack'ing 2008-08-11 17:19:01 +00:00
Dmitry Stogov
5564a4c90f - Made closures implementation reflection friendly (Christian)
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:14 +00:00
b4ac71f514 ChangeLog update 2008-08-11 01:32:53 +00:00
Marcus Boerger
2b1b167538 - Fix warning 2008-08-10 22:45:47 +00:00
Marcus Boerger
0c9b0ddcd2 - Oops 2008-08-10 22:27:41 +00:00
Marcus Boerger
aea4ea120f - Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
  because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
  appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
  seems to be fine.
2008-08-10 21:52:05 +00:00
Antony Dovgal
a270199067 fix bug reported by Henrique
add test
2008-08-10 21:23:21 +00:00
Antony Dovgal
07d8c7dfa0 fix tests 2008-08-10 21:20:05 +00:00
Felipe Pena
255f027443 - Fixed tests 2008-08-10 00:34:42 +00:00
05f876bbe7 ChangeLog update 2008-08-09 01:32:15 +00:00
Marcus Boerger
034d2e5916 - Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
  to save/restore in the vm.
2008-08-08 17:10:49 +00:00
Marcus Boerger
805cc4bf50 - PHP 5.3 todo, store error handling mode on stack when executing internal
or overloaded functions and methods. The issue is that a function might
  set and rely on a certain mode and then calls another internal function
  which changes it again, probably changing it back to the normal mode.
  With this change we need to drop all calls that change the mode back to
  normal using php_std_error_handling(). However there might be places
  where someone wants to restore the last mode. If there is such a case we
  need to add two functions one to save and one to restore. I briefly on
  this and not all cases are clear, especially one in sqlite but that seems
  to be a rather misleading comment. Eitherway I chose to not drop and mark
  as deprecated for now.
2008-08-08 13:18:31 +00:00
8f7700f179 ChangeLog update 2008-08-08 01:32:24 +00:00
Dmitry Stogov
4571bd883a Disable closures serialization/unserialization 2008-08-07 13:36:13 +00:00
Nuno Lopes
fbca710b97 regenerate 2008-08-07 12:32:48 +00:00
Nuno Lopes
230eb4c442 MFB: fix crash 2008-08-07 12:23:54 +00:00
Dmitry Stogov
d24ecd1458 Fixed bug #45744 (Case sensitive callback behaviour) 2008-08-07 12:03:51 +00:00
Antony Dovgal
cc7779fd30 fix WS 2008-08-07 11:50:51 +00:00
Dmitry Stogov
a3d8718b9a Fixed bug #45742 (Wrong class array inpretetion using constant indexes) 2008-08-07 11:45:00 +00:00
Antony Dovgal
951fe380b3 fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*) 2008-08-07 08:36:15 +00:00
032d54f65c ChangeLog update 2008-08-06 01:32:27 +00:00
Stanislav Malyshev
fb9945422e fix memnstr bug by Laurent Gaffie 2008-08-05 21:23:20 +00:00
676b04cbbb ChangeLog update 2008-08-04 01:32:06 +00:00
Jani Taskinen
74e779a7a9 - No C++ comments in C files! 2008-08-03 11:47:09 +00:00
4458737a6b ChangeLog update 2008-08-03 01:32:30 +00:00
Felipe Pena
611ecc5111 - Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:40:45 +00:00
Felipe Pena
dd3d9fc455 - Removed unnecessary TSRMLS_FETCH() 2008-08-02 02:49:46 +00:00
7a8b17ff52 ChangeLog update 2008-08-02 01:32:24 +00:00
Stanislav Malyshev
8b5fa55af1 remove unneeded define 2008-08-01 22:45:59 +00:00
Dmitry Stogov
d93a86b4d2 Fixed bug #44100 (Inconsistent handling of static array declarations with duplicate keys). 2008-08-01 14:21:46 +00:00
f0f283650d ChangeLog update 2008-08-01 01:32:11 +00:00
Dmitry Stogov
2ba22bb549 Fixed constant substitution in constant expression context 2008-07-31 14:27:55 +00:00
Dmitry Stogov
bc8defa547 Removed Closure::__toString() 2008-07-31 07:10:43 +00:00
570d0c8cbf ChangeLog update 2008-07-31 01:32:16 +00:00
Felipe Pena
0ce37b0584 - New test 2008-07-30 12:26:37 +00:00
274139bde1 ChangeLog update 2008-07-30 01:31:56 +00:00
Felipe Pena
7da7c81320 - Fixed BC break: The magic constants must be case-insensitive. 2008-07-30 01:24:00 +00:00
Dmitry Stogov
03ebd36385 Fixed memory leak 2008-07-29 14:27:31 +00:00
Antony Dovgal
182de3e907 add zend_u_read_property() and zend_u_update_property() 2008-07-29 08:47:21 +00:00
39d813a954 ChangeLog update 2008-07-29 01:32:00 +00:00
Dmitry Stogov
ebbd4f094f Fixed constant substitution (Matt) 2008-07-28 14:13:12 +00:00
Felipe Pena
de758769d3 - New tests 2008-07-28 14:09:00 +00:00
Moriyoshi Koizumi
064738e033 - Touch. 2008-07-28 06:09:56 +00:00
Moriyoshi Koizumi
210a5353d0 - Another portion to merge. 2008-07-28 06:09:24 +00:00
Moriyoshi Koizumi
dea723c1fb - Sync function signature with the 5.3 branch 2008-07-28 06:07:19 +00:00
606fc14a56 ChangeLog update 2008-07-28 01:31:51 +00:00
Felipe Pena
fa71adbbb1 - Fixed tests 2008-07-27 17:37:07 +00:00
Dmitry Stogov
72392022d5 Fix for bug #43487 (Wrong conversion of float to string) 2008-07-27 11:29:59 +00:00
139be81c62 ChangeLog update 2008-07-27 01:31:58 +00:00
Dmitry Stogov
d379f1fd06 Added checks for destroied objects 2008-07-26 18:32:39 +00:00
Dmitry Stogov
1e355b4173 Fixed bug #44660 (Indexed and reference assignment to propery of non-object don't trigger warning) 2008-07-26 18:00:18 +00:00
Dmitry Stogov
192caef98c Added support for overloaded functions (e.g. COM) in call_user_func(). 2008-07-26 17:01:59 +00:00
Dmitry Stogov
ef5f3cfdf2 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:31:38 +00:00
Dmitry Stogov
2d49dc63e6 Fixed bug #45608 (closures don't work in static methods) 2008-07-26 14:15:44 +00:00
Dmitry Stogov
60daaf792f Fixed crashes and memory leak for objects with NULL write_property/has_property/unset_property handlers 2008-07-26 14:09:05 +00:00
Dmitry Stogov
bdf7981e28 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:56 +00:00
7f2786ea52 ChangeLog update 2008-07-26 01:32:07 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Dmitry Stogov
d8208b0541 Substitute persistent constants by their values at compile time. (Matt) 2008-07-25 04:54:56 +00:00
f38b76e283 ChangeLog update 2008-07-25 01:32:16 +00:00
Moriyoshi Koizumi
6e18e49861 - Suppress signedness warnings. 2008-07-24 20:44:10 +00:00
Moriyoshi Koizumi
eaeb1f7ee3 * Constify read-only arguments. 2008-07-24 20:38:43 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Dmitry Stogov
0c77613d77 Optimized ZEND_SIGNED_MULTIPLY_LONG() (Matt) 2008-07-24 13:46:48 +00:00
Dmitry Stogov
fd2c7c2105 Fixed bug #45178 (memory corruption on assignment result of "new" by reference) 2008-07-24 11:48:30 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
84a8d2b4ae ChangeLog update 2008-07-23 01:31:54 +00:00
Jani Taskinen
705062e76a ws 2008-07-22 07:39:40 +00:00
Dmitry Stogov
0255d8d5f4 Closure object cannot have properties 2008-07-22 07:29:14 +00:00
Derick Rethans
b9dd7dc722 - This test works fine (patch by Lars Strojny) 2008-07-22 07:21:40 +00:00
7970d3a6ba ChangeLog update 2008-07-22 01:32:02 +00:00
Felipe Pena
52d1de927a - Fixed tests (patch by Lars Strojny) 2008-07-21 23:55:27 +00:00
Scott MacVicar
e6848d51c2 Optimisation for zend_memnstr when the needle is only a single character. (Patch by Michal Dziemianko - GSoC08) 2008-07-21 18:43:46 +00:00
Dmitry Stogov
49952e6452 Added check for small ZEMD_MM_SEG_SIZE 2008-07-21 17:06:16 +00:00
Hannes Magnusson
5919165375 Add E_USER_DEPRECATED (patch by Lars Strojny) 2008-07-21 09:36:21 +00:00
Marcus Boerger
76de0e6aaf - Little debug hack to allow printing vm function 2008-07-21 08:14:19 +00:00
846e51b448 ChangeLog update 2008-07-21 01:31:59 +00:00
ae3492f83f ChangeLog update 2008-07-18 01:32:00 +00:00
Stanislav Malyshev
928d1520c5 vc9 build fix 2008-07-17 17:50:04 +00:00
2ef07c40f5 ChangeLog update 2008-07-15 01:32:05 +00:00
Felipe Pena
8e4029512a - New tests 2008-07-14 13:39:32 +00:00
Felipe Pena
ae22f8a5d9 - Fixed test titles 2008-07-14 12:35:51 +00:00
Dmitry Stogov
84625f5e7e Fixed is_callable() to support closures and return appropriate function name 2008-07-14 12:17:16 +00:00
0fe75c2262 ChangeLog update 2008-07-14 01:32:03 +00:00
Marcus Boerger
33adcdf0cc - Fix/add tests 2008-07-13 21:37:27 +00:00
Marcus Boerger
0960a894f8 - Fix old workaround, since we are not C++ we can deal with exceptions in
dtors (whether or not an exception is already pending).
2008-07-13 21:37:04 +00:00
Marcus Boerger
35307d9933 - Fix setting previous exception and add new helper function 2008-07-13 21:35:23 +00:00
Marcus Boerger
6cdd85c5fa - Fix function copying (in TSRM mode) 2008-07-13 21:30:18 +00:00
Antony Dovgal
102ab5c862 fix test 2008-07-13 09:37:19 +00:00
f8cf911575 ChangeLog update 2008-07-13 01:32:15 +00:00
Marcus Boerger
5197ffd54f - Add support for linking exceptions (implements TODO)
# Right now backtrace is broken, for internal functions I only see the
# first char and debugging reveals the length of the function name is seen
# as one when building the trace. There is something out of the scope of
# this patch broken.
2008-07-12 14:56:51 +00:00
9c2a2e0760 ChangeLog update 2008-07-11 01:32:08 +00:00
Dmitry Stogov
e3b14a49bb Removed SKIPIF sections 2008-07-10 07:57:34 +00:00
Dmitry Stogov
4d58b64a89 Fixed unicode support 2008-07-10 07:55:48 +00:00
d00dfb0bcb ChangeLog update 2008-07-10 01:31:56 +00:00
6f75bac2f7 ChangeLog update 2008-07-09 01:32:18 +00:00
Dmitry Stogov
36ec3480cf Closure::__invoke() is fixed to support references 2008-07-08 16:15:08 +00:00
Nuno Lopes
f7a2129059 let re2c do its magic 2008-07-08 15:27:58 +00:00
Nuno Lopes
6c844a9d1c MFB: fix remaining # comments issues 2008-07-08 15:24:25 +00:00
Dmitry Stogov
0ab4c933e7 Fixed bug #45434 (circular reference causes segfault in gc_collect_cycles()) 2008-07-08 08:16:18 +00:00
Dmitry Stogov
8d2e0a7e0f Added closures support 2008-07-08 07:05:04 +00:00
79807096b5 ChangeLog update 2008-07-08 01:32:04 +00:00
Scott MacVicar
e81f69708a Add zend_ini_string_ex so that the you can differentiate between NULL as a value and its absence, this is important for ini_get. Related to bug #42657 and #43348 2008-07-07 21:47:30 +00:00
Felipe Pena
a0be5116ad MFB:
- Removed zend_arg_defs.c
  The first_arg_force_ref, second_arg_force_ref, third_arg_force_ref,
   fourth_arg_force_ref, fifth_arg_force_ref and all_args_by_ref are not more used.
2008-07-07 14:45:09 +00:00
1704bcc89f ChangeLog update 2008-07-07 01:31:55 +00:00
Nuno Lopes
96258d4a76 MFB 2008-07-06 16:42:10 +00:00
Nuno Lopes
d6ad0c20da regenerate 2008-07-06 16:41:27 +00:00
Felipe Pena
5e7ddbdeef MFB:
- Added arginfo
- Removed #include "zend_arg_defs.c"
2008-07-06 05:03:46 +00:00
142238a090 ChangeLog update 2008-07-06 01:32:15 +00:00
86151ca664 ChangeLog update 2008-07-02 01:31:48 +00:00
Dmitry Stogov
87e1cc3cb0 Removed redundant code 2008-07-01 13:21:12 +00:00
Antony Dovgal
a96cf2b175 fix crash in define() 2008-07-01 09:17:43 +00:00
Antony Dovgal
5389a44a05 int -> long 2008-07-01 07:21:24 +00:00
c78ca3fdc7 ChangeLog update 2008-07-01 01:31:52 +00:00
Stanislav Malyshev
ab8e8b75f1 convert all built-in functions to new API 2008-06-30 21:05:06 +00:00
f2fea074c7 ChangeLog update 2008-06-30 01:31:52 +00:00
9c812109d4 ChangeLog update 2008-06-28 01:31:48 +00:00
Stanislav Malyshev
7913749eb8 deprecate zend_get_parameters_ex 2008-06-27 21:18:41 +00:00
Stanislav Malyshev
3143e62b80 enable on MSVC too 2008-06-27 18:45:15 +00:00
Stanislav Malyshev
5e93e9164e MFB: allow to deprecate engine functions 2008-06-27 01:24:08 +00:00
f7012700e6 ChangeLog update 2008-06-26 01:31:56 +00:00
Felipe Pena
23a350b7a5 - Fixed tests 2008-06-25 22:51:53 +00:00
Felipe Pena
8f7f5c7d57 - MFB: Removed E_DEPRECATED on is_a()
(http://marc.info/?l=php-internals&m=121390431523970&w=2)
2008-06-25 22:37:14 +00:00
7322f25ac8 ChangeLog update 2008-06-21 01:31:50 +00:00
Dmitry Stogov
ecf108e681 Allowed to override internal classaes with "use" 2008-06-20 17:17:19 +00:00
59b026dd1f ChangeLog update 2008-06-20 01:31:49 +00:00
f08badb0fb ChangeLog update 2008-06-19 01:31:57 +00:00
fd11f3c523 ChangeLog update 2008-06-16 01:32:35 +00:00
0a9a16b19d ChangeLog update 2008-06-12 01:31:46 +00:00
Felipe Pena
61f82b7b2f - New test 2008-06-11 22:40:56 +00:00
Dmitry Stogov
b8d7c7e91d - Removed direct executor recursion.
- Use fastcall calling convention in executor on x86.
2008-06-11 13:19:14 +00:00
25a594e2b5 ChangeLog update 2008-06-11 01:31:45 +00:00
10bf288823 ChangeLog update 2008-06-10 01:32:02 +00:00
Matt Wilmas
6c13101979 MFB: Fixed yyleng calculation after the yyless change 2008-06-09 10:20:30 +00:00
03557474be ChangeLog update 2008-06-09 01:31:50 +00:00
Stanislav Malyshev
15b74d008a MF5: allow aggregating use statements 2008-06-08 09:51:42 +00:00
893c2153c9 ChangeLog update 2008-06-07 01:31:45 +00:00
Nuno Lopes
1c5df1565f backport the yyless patch from 5.3 branch. it seems I forgot to commit this..
# you'll probably need re2c 0.13.5 or newer to regenerate this file
# Matt: please advise if there's still somrthing pending (i.e. was the heredoc/nowdoc patch MFB already?
2008-06-06 17:34:43 +00:00
ec965d1531 ChangeLog update 2008-06-06 01:31:55 +00:00
Felipe Pena
579dcade61 - MFB: Fixed bug #45186 (__call depends on __callstatic in class scope) 2008-06-05 19:16:17 +00:00
Felipe Pena
0e74a12ae1 - MFB: Fixed bug #45180 ('class::method' works differently than array('class', 'method')) 2008-06-05 19:14:25 +00:00
Felipe Pena
14b1567a6f - New tests 2008-06-05 18:35:48 +00:00
2efe4f736c ChangeLog update 2008-06-05 01:31:50 +00:00
Felipe Pena
750c42aecb - New test 2008-06-04 18:34:12 +00:00
807f91c961 ChangeLog update 2008-06-04 01:31:52 +00:00
Felipe Pena
737dd4ef6e - MFB: Fixed bug #45089 (__callStatic $name case sensitivity) 2008-06-03 19:01:26 +00:00
Felipe Pena
ad4e5332d9 - Removed unnecessary XFAIL section 2008-06-03 17:09:29 +00:00
Felipe Pena
cde37a23b0 - New tests 2008-06-03 15:36:59 +00:00
Felipe Pena
15ec44e0bd - Fixed bug #44769 (declaring private magic methods should throw error) 2008-06-03 13:55:47 +00:00
1ea15b11d5 ChangeLog update 2008-06-02 01:31:45 +00:00
Scott MacVicar
f013474f7d MFB: Back out the previous change as it broke the Windows builds. 2008-06-01 17:31:24 +00:00
Scott MacVicar
d5aa529c3b MFB: Fix unexported symbols. Patch by Greg 2008-06-01 16:09:52 +00:00
7711305fd7 ChangeLog update 2008-05-31 01:31:56 +00:00
Matt Wilmas
aab8305c03 Fixed memcmp() check with hash_quick_del (realKeyLength would be 0) 2008-05-30 11:05:35 +00:00
3dd931c869 ChangeLog update 2008-05-30 01:31:52 +00:00
Matt Wilmas
d48f694d0a Fixed overflow crash (at least on Windows) in div_function with LONG_MIN / -1
To reproduce: (-PHP_INT_MAX - 1) / -1, so op1 is a long
Same cause as Bug #27354 for mod_function
2008-05-29 11:44:09 +00:00
7d2324f7ab ChangeLog update 2008-05-29 01:31:51 +00:00
Felipe Pena
94181a6920 - Added XFAIL section in tests to issue under discussion 2008-05-28 11:50:02 +00:00
d111366807 ChangeLog update 2008-05-28 01:31:59 +00:00
Matt Wilmas
9c37df900c Add array_init_size() and use it where array size is known at initialization 2008-05-27 10:28:25 +00:00
88b1c1084b ChangeLog update 2008-05-27 01:32:01 +00:00
Steph Fox
6d8760677d - killed off UEXPECT
- altered EXPECT for parser errors. This may or may not be a Good Thing.
2008-05-26 14:33:44 +00:00
eb30892654 ChangeLog update 2008-05-25 01:31:52 +00:00
aef3355d98 ChangeLog update 2008-05-22 01:31:44 +00:00
Antony Dovgal
f3735e0c76 looks for Unicode constants in Unicode mode 2008-05-21 10:41:08 +00:00
4a0670fc02 ChangeLog update 2008-05-21 01:31:49 +00:00
Antony Dovgal
5b815008e4 use correct check for unicode
strings may be still strings, even in Unicode mode
2008-05-20 15:29:01 +00:00
Antony Dovgal
bdaa1fe47f make sure that converters are not equal to utf8 & ascii before destroying them, or we may end up with double free 2008-05-20 15:03:13 +00:00
Antony Dovgal
7de1c81af0 fix tests 2008-05-20 14:54:06 +00:00
2f3c33bdbe ChangeLog update 2008-05-20 01:32:03 +00:00
Andrei Zmievski
0d018ee265 Crossing the Rubicon: remove the unicode.semantics switch and default
unicode mode to On.
2008-05-19 19:39:25 +00:00
53abdc3f57 ChangeLog update 2008-05-17 01:31:44 +00:00
b650fbb15c ChangeLog update 2008-05-15 01:31:51 +00:00
Antony Dovgal
9b028e77b3 fix test names 2008-05-14 13:05:55 +00:00
3c24ef3145 ChangeLog update 2008-05-13 01:31:53 +00:00
Felipe Pena
5790b80c53 - New tests 2008-05-12 17:55:21 +00:00
Felipe Pena
c3d4d21afc - New tests 2008-05-12 14:58:41 +00:00
Felipe Pena
c065d7e7e7 - New tests 2008-05-12 13:30:50 +00:00
Felipe Pena
249ada6930 - Fixed test 2008-05-12 11:16:32 +00:00
Dmitry Stogov
25aaecc64d Fixed bug #44952 (isset() does not checks correctly variable variable) 2008-05-12 09:09:28 +00:00
Dmitry Stogov
1e2676070d Added API to use namesapces in internal extensions 2008-05-12 07:13:47 +00:00
0f1c3cf1bd ChangeLog update 2008-05-12 01:31:47 +00:00
Felipe Pena
d6a777349b - New tests 2008-05-11 22:44:10 +00:00
Matt Wilmas
5ddb49caec Fixed error message typo; also removed end . to be consistent with the others 2008-05-11 11:45:31 +00:00
Felipe Pena
3d7013045b - New tests 2008-05-11 03:15:13 +00:00
c28ebf6a92 ChangeLog update 2008-05-11 01:31:50 +00:00
Matt Wilmas
ff34ca0b93 Restore end check for "escape" strings (not needed for single-quoted strings as they can't have an unescaped backslash at the end) 2008-05-10 09:15:17 +00:00
6f9fecae56 ChangeLog update 2008-05-10 01:31:58 +00:00
Matt Wilmas
2ff54e368f Fix Windows newlines (missed that detail when adding :-/) 2008-05-09 14:40:31 +00:00
Felipe Pena
55978d86c1 - New tests 2008-05-09 14:11:51 +00:00
Matt Wilmas
77a0bed0d8 Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 11:05:34 +00:00
Matt Wilmas
6ed07458e1 Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 10:25:42 +00:00
Matt Wilmas
f76e17331e Fixed bug #44681 (Resources used as array keys get converted to 0) 2008-05-09 09:22:21 +00:00
6aa7022b8f ChangeLog update 2008-05-09 01:31:51 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Felipe Pena
cb9f7f675f - Fix valgrind report (Conditional jump or move depends on uninitialised value) 2008-05-08 15:39:35 +00:00
250f914c42 ChangeLog update 2008-05-08 01:31:44 +00:00
Felipe Pena
3264ac20bf - New tests 2008-05-07 14:08:41 +00:00
Dmitry Stogov
37691b0cd0 Use IS_CV for dirrent access to $this variable 2008-05-07 12:04:58 +00:00
35caf5067c ChangeLog update 2008-05-07 01:31:43 +00:00
Dmitry Stogov
ad9b3c053b Use lazy symbol table initialization for op_arrays called from internal php functions 2008-05-06 17:01:07 +00:00
Dmitry Stogov
baa15b7780 Fixed possible memory leak 2008-05-06 16:59:24 +00:00
Dmitry Stogov
c9652e94f5 GC fix 2008-05-06 16:02:50 +00:00
26603f68eb ChangeLog update 2008-05-06 01:31:45 +00:00
Dmitry Stogov
c1b01f7318 - Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
- Fixed bug #44913 (Segfault when using return in combination with nested loops and continue 2)
2008-05-05 11:02:46 +00:00
Dmitry Stogov
a0f5a72a8a Support for old-style constructors in namespaces 2008-05-05 09:44:07 +00:00
bf788b0307 ChangeLog update 2008-05-04 01:31:42 +00:00
Felipe Pena
c23bf369ec - Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss) 2008-05-03 00:36:54 +00:00
955a664c09 ChangeLog update 2008-05-01 01:31:50 +00:00
Dmitry Stogov
96ab33de6e IS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate
unnecessary checks at specialization/compilation stage
2008-04-30 10:44:24 +00:00
2b285b368d ChangeLog update 2008-04-30 01:32:01 +00:00
Antony Dovgal
bcd74c270b fix spelling 2008-04-29 13:50:22 +00:00
Dmitry Stogov
2396f40eb5 Fixed GC slowdown 2008-04-29 13:43:49 +00:00
Dmitry Stogov
20abb52b1e Added missing lazy initialization 2008-04-29 09:18:54 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Antony Dovgal
df56e70e73 lexer fix by Greg 2008-04-29 08:08:10 +00:00
7fabaa6564 ChangeLog update 2008-04-25 01:31:41 +00:00
Felipe Pena
d69738604f - Removed unused variables 2008-04-24 16:15:33 +00:00
Dmitry Stogov
00b006ce74 Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes 2008-04-24 15:46:28 +00:00
391385c4ff ChangeLog update 2008-04-22 01:31:37 +00:00
Dmitry Stogov
903fa24eba Optimized function call helper 2008-04-21 10:15:26 +00:00
8bb4402e07 ChangeLog update 2008-04-20 01:31:37 +00:00
Felipe Pena
18fad25a77 - Fixed tests 2008-04-19 23:11:26 +00:00
8979e4bc88 ChangeLog update 2008-04-19 01:31:36 +00:00
Felipe Pena
d4245df7d6 - New tests 2008-04-18 13:54:46 +00:00
9c1ba80062 ChangeLog update 2008-04-18 01:31:37 +00:00
Felipe Pena
b2b47a525f - New test 2008-04-17 18:16:34 +00:00
Dmitry Stogov
0699d994c6 Fixed bug #44226 (Throwing an exception causes crash in multithreaded SAPI) 2008-04-17 10:21:25 +00:00
5eb69afc78 ChangeLog update 2008-04-16 01:31:42 +00:00
Dmitry Stogov
aa82b397da Selected better initial VM stack size 2008-04-15 15:52:48 +00:00
aa3f1c0f66 ChangeLog update 2008-04-14 01:31:36 +00:00
937178d14d ChangeLog update 2008-04-12 01:31:40 +00:00
Dmitry Stogov
111954d7f1 Speedup GC initialization 2008-04-11 17:32:18 +00:00
Dmitry Stogov
b287ccf508 Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not
used.
2008-04-11 09:43:49 +00:00
d90bf2ca0c ChangeLog update 2008-04-11 01:31:42 +00:00
1f041c143b ChangeLog update 2008-04-10 01:31:43 +00:00
Scott MacVicar
a000866c43 MFB: Fixes to heredoc and cleanup of new re2c scanner. (Patch by Matt Wilmas) 2008-04-09 21:07:45 +00:00
Dmitry Stogov
3e7fc16078 Bug #44653 (Invalid namespace name resolution) 2008-04-09 08:55:31 +00:00
4f13555cc5 ChangeLog update 2008-04-08 01:31:43 +00:00
Scott MacVicar
c69476dbb5 MFB: Fixed bug #44609 (Dollar in ini variables are not parsed correctly) 2008-04-07 11:50:00 +00:00
fdcb173bfa ChangeLog update 2008-04-07 01:31:44 +00:00
Marcus Boerger
3ed985b582 - add new tests 2008-04-06 17:52:40 +00:00
a1d632a831 ChangeLog update 2008-04-06 01:31:41 +00:00
Felipe Pena
cdf42e7638 MFB:
- Allow HEREDOC syntax with double quotes [DOC]
(http://wiki.php.net/rfc/heredoc-with-double-quotes)
2008-04-05 23:13:21 +00:00
99286928ea ChangeLog update 2008-04-05 01:31:35 +00:00
Nuno Lopes
395ce7c7e8 MFB: remove redundant test 2008-04-04 15:35:37 +00:00
Nuno Lopes
099d515279 MFB: add sanity check for ZEND_MMAP_AHEAD 2008-04-04 15:13:32 +00:00
797f64e7bd ChangeLog update 2008-03-30 01:31:31 +00:00
38371f2ea8 ChangeLog update 2008-03-29 01:31:45 +00:00
3d212b4c7f ChangeLog update 2008-03-28 01:31:44 +00:00
ad972cf68c ChangeLog update 2008-03-27 01:31:39 +00:00
Scott MacVicar
b44449e60b - Add files generated by re2c 2008-03-26 15:10:24 +00:00
Scott MacVicar
e55a0de496 MFB 5.3: Rewrite scanner to be based on re2c instead of flex
There are still changes in regards to parsing of Unicode encoded scripts to come.
2008-03-26 14:23:02 +00:00
Antony Dovgal
f2ca4aaf6a allow NULL argument to be passed where binary string expected 2008-03-26 09:09:08 +00:00
fd44ea24e2 ChangeLog update 2008-03-26 01:31:44 +00:00
Dmitry Stogov
ad40998e8a Optimized detection of "__call" and "__callstatic" methods. 2008-03-25 13:04:22 +00:00
27826add0f ChangeLog update 2008-03-24 01:31:45 +00:00
Marcus Boerger
e8ef82bc6f - MFH Add tests 2008-03-23 13:38:20 +00:00
66316d7f04 ChangeLog update 2008-03-23 01:31:36 +00:00
Felipe Pena
c3ca82f363 - Renamed zend_do_fetch_class_name() to zend_do_build_full_name() (It is not used only for classes)
- Moved zend_resolve_class_name prototype to zend_compile.h
2008-03-22 19:10:20 +00:00
03de752f6d ChangeLog update 2008-03-22 01:31:41 +00:00
Felipe Pena
24505f7c87 - Simplify zend_do_build_namespace_name()
- Fix macro (Z_USTRLEN/Z_STRLEN -> Z_UNILEN) in zend_do_fetch_class_name()
2008-03-21 20:41:22 +00:00
Antony Dovgal
dd862bb3e3 fix #43477 (Error mode ignored in unicode_decode())
patch by Stephen Bach
2008-03-21 12:09:28 +00:00
5e091cea85 ChangeLog update 2008-03-20 01:31:43 +00:00
Rasmus Lerdorf
b911467d1d MFB
Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.
2008-03-19 16:37:49 +00:00
Antony Dovgal
6089f98338 fix typo 2008-03-19 12:44:05 +00:00
Antony Dovgal
500e17c5c1 add zend_atol() and use it instead of zend_atoi() where applicable 2008-03-19 12:40:20 +00:00
eee826d115 ChangeLog update 2008-03-19 01:31:36 +00:00
Dmitry Stogov
d390956ccb Removed hack (we don't need to modify class name).
(the problem is covered by Zend/tests/ns_056.phpt)
2008-03-18 11:37:15 +00:00
Dmitry Stogov
ea9305c543 Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}
2008-03-18 08:36:49 +00:00
Dmitry Stogov
a0378d3514 Fixed test 2008-03-18 06:44:54 +00:00
99e6fc1463 ChangeLog update 2008-03-18 01:31:32 +00:00
Felipe Pena
2c7b9a55cb Fix build 2008-03-18 00:37:35 +00:00
Antony Dovgal
be6f9c2bb5 return empty string of correct type if __toString() returned invalid value 2008-03-17 15:05:28 +00:00
Antony Dovgal
abbd1e8ece fix #39127i (Old-style constructor fallbacks produce strange results) 2008-03-17 14:53:43 +00:00
5e613d51c4 ChangeLog update 2008-03-17 01:31:43 +00:00
27aa725005 ChangeLog update 2008-03-15 01:33:00 +00:00
Dmitry Stogov
90e570be3b Improve GC to support garbage created in destructors during objects utilization 2008-03-14 18:37:17 +00:00
Dmitry Stogov
3fe5fcaabc Removed commented code and unnecessary inline function 2008-03-14 13:35:54 +00:00
Dmitry Stogov
2b82e0d78a Fixed GC bug 2008-03-14 13:21:21 +00:00
7ae78a86c6 ChangeLog update 2008-03-14 01:31:35 +00:00
Ilia Alshanetsky
12c56d0764 MFB: MFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value).
2008-03-13 16:01:46 +00:00
a606979932 ChangeLog update 2008-03-13 01:31:32 +00:00
Felipe Pena
45524adf9b Fix test 2008-03-12 16:24:13 +00:00
Dmitry Stogov
6d50e73072 Fixed test 2008-03-12 15:20:41 +00:00
Felipe Pena
2cebb3c7a5 New test 2008-03-12 13:32:27 +00:00
Felipe Pena
863cd369b9 New tests 2008-03-12 13:01:59 +00:00
Dmitry Stogov
32073866e9 Code simplification 2008-03-12 10:40:13 +00:00
Dmitry Stogov
b8debfd876 Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode 2008-03-12 10:32:39 +00:00
Dmitry Stogov
6fae346fb4 Fixed bug #44414 (Incomplete reporting about abstract methods) 2008-03-12 09:46:57 +00:00
Dmitry Stogov
a8c6814840 Fixed warning 2008-03-12 08:53:10 +00:00
a6628d645a ChangeLog update 2008-03-12 01:31:36 +00:00
Felipe Pena
6c9acc4aa7 Add new test (bug reported in internals list by Robin) 2008-03-11 16:55:33 +00:00
Felipe Pena
7720de7339 Add new test (bug reported in internals list by Robin) 2008-03-11 16:48:40 +00:00
Felipe Pena
9f959c2630 Missing a line 2008-03-11 15:26:46 +00:00
Felipe Pena
62c41d3f1a New tests 2008-03-11 15:21:38 +00:00
Felipe Pena
9fb3c509e1 Fix test 2008-03-11 11:06:10 +00:00
Antony Dovgal
7d020470bb some more tests 2008-03-11 10:40:23 +00:00