David Soria Parra
b4ea9bf939
- Define HAVE_DTRACE if dtrace is available and ifdef all calls to dtrace probes
2009-07-20 10:12:34 +00:00
David Soria Parra
9491c31906
- Fix overflow and use our internal vssprintf implementation
2009-07-20 10:12:12 +00:00
David Soria Parra
28f7ed9365
- Add DTrace support.
2009-07-19 14:00:25 +00:00
Rasmus Lerdorf
4fc0630fa5
Tweak to make this compile with gcc2
2009-06-16 16:11:05 +00:00
Andrei Zmievski
afa4e41c2f
Implement JIT request decoding support for $_GET and $_POST.
2009-05-23 18:03:27 +00:00
Jani Taskinen
7f6657c243
- Fixed bug #48247 (PHP crashes on errors during startup)
...
#
# This was sum of many little things:
# 1. Wrong assumption made in order_by_dep.awk on the ordering
# (that script was done prior to adding runtime deps..?)
# 2. request shutdown calls weren't done in reverse order like all other
# shutdown funcs are called.
# 3. config0.m4 rename is necessary for keeping things simple.
#
2009-05-13 00:45:57 +00:00
Felipe Pena
8ecf8ede1f
- Removed:
...
- UG(unicode) checks
- pcre_cache_entry.unicode_mode
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
- convert_to_text_ex -> convert_to_unicode_ex
(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Dmitry Stogov
f1a231d2e6
Fixed bug #47714 (autoloading classes inside exception_handler leads to crashes)
2009-03-26 10:56:25 +00:00
Dmitry Stogov
83a6de49b1
Fixed floating point mathematic speed degradation (Christian)
2009-03-18 10:49:36 +00:00
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