1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Commit Graph

1266 Commits

Author SHA1 Message Date
Andi Gutmans eadaf3eb7a - Remove check for ht == NULL in copy_ctor.
If ht is NULL at this point then we are better off crashing and fixing
  the bug that caused it.
2001-05-12 13:55:49 +00:00
Sascha Schumann 996e9a7212 add missing closing paranthesis 2001-05-11 19:41:11 +00:00
Sascha Schumann 3efa08aaa8 Some extensions don't associate any data with hash entries,
except the key.  Prior to this change, a separate chunk of memory
was allocated in that case to store exactly zero bytes (plus
memory manager overhead).  We treat that case similar to the
pointer case, but don't copy any data at all (because the pointer
is usually the NULL pointer).
2001-05-11 19:32:01 +00:00
Sascha Schumann 2c4e1e84ce Fix a memory leak which occured upon registering an already existing
constant.
2001-05-11 19:18:24 +00:00
Thies C. Arntzen 8ca106bffc added --enable-memory-usage-info 2001-05-11 18:16:41 +00:00
Andi Gutmans d8c11e6f2a - Fix crash bug when opcodes array is erealloc()'ed to a different memory
area before it reaches the loop.
- Some whitespace stuff
2001-05-11 14:29:06 +00:00
Zeev Suraski 429667883e Treat numeric strings as numbers in the increment operator 2001-05-10 12:58:31 +00:00
Andrei Zmievski 555fa77930 Nuke unused variable. 2001-05-09 20:37:16 +00:00
Andrei Zmievski 41aebd058e Fix a few bugs in zend_is_callable() and make it stricter. 2001-05-09 20:07:49 +00:00
Andi Gutmans a514e8fe66 - Fix line numbers when some lines end with \r 2001-05-08 19:42:14 +00:00
Andi Gutmans 3380fa1b8e - Fix crash bug reported by DBG author Dmitri Dmitrienko. 2001-05-08 15:56:26 +00:00
Zeev Suraski 0eadc7e423 Make zend_execute_scripts() reentrant 2001-05-07 11:08:18 +00:00
Zeev Suraski bda9c83a82 Recover from a parse error in include files (before, it could result in a crash under certain circumstances). Fix bug #8663 2001-05-06 19:30:31 +00:00
Zeev Suraski d2cbd019e3 Yikes, that would have been a very bad bug :) 2001-05-06 16:24:36 +00:00
Zeev Suraski f78e65cabf Floating point keys didn't work in array() (fix bug #6662) 2001-05-06 15:39:27 +00:00
Zeev Suraski 686eab894c Hear hear, interactive mode is finally showing some progress:
- Support function calls
- Fix crash bug
2001-05-06 15:00:58 +00:00
Zeev Suraski 1e63f44084 Support interactive mode in thread-safe builds 2001-05-06 14:36:25 +00:00
Zeev Suraski cd033b1271 Fix autoconversion of hexadecimal strings
It's time to close bug #5404 :)
2001-05-06 12:48:17 +00:00
Zeev Suraski dc30520622 Retain single spaces as spaces to condense HTML 2001-05-06 12:28:17 +00:00
Andi Gutmans 5aec595716 - Support \r as newline in the ini scanner 2001-05-02 21:52:30 +00:00
Andi Gutmans 62bec3a7a7 - Handle MAC OS X \r line endings 2001-05-02 21:48:07 +00:00
Andi Gutmans 2d9eac7e0e - Patch by Andrei to prevent crash in error situation when not all
object overloading handles are defined.
2001-05-02 19:51:33 +00:00
Andi Gutmans 62cc5c9c8f - Bump up Zend version 2001-05-01 07:20:36 +00:00
Andi Gutmans 1b94b89cb8 - Add mistakenly removen closing bracket 2001-04-30 13:05:11 +00:00
Andi Gutmans ec1068d695 - Get rid of warning 2001-04-30 13:04:27 +00:00
Andi Gutmans aa1c46b3d8 - Try to solve crash on OS400. There is actually no reason I can see for
why his fix should solve a crash but it doesn't harm.
2001-04-30 05:39:37 +00:00
Andi Gutmans ce7d0ef090 - Fix crash bug in interactive mode 2001-04-30 04:50:34 +00:00
Andi Gutmans b63bcebc6e - Whitespace 2001-04-29 13:06:00 +00:00
Andi Gutmans 277ab5f223 - Improve overwrite detection in debug mode. 2001-04-29 13:00:46 +00:00
Andi Gutmans 27fd3a2e57 - Previous patch for too early freeing of resources seemed to have worked.
- Clean it up a bit.
2001-04-29 09:21:38 +00:00
Andi Gutmans b11202d66b - Try and solve the too early resource destruction problem. 2001-04-29 06:33:50 +00:00
Zeev Suraski 4e71bbed0a include limits.h if available 2001-04-28 20:21:42 +00:00
Zeev Suraski b87bac782f Fix bug 5661 2001-04-28 20:13:25 +00:00
Andi Gutmans 26c06df321 - Move all cases into switch(). 2001-04-28 18:20:46 +00:00
Andi Gutmans 1df2271224 - Just some little whitespace stuff. 2001-04-28 15:59:39 +00:00
Andi Gutmans 429aed9066 - Don't add/remove cached memory blocks from blocks list as this will slow
- down performance a bit.
2001-04-28 15:45:50 +00:00
Zeev Suraski 882751dd7d Resources weren't being properly destroyed by the convert_to_*() functions 2001-04-28 02:06:35 +00:00
Andi Gutmans acd56b0891 - More whitespace fixes while I'm at it. 2001-04-27 18:53:25 +00:00
Andi Gutmans 0971ff99cb - Whitespace changes to be standard like the rest of Zend 2001-04-27 18:51:56 +00:00
Andi Gutmans 9dd0231844 - Add typedef for function pointer of llist dtor 2001-04-21 11:44:00 +00:00
Andi Gutmans 90cf65411c - Fix for crash bug when using invalid arguments in the foreach() loop.
- Reported by Yasuo Ohgaki
2001-04-20 07:09:22 +00:00
Andi Gutmans 02af513c0d - Patch from Jason Greene.
- Make it easier to write PHP function definitions in more than just one .c
  file while accessing the same module globals.
2001-04-19 17:51:23 +00:00
Zeev Suraski 1078e61c74 small beautification 2001-04-17 15:19:14 +00:00
Zeev Suraski 9aac926d3f Fix warning 2001-03-28 16:12:16 +00:00
Zeev Suraski 6dafabd73f Make Windows happy 2001-03-28 15:46:51 +00:00
Zeev Suraski 3492049c86 Get rid of more redundant code 2001-03-28 15:32:52 +00:00
Zeev Suraski 3d3d8881c6 Cleaner way of making sure resources start at 1 and not 0... 2001-03-28 15:22:15 +00:00
Zeev Suraski 8c13f9d56f Remove redundant code 2001-03-28 14:56:28 +00:00
Zeev Suraski 59c32058fc God knows what this code was doing... 2001-03-27 16:46:24 +00:00
Andrei Zmievski 3e2ff3409a Updated get_class_methods() to take class instance as well as class name. 2001-03-26 20:14:21 +00:00