|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? Jan 2007, PHP 5.2.1RC3
- Improved proc_open(). Now on Windows it can run external commands not through
- CMD.EXE. (Dmitry)
+ CMD.EXE. (Dmitry)
+- Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in
+ range of signed integer). (Dmitry)
- Fixed bug #40036 (empty() does not work correctly with ArrayObject when using
ARRAY_AS_PROPS). (Ilia)
- Fixed bug #40002 (Try/Catch performs poorly). (Dmitry)
/* Heap Manager */
/****************/
-typedef enum _mem_magic {
- MEM_BLOCK_VALID = 0x7312F8DC,
- MEM_BLOCK_FREED = 0x99954317,
- MEM_BLOCK_CACHED = 0xFB8277DC,
- MEM_BLOCK_GUARD = 0x2A8FCC84,
- MEM_BLOCK_LEAK = 0x6C5E8F2D
-} mem_magic;
+#define MEM_BLOCK_VALID 0x7312F8DC
+#define MEM_BLOCK_FREED 0x99954317
+#define MEM_BLOCK_CACHED 0xFB8277DC
+#define MEM_BLOCK_GUARD 0x2A8FCC84
+#define MEM_BLOCK_LEAK 0x6C5E8F2D
/* mm block type */
typedef struct _zend_mm_block_info {
typedef struct _zend_mm_block {
zend_mm_block_info info;
#if ZEND_DEBUG
- mem_magic magic;
+ unsigned int magic;
# ifdef ZTS
THREAD_T thread_id;
# endif
typedef struct _zend_mm_free_block {
zend_mm_block_info info;
#if ZEND_DEBUG
- mem_magic magic;
+ unsigned int magic;
# ifdef ZTS
THREAD_T thread_id;
# endif