a699b13246
ChangeLog update
2002-10-19 00:33:29 +00:00
Andi Gutmans
cf36abb2eb
- Change opcode dispatch mechanism to use a function per opcode and use
...
- a lookup table using the opcode # to call the correct function.
- Still have lots of tuning to do.
2002-10-18 21:19:27 +00:00
Andi Gutmans
7f9819e647
- Cleanup
2002-10-18 10:20:44 +00:00
5a935a445b
ChangeLog update
2002-10-17 00:33:37 +00:00
Sebastian Bergmann
7b0949b005
Fix ZTS build.
2002-10-16 19:16:58 +00:00
Stanislav Malyshev
c42ec35331
Fix class static members: now the following code works:
...
<?php
class Foo {
static $c = "Parent";
}
class Child extends Foo {
}
Foo::$c = "Hello";
var_dump(Child::$c);
?>
and returns "Hello" (class statics are not copied anymore, but looked up in
runtime)
2002-10-16 18:29:41 +00:00
Stanislav Malyshev
349b3a096a
Fix and generalize $this handling.
...
ZEND_FETCH_FROM_THIS is removed, IS_UNUSED type on class variables will be
used instead as the sign that it's a fetch from $this
2002-10-16 18:06:36 +00:00
f0664706c9
ChangeLog update
2002-10-15 00:34:34 +00:00
Ilia Alshanetsky
fac8eaff1a
MFZE1
2002-10-14 23:41:32 +00:00
Andi Gutmans
046bdeaaab
- Support new classname::$class_name, e.g.:
...
<?
class foo::bar {
public $hello = "Hello, World\n";
}
$name = "bar";
$obj = new foo::$name;
print $obj->hello;
?>
2002-10-14 20:13:03 +00:00
cf3493a78d
ChangeLog update
2002-10-14 00:35:29 +00:00
Ilia Alshanetsky
63212d27ee
Increased the API number. (re: floats patch)
2002-10-13 15:28:21 +00:00
495dbef642
ChangeLog update
2002-10-13 00:33:52 +00:00
Ilia Alshanetsky
e842ef9f4b
MFZE1 (floats & locale issue)
2002-10-12 21:15:35 +00:00
bc08177790
ChangeLog update
2002-10-11 00:33:57 +00:00
Sebastian Bergmann
69343667e7
Fugbix typo.
2002-10-10 18:49:29 +00:00
Stanislav Malyshev
f45d2f9225
add comment
2002-10-10 10:07:22 +00:00
Stanislav Malyshev
98ad93fb6d
fix memory leaks
2002-10-10 09:57:56 +00:00
5cd142d736
ChangeLog update
2002-10-10 00:38:34 +00:00
Stanislav Malyshev
e22e61a4df
Fix object write handler behaviour:
...
* If this value is already set to given value, don't try to set it again.
* If we have reference, we should not move it.
* If we are assigning referenced variable, we should separate it.
# Hope this covers all... Sigh...
2002-10-09 17:14:25 +00:00
Ilia Alshanetsky
d3617c51b8
MFZE1 zend_str_tolower issue.
2002-10-09 14:21:40 +00:00
26348e5392
ChangeLog update
2002-10-08 00:35:21 +00:00
Andi Gutmans
c32bac8fba
- Fix test
2002-10-07 21:58:59 +00:00
Andi Gutmans
77b3ffbc5a
- Require $this-> when calling a methods. This whole automatic lookup
...
- first in the class and then in the global scope is confusing, slow and
- not quite BC compatible.
2002-10-07 21:46:44 +00:00
Andi Gutmans
7cba0254e7
- Allow access to private/protected variables of $clone inside the __clone()
...
- method
2002-10-07 21:20:23 +00:00
5c782303a1
ChangeLog update
2002-10-07 00:34:07 +00:00
Andi Gutmans
278a00e1d8
- Fix problem with unsetting object members.
2002-10-06 19:55:31 +00:00
0662a009db
ChangeLog update
2002-10-02 00:33:32 +00:00
Andi Gutmans
aa7bffeec6
- Fix problem when crashing on illegal tokens in class name during class
...
- definition.
2002-10-01 20:00:45 +00:00
b9cb4f9442
ChangeLog update
2002-10-01 00:34:05 +00:00
Derick Rethans
d23c9b24ca
- No tabs :)
2002-09-30 10:34:40 +00:00
0166a14916
ChangeLog update
2002-09-29 00:34:45 +00:00
Derick Rethans
52bd901eb4
- Fix for defines...
2002-09-28 19:02:21 +00:00
Derick Rethans
34f5bd514c
- Fix build in non-ZTS mode
2002-09-28 15:12:41 +00:00
03803bf412
ChangeLog update
2002-09-27 00:34:13 +00:00
Ilia Alshanetsky
ee7b8f906d
MFZE1
2002-09-26 18:56:11 +00:00
2f418a1fdb
ChangeLog update
2002-09-26 00:35:59 +00:00
Stanislav Malyshev
3fb0dc7b05
Propmote API NO year, so that it will never be the same as ZE1 API NO
2002-09-25 16:54:04 +00:00
c8114d7f31
ChangeLog update
2002-09-25 00:36:04 +00:00
Andi Gutmans
974b502199
- Fix leak
2002-09-24 19:32:01 +00:00
Andi Gutmans
f78fa50423
- Megapatch to try and support inheritance from sub-classes. Things might
...
- be *very* buggy now so don't get too upset if that happens.
- I still need to improve some stuff but it's a good step (hopefully).
2002-09-24 19:05:53 +00:00
46b4e9c0f9
ChangeLog update
2002-09-24 00:34:06 +00:00
Andi Gutmans
8831b9cfd0
- MFZE1.
2002-09-23 17:20:59 +00:00
f3a0c7e34b
ChangeLog update
2002-09-22 00:34:53 +00:00
Andi Gutmans
21e9bc0fb3
- Someone screwed this up.
2002-09-21 13:01:08 +00:00
c2d899e0dd
ChangeLog update
2002-09-20 00:35:19 +00:00
Derick Rethans
5acf8709c2
- Make Colin happy
2002-09-19 22:23:56 +00:00
Zeev Suraski
bd115087e3
MFZE1 - connection_status() fix
2002-09-19 15:58:01 +00:00
Zeev Suraski
8a003f8021
Fix non ZTS build
2002-09-19 15:15:39 +00:00
Zeev Suraski
c29f5d6e9d
Fix that obscure crash in Debug_TS mode
2002-09-19 15:12:20 +00:00
532362e7f4
ChangeLog update
2002-09-19 00:34:48 +00:00
Zeev Suraski
5fcae67e9d
Fix the thread-safe initialization of the ZE2. This should solve some
...
sporadic crashes, as well as the problem with the built-in constants.
2002-09-18 22:16:22 +00:00
Zeev Suraski
f2aa45d234
Remove dead code
2002-09-18 22:15:02 +00:00
Zeev Suraski
7dfa439185
Add useful debugging function
2002-09-18 14:08:07 +00:00
01f9c2ad14
ChangeLog update
2002-09-18 00:34:20 +00:00
Zeev Suraski
91b0d03346
Add tracking for hashtable allocation
2002-09-17 14:04:37 +00:00
Zeev Suraski
71126a21bc
ZE2 fix
2002-09-17 12:44:10 +00:00
Zeev Suraski
aa07082a5c
whitespace
2002-09-17 12:42:58 +00:00
Zeev Suraski
711be83d49
MFZE1 - threading fix
2002-09-17 12:42:11 +00:00
cab024e411
ChangeLog update
2002-09-17 00:33:53 +00:00
Andrei Zmievski
a35c61af3c
MFZE1
2002-09-16 01:36:48 +00:00
78a17be5e5
ChangeLog update
2002-09-16 00:35:19 +00:00
Ilia Alshanetsky
94aaba773c
Make zend actually strip comments. Bug #18151
2002-09-15 23:37:26 +00:00
Ilia Alshanetsky
1074fca0ae
Make zend return a proper exit error code when it encounters a parse error.
2002-09-15 23:34:03 +00:00
Andi Gutmans
f8ebfe7c51
- Hopefully fix problem with __autoload not working well with inherited classes.
...
- There might still be some weird situations I haven't thought of.
2002-09-15 07:54:01 +00:00
Andi Gutmans
7f6c2da50a
- WS fix - "while (" instead of "while("
2002-09-15 07:46:20 +00:00
Andi Gutmans
43139dc755
- WS - Always use "if (" and not "if("
2002-09-15 07:45:26 +00:00
Andi Gutmans
fcc0ce7eec
- WS
2002-09-15 07:41:23 +00:00
a0620f711d
ChangeLog update
2002-09-11 00:33:52 +00:00
Stanislav Malyshev
7fe216e27b
MFZE1
2002-09-10 08:37:18 +00:00
Stanislav Malyshev
ca6717e348
MFZE1
2002-09-10 08:35:50 +00:00
Stanislav Malyshev
7fca47f1cf
MFZE1
2002-09-10 08:18:53 +00:00
513a15b219
ChangeLog update
2002-09-10 00:33:44 +00:00
Stanislav Malyshev
44c2c39188
remove comment
2002-09-09 08:59:18 +00:00
e15e0336de
ChangeLog update
2002-09-09 00:33:41 +00:00
Andi Gutmans
e3ca0ff0b8
- Prepare for alpha 3
2002-09-08 15:33:54 +00:00
5800ae1db2
ChangeLog update
2002-09-06 00:36:15 +00:00
Stanislav Malyshev
c2af55fb18
quick-n-dirty inheritance support for __handlers
2002-09-05 17:34:16 +00:00
e5fd005fa9
ChangeLog update
2002-09-05 00:34:49 +00:00
Sebastian Bergmann
af4243b908
Whitespace fixes.
2002-09-04 16:50:01 +00:00
Stanislav Malyshev
e8f6654663
remove dead code
2002-09-04 15:04:39 +00:00
Stanislav Malyshev
36c60cea38
Fix __call and add some docs
2002-09-04 15:03:41 +00:00
Sebastian Bergmann
2711976f56
Fix ZTS build.
2002-09-04 12:49:30 +00:00
Sebastian Bergmann
42eebfc81a
TBD: __call(), __get(), __set().
2002-09-04 12:49:15 +00:00
Stanislav Malyshev
d8651c82cd
Support for __get, __set and __call in classes.
...
This should work as follows: if class hasn't member with given name,
__get/__set is called. If class has no method with given name, __call is called.
__get/__set are not recursive, __call can be.
2002-09-04 09:07:58 +00:00
Sebastian Bergmann
84c1bee585
Workaround for superfluous comma in var_export() result.
2002-09-04 05:46:16 +00:00
Sebastian Bergmann
7d85d01834
Let debug_backtrace() example print out the class name, if applicable, and the function/method arguments.
2002-09-04 05:35:20 +00:00
05d52abd27
ChangeLog update
2002-09-04 00:34:17 +00:00
Thies C. Arntzen
ca0a7c4323
nuke warning
2002-09-03 14:14:44 +00:00
Thies C. Arntzen
db92641e32
nuke unneeded stuff
2002-09-03 13:53:05 +00:00
Zeev Suraski
e801a99a50
MFZE1
2002-09-03 10:25:06 +00:00
Zeev Suraski
5f3e75a725
MFZE1
2002-09-03 10:06:13 +00:00
Derick Rethans
45a203b411
- Revert
...
#- Sorry... was too busy with it to notice discussion on php.dev
2002-09-03 09:57:27 +00:00
Derick Rethans
74049eb191
- MFH for: Apply rest of html errors fix (Patch by Jan Lehnardt <jan@php.net>)
2002-09-03 09:56:20 +00:00
Sebastian Bergmann
cfad3c664f
Add html_errors to zend_utility_values. Patch by Jan Lehnardt <jan@php.net>.
2002-09-03 09:41:41 +00:00
Andi Gutmans
1c5841d376
- Fix typo
2002-09-03 04:19:04 +00:00
3df0df50f4
ChangeLog update
2002-09-03 00:32:58 +00:00
Thies C. Arntzen
96ab23981c
refine last patch. if the argument-stack is not consistent don't try to show
...
arguments. no call to zend_error is made as we might end up in an infinite
recursion if called from an error_handler.
so: if the arguments to functions aren't shown in debug_backtrace this is 'cause
the arument stack was not consistent when debug_backtrace was called.
2002-09-02 12:26:09 +00:00
Thies C. Arntzen
9afea7175c
debug_backtrace() now checks the complete argument-stack for consistency.
2002-09-02 12:20:09 +00:00
Stanislav Malyshev
c8a659f8f6
MFZE1
2002-09-02 09:13:53 +00:00
bf220ce104
ChangeLog update
2002-09-02 00:31:53 +00:00
Andi Gutmans
f4e8b2c4e9
- Fix leak reported by "l0t3k" <cshmoove@hotmail.com>
2002-09-01 19:19:50 +00:00
Stanislav Malyshev
73cf316a53
MFZE1
2002-09-01 08:30:39 +00:00
3324e38e8a
ChangeLog update
2002-08-29 00:17:29 +00:00
Thies C. Arntzen
eef3e66f1f
debug_backtrace()
...
- make args passed to functions called vy call_user_function available again.
2002-08-28 15:05:15 +00:00
Thies C. Arntzen
b72069e859
debug_backtrace():
...
- make args work if called from the error_handler
- fix refcount for args
2002-08-28 14:49:15 +00:00
Thies C. Arntzen
bdc35c9f2e
clear current_execute_data on bailout as it would point into some freed area
...
on the stack.
2002-08-28 14:43:32 +00:00
Derick Rethans
a9d819818b
- MFZE1
2002-08-28 09:49:40 +00:00
9cf662e1a2
ChangeLog update
2002-08-27 00:20:32 +00:00
Thies C. Arntzen
4d931b9888
debug_backtrace(): show name of included file for include and require calls
...
plus some small fixes suggested by andi.
# now it's perfect;-)
2002-08-26 16:40:34 +00:00
6218e98046
ChangeLog update
2002-08-25 00:18:44 +00:00
Andi Gutmans
c651dd962f
- Whitespace
2002-08-24 20:57:54 +00:00
Andi Gutmans
8a02b43073
- Whitespace and better variable name
2002-08-24 20:52:52 +00:00
Thies C. Arntzen
800c67a166
fix warning
2002-08-24 09:05:44 +00:00
89f8b5ad79
ChangeLog update
2002-08-24 00:20:37 +00:00
Andi Gutmans
f976590420
- Add \n to configure fprintf
2002-08-23 22:11:10 +00:00
Andi Gutmans
3844b6af97
- dlerror -> DL_ERROR
2002-08-23 22:07:59 +00:00
Thies C. Arntzen
eea1a0b296
debug_backtrace: show include/require/eval as normal functions on the stack
...
# the hard bit is to find out the args for those
2002-08-23 14:44:58 +00:00
Derick Rethans
8feda5cb6a
- No spaces :)
2002-08-23 14:28:56 +00:00
Thies C. Arntzen
280809189b
- debug_backtrace now also returns an array containing the arguments of the
...
called function.
zeev, andi - is knowing the structure of the stack considered a bad thing in
zend_builtin_function? if yes i would have to create a new function in
zend_ptr_stack.c (but i think we are save this way)
2002-08-23 14:22:25 +00:00
Thies C. Arntzen
7ed2d363c8
- debug_backtrace:
...
added "type" ('->' or '::') for object calls.
made calls done thru call_user_func show-up correct in backtraces.
andi,
does this look correct to you?
2002-08-23 13:50:42 +00:00
Thies C. Arntzen
10b58f2110
those are set by RETURN_FROM_EXECUTE
2002-08-23 12:18:54 +00:00
f35c4b5138
ChangeLog update
2002-08-22 00:17:15 +00:00
Thies C. Arntzen
d88ca858aa
zend_execute: make sure that current_execute_data points to the right thing
...
after coming back from recursion.
2002-08-21 13:58:20 +00:00
e321742383
ChangeLog update
2002-08-20 00:19:08 +00:00
Zeev Suraski
91f585744f
MFZE1
2002-08-19 20:58:22 +00:00
2d2250c520
ChangeLog update
2002-08-18 00:18:19 +00:00
Andi Gutmans
2372caf57e
MFZE1
2002-08-17 20:20:36 +00:00
Zeev Suraski
b66561c44a
MFZE1
2002-08-17 16:22:40 +00:00
Zeev Suraski
88fd5f3f5d
MFZE1
2002-08-17 16:07:26 +00:00
f32baf54b6
ChangeLog update
2002-08-17 00:19:19 +00:00
Stig Bakken
5a41ced0d7
* append emacs footer
2002-08-16 10:12:17 +00:00
Stig Bakken
bd7105f731
* remove builtin exception class
2002-08-16 10:11:32 +00:00
Andi Gutmans
38eea2e817
- Fix whitespace
2002-08-16 07:11:37 +00:00
Stig Bakken
04788f9503
@- Added set_exception_handler() function for registering a global,
...
@ catch-all exception handling function (Stig)
- Added set_exception_handler() function for registering a global,
catch-all exception handling function (Stig)
2002-08-16 00:41:37 +00:00
87d86ad21d
ChangeLog update
2002-08-16 00:18:07 +00:00
Zeev Suraski
0bb780b384
MFZE1
2002-08-15 00:25:27 +00:00
d823e3fe41
ChangeLog update
2002-08-15 00:18:40 +00:00
Jason Greene
b806a8e247
MFZE1 (use token instead of global for opcode counting)
2002-08-14 01:40:59 +00:00
fa626babf2
ChangeLog update
2002-08-14 00:18:10 +00:00
Andi Gutmans
17d1c75b8b
- Fix crash when exception is raised in __autoload function
2002-08-13 16:46:40 +00:00
Zeev Suraski
88d3154b68
MFZE1
2002-08-13 15:14:45 +00:00
4097df12c6
ChangeLog update
2002-08-09 00:18:23 +00:00
Sebastian Bergmann
646292e08b
Fix warning.
2002-08-08 18:50:46 +00:00
Stanislav Malyshev
11fb07a360
Add ZEND_API to functions
2002-08-08 17:53:32 +00:00
Andi Gutmans
52406cb37c
- Make new 'is' operator work with classes only and return false when
...
- the object isn't of the said class or the value isn't an object.
2002-08-08 16:32:34 +00:00
Andi Gutmans
7904787f95
- Bad Harald! :)
2002-08-08 16:07:09 +00:00
Zeev Suraski
0e50ac4b2c
MFZE1
2002-08-08 08:42:22 +00:00
c4b11d2447
ChangeLog update
2002-08-08 00:18:02 +00:00
Harald Radi
99c90db11a
make win32 debug output more verbose
2002-08-07 14:47:42 +00:00