Dmitry Stogov
c24833c48b
Fixed zend_print_zval_r_ex() to use the write callback function
2009-02-18 10:55:23 +00:00
Marcus Boerger
ebd735786c
- Catch exceptions in cli -a
2009-01-02 13:14:17 +00:00
Marcus Boerger
4f30873ef1
- Move stdClass registering where it should be
2008-12-31 12:24:56 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Marcus Boerger
16e60294d8
- Provide a core module that contains all Zend and php/main stuff but stdClass
2008-12-30 20:14:58 +00:00
Marcus Boerger
6e29350fb8
Use a module struct for the built-in functions
2008-12-30 18:17:28 +00:00
Felipe Pena
2985b4f9e3
- Removed some TSRMLS_FETCH()s
2008-08-15 19:45:25 +00:00
Marcus Boerger
75b08f4adf
- Improved exception linking
2008-08-14 10:06:39 +00:00
Felipe Pena
a5f867f3d5
- Constness (Added const qualifier to several function parameters)
2008-08-12 17:15:59 +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
Hannes Magnusson
5919165375
Add E_USER_DEPRECATED (patch by Lars Strojny)
2008-07-21 09:36:21 +00:00
Marcus Boerger
6cdd85c5fa
- Fix function copying (in TSRM mode)
2008-07-13 21:30:18 +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
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
Dmitry Stogov
1d0f893b49
Lazy EG(active_symbol_table) initialization
2008-04-29 08:15:49 +00:00
Dmitry Stogov
0699d994c6
Fixed bug #44226 (Throwing an exception causes crash in multithreaded SAPI)
2008-04-17 10:21:25 +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
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
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
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
Felipe Pena
3a3ebace1c
MFB: User error handlers no longer catch supressed errors (patch by Etienne Kneuss)
2008-03-08 22:03:21 +00:00
Dmitry Stogov
c8b1dbff23
Optimized require_once() and include_once() by eliminationg open() syscall on se
...
cond usage.
2008-03-05 13:35:02 +00:00
Marcus Boerger
6b58678c63
- Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
2008-02-23 17:03:53 +00:00
Derick Rethans
a99fd6a8af
- Send the debug info to stderr instead of stdout.
2008-01-28 20:33:50 +00:00
Derick Rethans
9613ab7a0a
- Show GC statistics if GC benchmarking is enabled.
...
#- Discussed this with Dmitry.
2008-01-24 10:41:52 +00:00
Dmitry Stogov
6847c18150
Added garbage collector
2008-01-22 09:29:29 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Jani Taskinen
52ad681539
- WS + CS + use Z macros where possible
2007-11-02 15:59:58 +00:00
Yiduo (David) Wang
95da0dc570
Added macros for managing zval refcounts and is_ref statuses
2007-10-07 05:15:07 +00:00
Dmitry Stogov
611abb17fc
Namespace constants
2007-08-24 13:50:52 +00:00
Jani Taskinen
5d0176a32b
- Fix compile warnings
2007-07-21 00:34:41 +00:00
Antony Dovgal
4adec955f9
fix folding and ws
2007-07-10 15:06:58 +00:00
Antony Dovgal
0e240e2df1
this case is handled in convert_to_unicode(), no need to duplicate it
2007-04-28 12:05:19 +00:00
Antony Dovgal
5ff229034f
fix build on Tru64
2007-04-26 19:08:24 +00:00
Antony Dovgal
99def5cac2
reset the exception if it's still NULL
2007-03-15 16:42:51 +00:00
Marcus Boerger
20a40063c5
- avoid sprintf
2007-02-24 16:25:58 +00:00
Marcus Boerger
06af520df7
- Add Z_OBJDEBUG[_P[P]] helper macros
2007-01-19 22:19:08 +00:00
Marcus Boerger
13da6bf4d7
- Add debug_info helper to overloadedobjects
2007-01-18 23:23:13 +00:00
Dmitry Stogov
e5ea244b36
Fixed bug #39969 (ini setting short_open_tag has no effect when using --enable-maintainer-zts)
2007-01-12 14:38:07 +00:00
Dmitry Stogov
c849a54b02
Fixed bug #35634 (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss)
2007-01-11 16:47:46 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Antony Dovgal
52d9ed7b34
nuke dead code
2006-12-28 21:01:52 +00:00
Andrei Zmievski
a87ab2a879
Make utf8_conv stop on conversion errors when converting to UTF-16.
2006-12-15 22:30:44 +00:00
Andrei Zmievski
5a15a3c3f4
Clarify stream_encoding.
2006-12-11 21:48:07 +00:00
Antony Dovgal
4789badd3a
use BSD licensed implementation of double-to-string utilities instead of LGPL one
...
this patch also fixes thread safety issues in zend_strtod()
2006-12-06 09:50:28 +00:00
Antony Dovgal
63df6688b5
initialize CG(literal_type) using ZEND_STR_TYPE macro
...
add CG(literal_type) initialization in non-ZTS mode
fixes backticks operator
2006-11-24 11:36:40 +00:00
Dmitry Stogov
57d22421db
Unicode support.
...
Now the real UG(unicode) value is available during MINIT calls.
2006-11-17 10:48:53 +00:00
Dmitry Stogov
15aca2c17d
Fixed bug #39344 (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry)
2006-11-08 11:04:42 +00:00
Marcus Boerger
f7600a7b67
- Fix issue with name mangling
2006-10-31 19:21:03 +00:00
Antony Dovgal
15e479e892
fix invalid write
2006-10-19 10:02:34 +00:00