1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 08:28:26 +02:00
Commit Graph

5367 Commits

Author SHA1 Message Date
Felipe Pena ddc8a63168 Fixed bug #39018 (Error control operator '@' fails to suppress "Uninitialized string offset") 2008-03-08 11:35:12 +00:00
Antony Dovgal cbdc4b9af8 fix segfault when trying to clone uncloneable object because of zend.ze1_compatibility_mode which we should have got rid of years ago 2008-03-06 17:28:26 +00:00
Dmitry Stogov ab232458c7 Optimized require_once() and include_once() by eliminationg open() syscall on second usage. 2008-03-05 13:34:12 +00:00
Dmitry Stogov 430e54d457 Fixed shared memory corruption of opcode caches 2008-03-04 11:43:51 +00:00
Dmitry Stogov 8365e71cb9 Fixed wrong result of cascading assignment to string offset
Fixed memory corruption on cascading assignment of IS_TMP_VAR into string offset
Fixed opcode caches shared memory corruption on cascading assignment of IS_CONST
 into string offset
2008-03-04 10:06:52 +00:00
Robin Fernandes 0455ccb805 Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 15:07:04 +00:00
Johannes Schlüter 68de75f0b5 MFH: Allow implementation of abstract methods with optional parameters (Christian
Schneider)
2008-03-01 13:53:32 +00:00
Marcus Boerger d3e5026564 - MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
2008-02-23 17:06:22 +00:00
Dmitry Stogov 18cc21c662 Fixed bug #43483 (get_class_methods() does not list all visible methods) 2008-02-21 15:14:27 +00:00
Dmitry Stogov 3e7e9d4af6 Fixed bug #44141 (private parent constructor callable through static function) 2008-02-21 13:55:45 +00:00
Dmitry Stogov bb1ee6d14a Prevented recursive collector invocation 2008-02-21 10:42:14 +00:00
Dmitry Stogov 8c32f99c25 Fixed bug #44184 (Double free of loop-variable on exception) 2008-02-20 12:05:57 +00:00
Dmitry Stogov edf53e2073 Added checks for destoied objects 2008-02-20 09:45:47 +00:00
Dmitry Stogov caee59b856 everted (this part was committed by mistake) 2008-02-19 17:05:41 +00:00
Dmitry Stogov cb714158af Fixed memory leaks 2008-02-19 16:39:18 +00:00
Dmitry Stogov 7dd164dcec Fixed GC bug 2008-02-19 15:55:57 +00:00
Dmitry Stogov a4b872a6d8 iFixed memory leak 2008-02-19 12:00:53 +00:00
Sebastian Bergmann 1b03ecf1c7 MFH: Fugbix typo. 2008-02-19 06:52:43 +00:00
Dmitry Stogov 4cf7073a84 Removed redundant refcount manipulations 2008-02-18 12:11:47 +00:00
Dmitry Stogov e563a6d979 Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=) 2008-02-14 14:42:00 +00:00
Dmitry Stogov fb50ef1aab Reverted memrchr() patch, because it is broken on linux 64-bit 2008-02-14 10:25:22 +00:00
Dmitry Stogov 9fdaddc56d Use memrchr() instead of zend_memrchr() if available. (Nuno) 2008-02-13 16:22:01 +00:00
Dmitry Stogov ddcf7a2f49 Added NEWDOC 2008-02-12 09:27:45 +00:00
Dmitry Stogov 51278b6d22 Fixed ext/tokenizer test failures because of token renumbering 2008-02-12 08:49:08 +00:00
Stanislav Malyshev bbc813d360 fix folding 2008-02-12 01:17:48 +00:00
Stanislav Malyshev 27d4a3f6c3 add tests for __DIR__ 2008-02-12 00:26:51 +00:00
Stanislav Malyshev fd597dce1b [DOC] Add compile-time __DIR__ constant which implements dirname(__FILE__) 2008-02-12 00:21:15 +00:00
Hannes Magnusson 86c9b5e46c Fix segfaults when calling "ctors statically" 2008-02-11 15:46:10 +00:00
Marcus Boerger da2a1799ca - MFH Windows build fix 2008-02-09 21:22:31 +00:00
Marcus Boerger c7f71a7dd0 - MFH Simplify 2008-02-07 18:42:01 +00:00
Marcus Boerger b7b41a6612 - MFH Fix missing check and tests 2008-02-06 20:40:19 +00:00
Marcus Boerger 0976a2646a - MFH Fix cross class tree reference issues with callbacks (colder,helly) 2008-02-05 19:08:24 +00:00
Hannes Magnusson ed1bafe5d7 Fix test 2008-02-05 08:41:04 +00:00
Jani Taskinen 8a70a554d6 MFH: - Fixed bugs #43915, #43923 and #44019, a tiny performance issue fixed too 2008-02-04 20:45:20 +00:00
Marcus Boerger 1ecdaa3885 - Fix warnings 2008-02-03 14:32:48 +00:00
Antony Dovgal 4904889568 MFH: fix leak appearing when calling non-static protected or private methods as static 2008-02-02 22:29:41 +00:00
Marcus Boerger da5b979f88 - MFH Add comment that explains why we need E_ERROR in those cases 2008-02-02 15:48:04 +00:00
Marcus Boerger ac8e76c714 - Fix remaining issue (should be last one) 2008-02-02 15:18:30 +00:00
Marcus Boerger 7769fda15c - Drop useless TODO, this would need to be fixed in a generic way 2008-02-02 14:19:03 +00:00
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