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
Zeev Suraski
624117e5e4
*** empty log message ***
1999-12-05 23:32:21 +00:00
Sascha Schumann
70df2d7478
Fix some warnings
1999-12-05 16:23:45 +00:00
Andrei Zmievski
83ce7c13d1
*** empty log message ***
1999-12-04 18:57:44 +00:00
Andrei Zmievski
f962a35df7
Added zend_set_hash_symbol() function.
1999-12-04 16:50:18 +00:00
Thies C. Arntzen
0a276c2ff3
backed out last change after andi decided on a different approach.
1999-12-04 16:08:43 +00:00
Andi Gutmans
4c8259b538
- Call ZEND_SET_SYMBOL_WITH_LENGTH() with refcount 1 from the standard
...
ZEND_SET_SYMBOL()
1999-12-04 14:56:44 +00:00
Zeev Suraski
efc84af940
- Implement get_used_files() and get_imported_files()
1999-12-04 14:26:26 +00:00
Zeev Suraski
9baad80459
- Break the zend->PHP dependency introduced by the .php extension for use(),
...
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
1999-12-04 13:26:57 +00:00