Commit Graph

1207 Commits

Author SHA1 Message Date
Andrei Zmievski
13148b5491 Improve zend_is_callable() to the point where it's actually useful.
Now it just needs to be invoked everywhere in PHP where a callback is
expected.
2001-03-12 03:08:28 +00:00
Andi Gutmans
dde50d6afd - Fix for Solaris. 2001-03-11 19:35:26 +00:00
Andi Gutmans
492a619be3 - Whitespace 2001-03-10 09:21:48 +00:00
Zeev Suraski
31775e9706 Add missing #define's 2001-03-07 17:05:03 +00:00
Zeev Suraski
36ded42156 Make parent:: work in runtime bindings as well 2001-03-07 10:07:25 +00:00
Sascha Schumann
aed7d01138 We actually only need AC_PROG_LEX here. 2001-03-06 16:59:28 +00:00
Zeev Suraski
87ee97e303 Fix bug #8899 (thanks Jani) 2001-03-04 22:27:56 +00:00
Sascha Schumann
5c1724177d -Os is a valid GCC optimization level. 2001-03-03 18:07:52 +00:00
Zeev Suraski
bdacbc4c94 Whitespace fix 2001-03-02 23:56:03 +00:00
Andrei Zmievski
145a319f43 Do case-insensitive class name matching when parsing
array('Class', 'method') structure.
You guys can clean it up, if there is a better way.
2001-02-28 03:53:00 +00:00
Andi Gutmans
d3625c0a90 - Nuke zval_del_ref() 2001-02-27 20:26:16 +00:00
Andrei Zmievski
cb00ed2bd3 Don't overwrite existing handlers with parent ones. 2001-02-27 05:18:34 +00:00
Andi Gutmans
7080fa5b53 - Rename modules.h to zend_modules.h 2001-02-26 18:18:34 +00:00
Andi Gutmans
13b88fc18f - One more copyright year update 2001-02-26 05:44:29 +00:00
Andi Gutmans
d2c9e8074c - Update copyright year 2001-02-26 05:43:27 +00:00
Andi Gutmans
7513a2f972 - Fix dll linkage warnings 2001-02-25 05:21:31 +00:00
Andi Gutmans
0bed994531 - Add exports from Daniel Beulshausen 2001-02-24 21:16:58 +00:00
Stanislav Malyshev
e4f4983cdc allow more extensions with resources 2001-02-14 13:17:49 +00:00
Zeev Suraski
f3063553c3 Move version registration to a more correct place 2001-02-13 13:53:42 +00:00
Andi Gutmans
4afacc0a7c - Remove two unused functions 2001-02-12 15:49:24 +00:00
Andi Gutmans
488d808748 - Fix whitespace. 2001-02-12 15:18:05 +00:00
Zeev Suraski
d854b26e43 Fix a bug that could cause corruption in case of an error during
get_zval_ptr()
2001-02-12 15:16:11 +00:00
Andi Gutmans
e0b2a5f583 - Remove duplicate code and do a tiny optimization in DO_FCALL 2001-02-09 12:47:57 +00:00
Zeev Suraski
c3531b3750 Fix string offset data corruption 2001-02-05 22:27:47 +00:00
Andrei Zmievski
98d8ba8cc4 Allow passing class name as well as an object instance to call methods. 2001-02-04 00:06:08 +00:00
Andrei Zmievski
088a4b7151 Set the correct function state during execution. This is mainly to have
get_active_function_name() to return proper value.
2001-02-03 07:21:35 +00:00
Andrei Zmievski
50f28f4372 Inherit overloaded handlers. 2001-02-03 04:52:29 +00:00
Andrei Zmievski
8fe036596f Added zend_is_callable() function that checks whether passed zval
represents a valid and exiting callable construct.
2001-02-01 05:01:26 +00:00
Andi Gutmans
0611acb910 - Change unset() functions to null(). unset() is legacy 2001-01-31 21:53:30 +00:00
Andi Gutmans
2f2d32fa61 - Quick fix. I'm for changing these to add_property_null() as we've nuked
- unset.
2001-01-31 05:21:53 +00:00
Andi Gutmans
f67df57491 - That doesn't seem like a smart thing to do :)
- I wonder if gcc optimized it out.
2001-01-27 12:29:02 +00:00
Thies C. Arntzen
dd7eb4284b fix a couple of warnings 2001-01-23 17:55:17 +00:00
Thies C. Arntzen
373e830117 fixed crash in add_index_bool. 2001-01-23 15:30:18 +00:00
Andrei Zmievski
57f99633ce Make add_index_zval() available to the outside world. 2001-01-22 20:40:41 +00:00
Andi Gutmans
3353ad7e6e - Make people happy who like the Zend version number bumped up in parallel
with PHP.
2001-01-21 11:43:34 +00:00
Andi Gutmans
ef95a346f1 - Patch from Sterling. Add API calls to add zval's as array indeces/
object properties. Add _ex functions which take the string length as an
  argument for better performance.
2001-01-20 19:16:38 +00:00
Andi Gutmans
0a3761e283 - For Sterling. I wonder if not all of the API functions should take the
- key_length as a parameter in order to save that strlen().
2001-01-19 08:40:49 +00:00
Andi Gutmans
62606e7789 - Fix leak in fetch_dim_address() which was already fixed in
- fetch_dim_object(). Take the oppertunity to make both use the same
- function and not duplicate the code.
2001-01-17 17:34:16 +00:00
Zeev Suraski
b8b40f697e Fix persistent resources, once and for all... 2001-01-16 23:49:16 +00:00
Zeev Suraski
0e08845eb0 Add free_estring() 2001-01-15 10:52:06 +00:00
Zeev Suraski
dc45d88c47 Add newline 2001-01-12 11:14:46 +00:00
Rasmus Lerdorf
b208f6bc7d Fix for bug number 8666 2001-01-12 06:55:57 +00:00
Zeev Suraski
0301041f79 Fix mismatch in return values 2001-01-07 19:04:02 +00:00
Zeev Suraski
903018ef36 - Remove backward dependency from PHP -> Zend
- Rename get_ini_entry() as get_configuration_directive() for clarity
  (it doesn't use the INI subsystem, but the module-supplied function for
  retrieving configuration directives)
2001-01-07 18:39:11 +00:00
Zeev Suraski
5f6bc23931 Remove -S option on all bison calls 2001-01-07 18:31:55 +00:00
Zeev Suraski
1f23e50789 Fix possibility of a crash during startup (very unlikely, but possible) 2001-01-07 02:47:32 +00:00
Zeev Suraski
bcf179d047 Remove -S 2001-01-06 20:11:22 +00:00
Andi Gutmans
572e0b78fb - This slipped in by mistake. 2001-01-06 09:56:36 +00:00
Zeev Suraski
aae9e7ee59 Merge in some ZEND_API additions from Daniel Beulshausen (needed for the
Win32 Apache module)
2001-01-05 15:01:15 +00:00
Andi Gutmans
e976d8ed1d - Make plist_destructor work like list_destructor to allow it to call
extended destructors.
2001-01-04 06:20:26 +00:00