Zeev Suraski
8e99c415ab
Fix
2000-01-03 17:26:24 +00:00
Andi Gutmans
da8ad4f20f
- Fix compare_function() for IS_UNSET
2000-01-03 05:28:34 +00:00
Zeev Suraski
990ac99c97
Fix
2000-01-02 16:47:00 +00:00
Thies C. Arntzen
bc6811ec90
renamed RET???_UNSET -> RET???_NULL
2000-01-02 11:44:33 +00:00
Sascha Schumann
800ffda01c
Some cleanup
2000-01-01 20:49:34 +00:00
Andi Gutmans
4a4fe0974f
- IS_NULL should be 0 when converted to a long although I don't think it
...
really should be documented.
2000-01-01 18:47:03 +00:00
Zeev Suraski
a6d4b30d19
Fix buglet
2000-01-01 15:31:59 +00:00
Zeev Suraski
4765396846
.dsp updates
1999-12-31 16:20:04 +00:00
Zeev Suraski
61b9e78e1b
- Add Release_inline builds
1999-12-31 15:41:18 +00:00
Zeev Suraski
f2d703e916
- Nuke undefined_variable_string
...
- Introduce IS_UNSET
1999-12-31 13:56:59 +00:00
Andi Gutmans
400ee6caa0
- Fix bug #3073 . continue in do..while() loops should work now
1999-12-31 12:56:48 +00:00
Zeev Suraski
5864b57eec
This should enable people to use ALLOC_ZVAL() in code outside the php4.dll
1999-12-30 05:25:44 +00:00
Sascha Schumann
d93da3c1c3
Solaris' sed does not like this expression. Since -O0 is the default,
...
we can also omit it.
1999-12-30 01:13:42 +00:00
Zeev Suraski
80e20b5fea
- Change var_reset() to set bool(0) instead of string("")
...
Authors should go over their code and change it to use var_reset() instead of manually
setting it to string(""), in case they're interested in the false value.
1999-12-29 17:29:26 +00:00
Zeev Suraski
8f88443aba
time_t is an int under Linux... this should always work.
1999-12-29 17:22:47 +00:00
Sascha Schumann
32ef59b290
Fix warnings
1999-12-28 20:33:02 +00:00
Thies C. Arntzen
546af70783
new constant: SQL_NULL
...
new macros: RETURN_SQLNULL,RETVAL_SQLNULL,IS_SQLNULL
1999-12-28 12:05:48 +00:00
Zeev Suraski
39d9a93acc
Fix
1999-12-27 22:03:25 +00:00
Andi Gutmans
c34a062f5c
- Get rid of warning
1999-12-27 19:17:40 +00:00
Zeev Suraski
b7a5b3c309
- Generalize the fast cache mechanism
...
- Add the HashTable struct to the fast cache mechanism
1999-12-27 19:07:33 +00:00
Andi Gutmans
27daca31f3
- Make zend_internal_function allocate a full zend_function structure so
...
that we don't get memory overruns and Thies doesn't get angry :)
1999-12-27 17:29:35 +00:00
Zeev Suraski
1ad06e428d
*** empty log message ***
1999-12-27 17:24:33 +00:00
Zeev Suraski
ebd4445ba2
Add cache statistics support
1999-12-27 16:42:59 +00:00
Thies C. Arntzen
9cf1a98d0e
fix UMR in ZTS mode
1999-12-27 11:22:57 +00:00
Zeev Suraski
3c50b7ee45
- Enable the new zval cache on debug too. No real reason not to, and it keeps
...
the code cleaner.
- ZTS compile fixes
1999-12-26 23:20:18 +00:00
Zeev Suraski
b90bc0b15c
Fix buglet
1999-12-26 22:50:08 +00:00
Zeev Suraski
90e1b0734e
Add missing file
1999-12-26 22:41:20 +00:00
Zeev Suraski
aec33aa753
Introduce a zval-specific cache - 5-15% speed improvement
1999-12-26 21:56:59 +00:00
Sascha Schumann
14f915ece6
Makefile.am: Add dummy target for dependencies
...
acinclude.m4: Cache result of broken sprintf check
1999-12-26 21:45:53 +00:00
Zeev Suraski
235386b245
Change ALLOC_ZVAL() semantics
1999-12-26 21:21:33 +00:00
Zeev Suraski
c517633b49
namespace protection
1999-12-26 20:45:42 +00:00
Zeev Suraski
7f27821c5f
inline functions cannot accept varargs
1999-12-25 23:52:00 +00:00
Andi Gutmans
88b7ed053f
- Prepare Zend for the new $a{2} string offset syntax.
1999-12-25 16:46:32 +00:00
Zeev Suraski
e25e3f092a
Use __forceinline under Win32 (inlining under Win32 gives roughly 30% performance
...
increase)
1999-12-24 21:27:55 +00:00
Zeev Suraski
57fbbf2036
Shut gcc up
1999-12-24 20:19:37 +00:00
Zeev Suraski
e28aff2f7a
Optimize
1999-12-24 16:03:44 +00:00
Andi Gutmans
62b2087a84
- Create two new macro's. ALLOC_ZVAL() and FREE_ZVAL(z) and make Zend use
...
them.
1999-12-24 15:22:11 +00:00
Zeev Suraski
946df29029
- Use function_add_ref() here too
1999-12-24 14:49:57 +00:00
Zeev Suraski
b996436b4c
Fix a class inheritence leak, when using static varibles in a parent class member function
1999-12-23 19:23:36 +00:00
Zeev Suraski
3b86ea7dc0
This one slipped away
1999-12-23 18:07:52 +00:00
Sascha Schumann
44ffdc182f
Rename option to match description string
1999-12-23 17:48:56 +00:00
Zeev Suraski
67b4b3a634
- require() of a dynamic expression now has the standard require() semantics
...
- Fixed a memory leak in require() of a dynamic expression
1999-12-23 15:03:25 +00:00
Sascha Schumann
9156d86009
Compile zend_execute.c with special CFLAGS. For GCC, INLINE_CFLAGS
...
contains -O0 to disable optimizations. This can be disabled by using
the appropiate parameter.
1999-12-23 13:29:26 +00:00
Sascha Schumann
473632bf0d
Kill compiler warning
1999-12-22 22:43:55 +00:00
Sascha Schumann
304f1ebcb2
Don't set DEBUG_CFLAGS to -g, if -g is already in CFLAGS
1999-12-22 21:04:34 +00:00
Zeev Suraski
5ba5f00f65
export
1999-12-22 20:24:52 +00:00
Zeev Suraski
11967c94fc
Those void's don't belong in there
1999-12-22 19:21:15 +00:00
Zeev Suraski
1fe57c9505
- Fix function_exists()
1999-12-22 18:49:23 +00:00
Zeev Suraski
5939b3d702
- Fix a very old legacy memory leak in break(n) statements
1999-12-22 18:10:38 +00:00
Zeev Suraski
5c56fd4793
Fix for the array() initialization bug Stas found
1999-12-22 15:34:38 +00:00