Marcus Boerger
95a3cccf5f
- Fix flag handling in message generation
2008-02-02 13:56:59 +00:00
Rasmus Lerdorf
539eaceddc
What's the [0] for here? Looks wrong and causes stuff to segv
2008-02-02 01:12:01 +00:00
Rasmus Lerdorf
f48bd05482
Fix more tests (some of these were not broken by the recent changes)
2008-02-02 00:55:35 +00:00
Rasmus Lerdorf
45db15ad4e
Small tweak. Need to make array and string callback syntax behave the
...
same way. Also change "cannot" to "should not" since we obviously
"can" make the call.
2008-02-01 23:09:10 +00:00
Marcus Boerger
e8a8acdf39
[DOC]
...
- Fix callable/static mess, the following will now all result in a E_STRICT
. binding a dynamic function as a static callback
. static call of a dynamic function
. is_callable() on a static binding to a dynamic function
# [marcus@frodo PHP_5_3]$ php -a -d error_reporting=8191
# make: `sapi/cli/php' is up to date.
# Interactive shell
#
# php > class t{ function f() { echo "Funny\n"; } }
# php > $c = array("t","f");
# php > call_user_func($c);
#
# Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method t::f() cannot be called statically in php shell code on line 1
# Funny
# php > var_dump(is_callable($c));
#
# Strict Standards: Non-static method t::f() cannot be called statically in php shell code on line 1
# bool(true)
# php > t::f();
#
# Strict Standards: Non-static method t::f() should not be called statically in php shell code on line 1
# Funny
# php >
2008-02-01 21:27:55 +00:00
Dmitry Stogov
240fa244c3
Improved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:41:12 +00:00
Dmitry Stogov
9770b3cb00
Fixed bug #43323 (Wrong count abstract methods). (Felipe, Dmitry)
2008-01-29 11:12:57 +00:00
Dmitry Stogov
e0ca3b2424
Fixed types
2008-01-29 11:12:07 +00:00
Dmitry Stogov
58433c9b11
Fixed bug #43918 (Segmentation fault in garbage collector)
2008-01-29 09:59:42 +00:00
Antony Dovgal
4252942abd
MFH: fix typo and bug #43646
2008-01-29 00:07:26 +00:00
Stanislav Malyshev
2cd551ffec
fix type
2008-01-28 23:55:53 +00:00
Derick Rethans
13d75ce6e6
- MFH: Send the debug info to stderr instead of stdout.
2008-01-28 20:34:02 +00:00
Dmitry Stogov
d90ebc65a6
Fixed comilation warnings
2008-01-24 18:07:45 +00:00
Dmitry Stogov
2fd21da895
Increased Zend MM cache size
2008-01-24 12:21:32 +00:00
Dmitry Stogov
5a00207c6d
Fixed possible GC failure because of EG(object_store).object_buckets reallocation
2008-01-24 11:48:54 +00:00
Dmitry Stogov
03c018d34e
Fixed GC bug
2008-01-24 10:49:26 +00:00
Derick Rethans
3bd291e118
- MFH: Show GC statistics if GC benchmarking is enabled.
...
#- Discussed this with Dmitry.
2008-01-24 10:42:12 +00:00
Dmitry Stogov
f8297f6e37
Fixed bug #43426 (crash on nested call_user_func() calls)
2008-01-24 09:47:00 +00:00
Dmitry Stogov
0b6825102d
Changed EG(argument_stack) implementation.
2008-01-24 09:41:39 +00:00
Dmitry Stogov
07000cc2ba
Fixed error message
2008-01-24 08:51:38 +00:00
Stanislav Malyshev
529c17665f
fix build
2008-01-23 19:55:37 +00:00
Dmitry Stogov
0095544c4d
Additional executor specialization
2008-01-23 17:55:55 +00:00
Dmitry Stogov
71592cec06
Added garbage collector
2008-01-22 09:27:48 +00:00
Dmitry Stogov
fa47e900e2
Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end
2008-01-21 19:39:55 +00:00
Dmitry Stogov
7390459e26
Yet another comparison optimisation for usual cases
2008-01-21 19:10:25 +00:00
Dmitry Stogov
48379d53e6
Eliminate unnecessary checks for INC/DEC IS_CV
2008-01-21 14:22:59 +00:00
Dmitry Stogov
e6588b6620
Fixed bug #43851 (Memory corrution on reuse of assigned value)
2008-01-15 11:52:45 +00:00
Marcus Boerger
ba8acfdfdf
- Fix the fix
2008-01-15 11:47:05 +00:00
Antony Dovgal
06229e417f
oops..
...
I didn't mean to commit this
2008-01-15 09:48:55 +00:00
Antony Dovgal
b101ee1a07
MFH: rename macros
...
patch by colder
2008-01-15 09:36:05 +00:00
Marcus Boerger
22221def71
- Fix memleak (found by colder)
2008-01-14 18:13:12 +00:00
Dmitry Stogov
059bc1d593
Simplified assignment to string offset
2008-01-11 15:10:24 +00:00
Dmitry Stogov
6be997dca9
Fixed unspecialized executor
2008-01-11 10:08:49 +00:00
Dmitry Stogov
ab5bddd976
Fixed bug #39346 (Unsetting a static variable inside a destructor causes segfault later on)
2008-01-11 08:42:06 +00:00
Dmitry Stogov
ed8e2fa031
Added missing warning message
2008-01-10 09:38:23 +00:00
Dmitry Stogov
b5c4244069
Fixed bug #43703 (Signature compatibility check broken)
2008-01-09 07:57:42 +00:00
Sebastian Bergmann
a5cf49b2d3
Leftover: Bump copyright year.
2007-12-31 07:24:44 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
72de143266
Fixed possible memory corruption
2007-12-28 15:32:09 +00:00
Dmitry Stogov
5a3eb53723
Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory)
2007-12-28 13:22:00 +00:00
Dmitry Stogov
2fa0078a71
Initialize operand type
2007-12-28 09:46:52 +00:00
Dmitry Stogov
ba8dcae76d
Use proper result type
2007-12-27 13:52:05 +00:00
Dmitry Stogov
43f6392e90
Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)
2007-12-25 10:58:30 +00:00
Dmitry Stogov
ed5a424b4f
Additional fix for bug #42868
2007-12-24 18:09:50 +00:00
Johannes Schlüter
1b6100f4c1
- MFH: Fix #43450 (Memory leak on some functions with implicit object
...
__toString() call) (Davic C.)
2007-12-21 20:56:33 +00:00
Ilia Alshanetsky
11a93f62ac
Fixed bug #43644 (is_callable(':') crashes)
2007-12-21 01:21:52 +00:00
Dmitry Stogov
1e5e110844
x86_64 assembler optimization (Brain Shire)
2007-12-20 12:58:46 +00:00
Robert Nicholson
d0bfef7f94
New test - Indexing - various special cases
2007-12-20 11:42:00 +00:00
Dmitry Stogov
f7f6de4dc2
Fixed test
2007-12-17 10:05:13 +00:00
Dmitry Stogov
2b981769a3
Fixed bug #42868 (Floats cast to integer produce unpredicatable results). (Zoe Slattery)
2007-12-17 10:02:13 +00:00