Commit Graph

8382 Commits

Author SHA1 Message Date
Zeev Suraski
76ceb9ad44 Better detection 1999-04-13 22:09:59 +00:00
Zeev Suraski
7c2155c1ad Move Ai stuff before get_zval_*(), like Andi suggested. Fixes Sascha's huge
memory leak
1999-04-13 20:50:31 +00:00
Andi Gutmans
e1e2226b92 - Fix various memory leaks. 1999-04-13 19:28:03 +00:00
Andi Gutmans
d86ed8207c Refcount bugfix 1999-04-13 17:49:14 +00:00
Andi Gutmans
3fcc6511f6 * Optimize argument_stack top lookup
* Fix a nasty bug in zend_ptr_stack_clean()
1999-04-13 17:03:10 +00:00
Zeev Suraski
533f135987 Remove unnecessary stack 1999-04-12 21:50:49 +00:00
Zeev Suraski
ad9b13eb9e off by one 1999-04-12 21:06:29 +00:00
Zeev Suraski
1dff49ec83 Minor optimization 1999-04-12 20:49:02 +00:00
Zeev Suraski
3ca6d6113a Make functions that don't take arguments somewhat happier:) 1999-04-12 19:44:47 +00:00
Zeev Suraski
714f450a00 This should take care of "this" for user-defined functions. It wasn't yet working
for built-in functions anyway, this one is coming soon.
1999-04-12 19:40:48 +00:00
Zeev Suraski
15be5f0b4a Destroy the resource list after destroying the symbol table, otherwise the
auto-destructor for resources are run when the resource list is no longer valid
1999-04-12 18:40:18 +00:00
Zeev Suraski
39a7f4c306 This patch is a go. Not fully optimized yet, but working properly.
Prepatch tagged as BEFORE_STACK_PATCH.
1999-04-12 18:29:09 +00:00
Zeev Suraski
b06c5731fc Minor fixes:
missing zval_copy_ctor()
	messed up AiCount fix
1999-04-12 17:59:36 +00:00
Zeev Suraski
4472d05025 Allow runtime setting of the memory limit 1999-04-10 16:24:28 +00:00
Zeev Suraski
2e9886de3c Get rid of php3_ini in Zend 1999-04-10 14:44:35 +00:00
Zeev Suraski
7656c77c38 We need to initialize the utility values after we initialize the INI file, which in
turn, is after we initialize Zend.  Set the utility values separately from Zend's
initialization
1999-04-10 11:21:55 +00:00
Andi Gutmans
906dc43ed7 - Changed here-docs to <<< followed by whitespace. 1999-04-09 20:47:29 +00:00
Andi Gutmans
5cb576d81a - I guess print $GLOBALS and print "$GLOBALS" should yield the same result
so I returned the one in encaps_var.
- Made INITAL_OP_ARRAY_SIZE smaller (64? can't remeber). I don't think the
  erealloc()'s during compile time are such a biggy, we might make it even
  smaller. We can have a configure time option as to it's size.
1999-04-09 15:18:29 +00:00
Andi Gutmans
2d7b9b038d - Support $GLOBALS in cvar's. Now list(..) = each($GLOBALS) will work.
- Remove support of $GLOBALS in enacapsed strings. print "$GLOBALS" isn't
  supposed to work in any case.
1999-04-09 15:01:13 +00:00
Zeev Suraski
43c0e94ac9 Honor a semicolon on the same line as an ending token of a heredoc 1999-04-09 11:19:03 +00:00
Zeev Suraski
0a6e9ddd7f Prevent class redeclarations 1999-04-09 10:59:58 +00:00
Zeev Suraski
9d8e0db38f * Add arguments to shutdown functions
* Remove traces of php_ini stuff
1999-04-08 21:14:50 +00:00
Zeev Suraski
f2d5ca7482 "Our favourite mistake" 1999-04-08 20:27:08 +00:00
Zeev Suraski
17bdb70823 $GLOBALS support 1999-04-08 20:21:36 +00:00
Andi Gutmans
893160fcbe foreach() syntax has changed 1999-04-08 04:11:23 +00:00
Zeev Suraski
135da4b4fc Fix static assignment 1999-04-08 00:18:29 +00:00
Zeev Suraski
d1d96d04c6 Remove an unused variable 1999-04-07 23:09:09 +00:00
Zeev Suraski
694d94983b That's better. 1999-04-07 21:14:10 +00:00
Zeev Suraski
d94f3e22ae We didn't save the .dsp back then... 1999-04-07 21:00:45 +00:00
Zeev Suraski
d9c4871592 Cleanups: ZendCore->libzend 1999-04-07 20:30:03 +00:00
Rasmus Lerdorf
a6043d3e1e *** empty log message *** 1999-04-07 18:18:16 +00:00
Andi Gutmans
573b46022c Zend Library 1999-04-07 18:10:10 +00:00