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
Andi Gutmans
ff737b6090
- Remove unused variable.
1999-12-22 14:38:00 +00:00
Zeev Suraski
f0888ccaef
Fix the highlighting problem. STR_REALLOC() should be used instead of plain erealloc()
...
whenever you're dealing with strings that might be coming back from the engine - there seem
to be a few other places like this in PHP.
1999-12-21 20:30:04 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Zeev Suraski
8a4170e6bd
- Fix Sascha's leak. Good report!
1999-12-21 15:55:46 +00:00
Zeev Suraski
3a47431122
No need to block for interruptions so early
1999-12-21 15:48:56 +00:00
Sascha Schumann
efeadf086b
Explicitly check for C++ preprocessor, otherwise autoconf forces it onto
...
us at the wrong place (subsequent autoconf checks failed).
1999-12-21 00:02:20 +00:00
Zeev Suraski
a2cc070fc2
- Fix @expr
1999-12-20 20:01:19 +00:00
Zeev Suraski
be1bb28355
- Fix the crash Thies was experiencing (returning a function call could cause a crash)
...
- Fix the leak Thies was experiencing (@fcall() leaked)
1999-12-20 16:05:36 +00:00
Zeev Suraski
8224207b26
Some updates
1999-12-19 21:29:24 +00:00
Zeev Suraski
2d87ae9ab6
Make these work again
1999-12-19 21:17:32 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00
Zeev Suraski
223c674c2a
- Made things work again (Thies, everybody - please check the latest CVS and see if you're
...
still getting any problems)
- Changed the interface of call_user_function_ex() to support returning of references
1999-12-19 18:54:40 +00:00
Andi Gutmans
213d0e2fb2
- More fixes related to the return references patch
...
- eval_string() and call_user_function_ex() still don't work.
- The libzend tree is untested and might not be stabl yet.
1999-12-19 06:39:17 +00:00
Sascha Schumann
b3c440c06a
Add zend_sprintf.c
1999-12-19 01:50:10 +00:00
Sascha Schumann
2185831922
configure sets ZEND_BROKEN_SPRINTF
1999-12-19 01:47:43 +00:00
Sascha Schumann
bf1effa4bc
Variables are not interpolated unless we use _UNQUOTED
1999-12-19 00:10:08 +00:00
Zeev Suraski
a1ad2872ee
- The tree compiles again
1999-12-18 22:40:35 +00:00
Sascha Schumann
f1fcb022be
Let autoconf check for the proper inline keyword
1999-12-18 22:37:22 +00:00
Sascha Schumann
11c9545416
automake created illegal target names due to the ZEND_SCANNER definition.
...
We now substitute @ZEND_SCANNER@ directly
1999-12-18 22:30:23 +00:00
Zeev Suraski
cd7d5546ae
- Introduce ZEND_NUM_ARGS(), to replace ARG_COUNT(ht)
...
- Rename getParameters() and friends for consistency and namespace cleanliness
1999-12-18 22:23:23 +00:00
Zeev Suraski
71dddd7db7
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:01:47 +00:00
Sascha Schumann
fb61a2c944
Define inline to inline explicitly
1999-12-17 17:50:14 +00:00
Sascha Schumann
91549cfa4f
Move config code into separate file
1999-12-17 13:36:15 +00:00
Andi Gutmans
7fe808ea02
- By mistake commited this to the branch. It fixes a bug we introduced with
...
the return reference patch.
1999-12-17 08:24:10 +00:00
Andrei Zmievski
8a879b8fc5
Doh! I'm an idiot.
1999-12-15 22:37:05 +00:00
Andrei Zmievski
c9c6446aa1
- s/inheritence/inheritance/g
...
- Added is_subclass_of() function
1999-12-15 21:26:43 +00:00
Zeev Suraski
ced9cee10c
- Implement return by reference:
...
- In function declaration instead of the return statement
- In the assignment phase
- Implement ability to turn off support for call-time pass by reference
1999-12-15 20:15:32 +00:00
Andrei Zmievski
22344ea595
val->len
1999-12-15 16:54:46 +00:00
Andrei Zmievski
46b14f85c3
Faster, must go faster.
1999-12-15 15:59:04 +00:00
Andrei Zmievski
3fdf0dbedc
- Added class_exists()
...
- Moved function_exists() here from from the basic_functions.c
- Modified method_exists() to convert method name to lowercase
when checking
1999-12-14 21:15:24 +00:00
Andi Gutmans
e36be38140
- opened_path should not be freed here as the zend_file_dtor() takes care
...
of it. This doesn't fix the bug report for the crash of highlight_file()
though.
1999-12-07 16:00:39 +00:00
Zeev Suraski
3d160b5b7c
Support ZTS definition in zend_config.h
1999-12-07 06:19:42 +00:00
Zeev Suraski
ef596bbafb
Move the #include of zend-parser.h out of zend_compile.h
1999-12-06 20:42:44 +00:00
Zeev Suraski
291066c459
More localization
1999-12-06 19:03:57 +00:00
Zeev Suraski
00c3ac908b
Localize a couple of macros
1999-12-06 15:31:06 +00:00