Commit Graph

6435 Commits

Author SHA1 Message Date
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