Andi Gutmans
08304a3c93
- Fix problem Thies reported. We by mistake separated variables which were
...
being fetched for read only.
1999-11-30 17:10:11 +00:00
Zeev Suraski
f617a46305
That's a more thorough fix...
1999-11-25 16:21:01 +00:00
Zeev Suraski
f62a08c2ae
Fix bug #2817 - assignments to string offsets could erronously modify unrelated strings
1999-11-25 16:11:34 +00:00
Andi Gutmans
f3ca328b34
That slipped away
1999-11-21 18:19:08 +00:00
Andi Gutmans
1f11e07fc6
- Moved var_uninit() for return_value to the beginning of DO_FCALL.
...
We forgot to do it for overloaded methods
1999-11-19 17:04:54 +00:00
Andi Gutmans
817a11e7ed
- Functions whose return values aren't used have them freed in DO_FCALL
...
and don't need a special ZEND_FREE opcode following them anymore
1999-11-19 16:55:25 +00:00
Andi Gutmans
52045afb08
- If a function's return value is unused then don't create a ZEND_FREE
...
opcode but free it after the function call in zend_execute.
1999-11-17 17:21:15 +00:00
Andi Gutmans
800e00727a
- Forgot this
1999-11-17 04:38:38 +00:00
Andi Gutmans
dbb67ab9dc
- Add support for used_return_value passed to internal functions.
1999-11-16 18:30:06 +00:00
Andi Gutmans
d35ea24fc0
- Fix crash with string offset assignments.
1999-11-13 18:11:34 +00:00
Andi Gutmans
6d988ec694
- Add support for BYREF_FORCE_REST
1999-11-03 19:21:56 +00:00
Andi Gutmans
83c79bb154
- Fix for Thies' leak and Andrei's crash
1999-10-28 15:53:31 +00:00
Andi Gutmans
9b83d1ca5d
- Fix isset() with string offsets.
1999-10-22 22:35:16 +00:00
Andi Gutmans
7a205f6087
- Preliminary submit of Thie's patch. Will fix the rest on Windows
...
as this was added on UNIX with patch. Changed IS_SAME -> IS_IDENTICAL
1999-10-19 13:33:17 +00:00
Andi Gutmans
faa1891782
- object.ptr was made NULL in DO_FCALL but wasn't restored. Right now I
...
push it in DO_FCALL and at the end of do_fcall_common it always gets
popped. We might be able to optimize it out.
1999-10-12 11:41:17 +00:00
Andi Gutmans
81aa9a36b6
- No idea why this bug didn't exist before. But I'm too tired to think of it.
...
During a regular do_fcall we need to set object.ptr to NULL and, thus,
push it in the beginning and pop it in the end.
I hope this fix more or less cuts it. I just want to sleep :)
1999-10-11 20:29:55 +00:00
Andi Gutmans
3a88d5a68e
- Didn't lower refcount when doing an internal function call linked to a regular object.
1999-10-10 18:31:42 +00:00
Andi Gutmans
274ce69429
- Clean up a bit. Separate before the locking so that we can use SEPARATE_ZVAL
...
macro.
1999-10-10 04:38:51 +00:00
Andi Gutmans
ec04c922aa
- Shouldn't be needed
1999-10-09 20:37:08 +00:00
Andi Gutmans
37159e7863
- God damn this sucked. I hopefully fixed the problems with classes although
...
we might need to clean stuff up a bit.
1999-10-09 20:29:36 +00:00
Andi Gutmans
5fed1466ef
- Reverse my patch
1999-10-07 04:38:03 +00:00
Andi Gutmans
e3d0c91dbb
- Fixed memory leak with this pointer. It was somtimes initialized with refcount
...
of 2 instead of 1.
- Also fixed a place where object.ptr_ptr is set to pointing to a zval* instead
of zval**. I don't think this is ever used so we might be able to remove it
altogether.
1999-10-06 17:45:15 +00:00
Thies C. Arntzen
c6b91f789d
fix for using resources as array indices
1999-10-06 15:09:26 +00:00
Andi Gutmans
1c0f136405
- Hooray. This might actually work. (I hope)
1999-10-03 20:06:21 +00:00
Andi Gutmans
56834ff66a
- Another locking fix.
1999-10-02 18:02:10 +00:00
Andi Gutmans
e40667440d
- Fixed locking problem when fetching string offsets
1999-10-02 16:40:25 +00:00
Zeev Suraski
77ddd3a35b
Fix the leak reported on the PHP 3 list (isset() on string offsets)
1999-10-02 15:56:49 +00:00
Andi Gutmans
86357a9c27
- Move is_ref back to being an unsigned char and not a bit field.
1999-10-01 23:31:39 +00:00
Andi Gutmans
4dd47ffbc1
- Remove locking support completely
1999-10-01 23:26:00 +00:00
Andi Gutmans
03d354dcf9
- For Andrei. Implement references in array() initializations
1999-10-01 10:00:05 +00:00
Andi Gutmans
06d04d15a8
- Fix SEND_VAR problem after fetch'ing a variable and not knowing the fetch type
1999-09-29 17:18:36 +00:00
Andi Gutmans
59d5462a6a
- Stop using the locking mechanism and start using refcount.
...
Now we know when we need to free but we still need to support it
1999-09-28 17:37:14 +00:00
Andi Gutmans
b56fd4602f
- First part of the patch which makes reads use ptr and not ptr_ptr.
1999-09-28 16:03:09 +00:00
Andi Gutmans
4fff0386ac
- Changed Ts{}.var to Ts{}.var.ptr_ptr.
1999-09-26 05:45:18 +00:00
Andi Gutmans
1ac04fe9f4
- Try to fix the leak Rasmus reported. It's pretty sucky code so I'm really
...
not sure this fix is OK.I can't remember all of what we did there.
1999-09-18 22:07:12 +00:00
Thies C. Arntzen
aa5102490a
make SUNs c89 happy
1999-09-17 13:57:24 +00:00
Zeev Suraski
567b3cef6b
- Fix bug #2318
1999-09-17 02:06:12 +00:00
Andi Gutmans
67daaa7aac
- Fix for floating point array offsets. Same behaviour as in PHP 3.0. We
...
casted to (long).
1999-09-08 20:38:08 +00:00
Stig S. Bakken
009025e00d
* header file cleanup
...
* fixed --enable-thread-safety build for UNIX
I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
1999-09-06 16:14:08 +00:00
Andi Gutmans
48a8b14a47
- Fixed a specific memory leak linked to locking.
1999-08-23 19:02:28 +00:00
Zeev Suraski
96fd258d07
Fix #2070
1999-08-17 21:36:30 +00:00
Andi Gutmans
a08dc937c7
- Oopsie
1999-08-15 19:38:10 +00:00
Andi Gutmans
b5f5e9a6d1
- Optimize the execute stack a bit.
1999-08-15 19:29:39 +00:00
Andi Gutmans
11781bdaa8
- Thies's crash fix.
1999-08-09 16:39:13 +00:00
Zeev Suraski
720d32f581
Fix a few leaks
1999-08-07 23:04:01 +00:00
Zeev Suraski
4f2dd59e24
*** empty log message ***
1999-08-06 11:12:08 +00:00
Andi Gutmans
bbe27ffae9
- Initialize extended value's and put the fetch_type in it's own variable
...
name.
1999-08-03 18:54:49 +00:00
Andi Gutmans
e9e7bc6db3
- Add ptr_stack_n_{push,pop} in order to speed up function calls a bit.
...
There seems to be no reason for stack->top in the ptr_stack except for
when realloc()'in the stack. I think I'll remove it.
1999-07-30 11:55:53 +00:00
Andi Gutmans
741ca16711
- Fixed various inheritance problems & Andrey's leak
1999-07-28 17:59:55 +00:00
Andi Gutmans
348b2f0730
- Add missing lock
1999-07-27 18:35:22 +00:00