1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00
Commit Graph

4970 Commits

Author SHA1 Message Date
Dmitry Stogov 3f92ab719f typo 2006-11-15 17:53:27 +00:00
Antony Dovgal 9d6f7755b8 fix leak appearing when converting object to NULL
add test
2006-11-15 17:29:08 +00:00
Dmitry Stogov 842b1b5a47 Fixed bug #39445 (Calling debug_backtrace() in the __toString() function produces a crash) 2006-11-15 16:05:11 +00:00
Dmitry Stogov f00ee72c35 Fixed incorrect heap corruptiuon detection code 2006-11-13 10:28:46 +00:00
Derick Rethans 140edac7f9 - Forward port the binary cast, which will do the same as the string cast in
PHP 5.2.
2006-11-10 12:02:51 +00:00
Dmitry Stogov 011e0cde62 Start timiout thread on Windows only if necessary 2006-11-10 11:49:35 +00:00
Dmitry Stogov f1b6587ebb Zend Memory Manager Improvements
. use HeapAlloc() instead of VirtualAlloc()
. use "win32" storage manager (instead of "malloc") on Windows by default
2006-11-10 10:44:40 +00:00
Dmitry Stogov cc895444b1 HashTable copying optimization (Matt Wilmas) 2006-11-08 16:02:03 +00:00
Dmitry Stogov 41ae8de136 Fixed bug #39297 (Memory corryption because of indirect modification of overloaded array). 2006-11-08 13:38:28 +00:00
Dmitry Stogov a84a2eae6a 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:27 +00:00
Ilia Alshanetsky cb96148912 Fixed bug #33282 (Re-assignment by reference does not clear the is_ref flag)
# Original patch by Matt Wilmas
2006-11-07 20:23:30 +00:00
Marcus Boerger da8b00a5e4 - MFH: Fixed bug #39320 2006-11-03 19:02:16 +00:00
Marcus Boerger 978dd0fdd9 - MFH: Fix issue with some mangeled properties 2006-11-03 19:01:40 +00:00
Dmitry Stogov 7ff822ee49 Fixed bug #39304 (Segmentation fault with list unpacking of string offset) 2006-10-30 11:05:00 +00:00
Hannes Magnusson f8e4467725 Fix test 2006-10-20 14:42:37 +00:00
Ilia Alshanetsky 3b1e299264 Make use of abstract methods be E_STRICT rather then E_ERROR 2006-10-20 02:44:26 +00:00
Johannes Schlüter 2193a77eed - Here, too 2006-10-18 17:17:18 +00:00
Johannes Schlüter 6841110122 - MFH: added missing return... 2006-10-18 17:04:49 +00:00
Johannes Schlüter dcf249004c - MFH: Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:35:15 +00:00
Dmitry Stogov 31acd1c26e Fixed bug #39140 (Uncaught exception may cause crash) 2006-10-16 11:13:08 +00:00
Dmitry Stogov e6fd66facb Make zend_memory_peak_usage() to be avalable even without --enable-memory-limit 2006-10-12 06:46:51 +00:00
Antony Dovgal 630024d895 MFH 2006-10-11 16:11:56 +00:00
Sara Golemon eed736d010 MFH(r-1.376): Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts()
Reapplying this since it looks like we'll be doing a PHP 5.2 RC6 after all
2006-10-06 16:50:21 +00:00
Sara Golemon fd9b7f672b Revert until 5.2's release since we're in RC stage 2006-10-06 00:02:56 +00:00
Sara Golemon 67fac322af MFH(r-1.376): Preserve EG(return_value_ptr_ptr) when calling zend_execute_scripts() 2006-10-05 23:32:52 +00:00
Dmitry Stogov ff3dfa94dd Allow future extensibility without binary compatibility break 2006-10-05 08:08:57 +00:00
Antony Dovgal dc22b7d4a5 add test 2006-10-04 13:35:51 +00:00
Antony Dovgal 8e1c9371bb MFH: throw a warning when doing modulus by 0 (fr #39027) 2006-10-03 17:54:51 +00:00
Dmitry Stogov c1ad451c3e Speedup array/HashTable copying. (Matt W) 2006-10-03 11:10:33 +00:00
Dmitry Stogov 9875fe44e2 Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; segfaults) 2006-10-03 09:05:14 +00:00
Dmitry Stogov 9dcdfd993f Fixed memory leak (Nuno) 2006-10-03 07:30:46 +00:00
Antony Dovgal 2b1b2db8ec MFH: fix #39003 (__autoload() is called for type hinting) 2006-10-02 11:09:52 +00:00
Ilia Alshanetsky 4fd88b23cc Added safety checks against integer overflow. 2006-09-30 17:12:06 +00:00
Antony Dovgal 40924a6f6c new tests 2006-09-28 12:03:49 +00:00
Antony Dovgal c119d63a9f add new tests 2006-09-28 11:44:05 +00:00
Dmitry Stogov ecd52167d7 Fixed wrong return value 2006-09-28 07:16:31 +00:00
Antony Dovgal 47600225e1 MFH: use if() instead of ?: 2006-09-27 15:40:19 +00:00
Dmitry Stogov c3272ab020 Fixed bug #38808 ("maybe ref" issue for current() and others) 2006-09-26 10:30:51 +00:00
Dmitry Stogov a04b6ed6bc Fixed bug #38942 (Double old-style-ctor inheritance) 2006-09-26 07:55:21 +00:00
Dmitry Stogov cd6537ed6d Fixed bugs #34065 and #38623 (throw in foreach/switch causes memory leaks) 2006-09-19 21:36:54 +00:00
Dmitry Stogov 7d14dad02e MFH: Fixed mess with CGI/CLI -d command line option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests). 2006-09-19 20:33:12 +00:00
Dmitry Stogov 8982cc0472 Small optimization of ZEND_INIT_ARRAY/ZEND_ADD_ARRAY_ELEMENT. (Nuno, Dmitry) 2006-09-18 14:23:52 +00:00
Dmitry Stogov a16cb0b4d5 Fixed non-specialized executor 2006-09-18 12:03:10 +00:00
Dmitry Stogov 806bc4e164 Reinamed variables to avoid name conflicts 2006-09-14 10:32:45 +00:00
Dmitry Stogov 2604f21fa6 Removed unused macro USE_ZEND_ALLOC 2006-09-14 09:58:27 +00:00
Dmitry Stogov 27c327b97e Added is_zend_mm() to allow runtime check for zend memory manager 2006-09-14 08:00:44 +00:00
Antony Dovgal 0680cc4360 fix tests on MacOS 2006-09-13 13:59:16 +00:00
Dmitry Stogov 7e17f8591a Fixed bug #38772 (inconsistent overriding of methods in different visibility contexts) 2006-09-12 11:01:16 +00:00
Antony Dovgal d6ee9d4810 MFH: fix #38779 (engine crashes when require()'ing file with syntax error through userspace stream wrapper) 2006-09-11 14:30:08 +00:00
Antony Dovgal 0a1f5d12a1 fix tests 2006-09-11 14:17:51 +00:00