Sterling Hughes
ae2bfb7880
Assume lazy consensus regarding the cast_object() patch. *Only* implemented
...
from a internals perspective. This callback has been very useful for both
ext/mono and ext/simplexml
2003-05-27 18:52:25 +00:00
119e150189
ChangeLog update
2003-05-27 00:30:59 +00:00
Marcus Boerger
955460a319
Add pseudo constant __METHOD__ to easily report namespace::class::method.
...
# This is especially good for tests. Since it does not draw away from the
# real issues and nicely reports what is needed to identify a method.
2003-05-26 20:45:22 +00:00
07adb2e19f
ChangeLog update
2003-05-24 00:30:49 +00:00
Marcus Boerger
b1b8ed64dc
Revert to sizeof()
2003-05-23 18:37:36 +00:00
Sterling Hughes
ae9106521a
move HANDLE_NUMERIC() from the hash table implementation upstream to the
...
places that actually need to use it.
2003-05-23 15:11:15 +00:00
9b08c569c6
ChangeLog update
2003-05-23 00:30:53 +00:00
Marcus Boerger
475594c861
No need to copy here unless implicit_clone is active (noticed by rob)
2003-05-22 19:13:20 +00:00
f31389a956
ChangeLog update
2003-05-22 00:30:45 +00:00
Marcus Boerger
66b9125968
Make use optimized string lowering
2003-05-21 22:57:51 +00:00
Marcus Boerger
402f5f7a0d
Use same parameter order as strcpy()
2003-05-21 22:36:09 +00:00
Marcus Boerger
7af8eadd57
Make zend_str_tolower_copy() a copy function (like stccpy).
...
Supply a dup version (like estrdup).
Fix tolower() handling.
# Havin copy and dup allows to use the faster version even with
# memory not allocated by emalloc.
2003-05-21 21:59:40 +00:00
foobar
bec958114b
Fixed bug #23619 (set_error_handler() registered handler not called for object instances). (Jani, waboring@qualys.com)
2003-05-21 21:42:25 +00:00
Sterling Hughes
5619166fe4
optimize loops. The check only exists for integers because that's the more
...
common optimization, and you actually lose performance if you check for
a double too (wierd but true).
2003-05-21 18:46:34 +00:00
Sterling Hughes
d824cd3309
add some logic to detect zend_mm, which is really only useful when thread
...
safety support is enabled.
2003-05-21 17:54:57 +00:00
ec2c98b933
ChangeLog update
2003-05-21 15:46:35 +00:00
Sterling Hughes
654f141e1c
leave this off until its more ready/stable
...
php5 actually beats php4.3.* in my benchmarks now
# make sure to recompile zend_alloc.c
2003-05-21 12:22:24 +00:00
Sterling Hughes
d141ffd9de
use zend_str_tolower_copy()
2003-05-21 12:15:33 +00:00
Sterling Hughes
b5ca4de525
Bottom drawer optimization to avoid this comparison, but this OP is executed
...
quite often (all of the fetch_* ops)
2003-05-21 11:48:55 +00:00
Sterling Hughes
34087ad2b5
bah humbug, use the pointer based version, which turns out to be an instruction
...
faster
2003-05-20 22:31:15 +00:00
Sterling Hughes
7c7d14a413
use pointer arithmetic for the normal zend_str_tolower()
2003-05-20 20:39:58 +00:00
Marcus Boerger
851bd22f82
No need to copy the zval unless __clone() is called
2003-05-20 20:20:57 +00:00
Sterling Hughes
3079bb1bda
make this faster and sexier
2003-05-20 19:09:33 +00:00
Sterling Hughes
54764e9848
use the new zend_str_tolower_copy() function
2003-05-20 18:44:24 +00:00
Sterling Hughes
a4fb3300b3
doesn't need to be register
2003-05-20 18:42:09 +00:00
Sterling Hughes
ca6ca5e2a6
optimize the lookups by avoiding a copy and then another pass
...
Naked Dancing Girls should be given to: Myself, Zeev, Marcus,
and George Schlossnagle (in no particular order)
2003-05-20 18:28:14 +00:00
Sterling Hughes
909eafc2b0
add fast_call_user_function()
2003-05-20 16:44:42 +00:00
Hartmut Holzgraefe
cb71ac03cb
C++ compile fixes
2003-05-20 13:21:26 +00:00
Marcus Boerger
37a88305e6
Fix exception memleak
2003-05-19 20:40:56 +00:00
Stanislav Malyshev
462eff3497
fix __clone
2003-05-19 17:12:56 +00:00
Marcus Boerger
fe47a383e3
One function call is enough
2003-05-12 18:54:05 +00:00
Marcus Boerger
d3693d9214
Inheritance fix
...
# here we go again, sorry for the mess and thanks to edin for reverting it
2003-05-08 15:04:43 +00:00
Edin Kadribasic
7a0efe828a
Reverting Marcus' incomplete patch which broke the build.
2003-05-07 22:19:43 +00:00
Marcus Boerger
764eaa5b8b
Inheritance fixes
2003-05-07 00:54:38 +00:00
Marcus Boerger
bd74e75b41
Fix namespace issue: Only CG is needed here
2003-05-04 23:01:39 +00:00
Marcus Boerger
29a3586f7b
Allow functions in internal namespaces (for example factories)
2003-05-04 22:49:31 +00:00
Marcus Boerger
fcf92e7e17
Modify the abstract error message so that it shows up to three methods not implemented.
...
# The solution is generic so that we could change the number of methods shown. But the
#problem is that error message here have a maximum length of 1024 chars.
2003-05-04 19:24:24 +00:00
Marcus Boerger
38da5d0124
Fix warnings
2003-05-04 19:11:48 +00:00
Marcus Boerger
9d251cde97
Don't inherit twice what is needed only once
2003-05-04 18:56:35 +00:00
Marcus Boerger
e6d0c8c237
Fix bug #23162 user_error() crashs if > 1024 bytes (Marcus, Moriyoshi)
2003-05-04 18:21:32 +00:00
Sterling Hughes
797dba03b8
semicolon
2003-05-04 00:01:44 +00:00
Sterling Hughes
c8e36ca66f
proto
2003-05-03 23:55:39 +00:00
Sterling Hughes
6f32f79cae
add an accessor for the default exception
2003-05-03 23:54:57 +00:00
Sascha Schumann
e6b558edb2
Fix the *= operator
...
Slightly modified patch by Wez Furlong
2003-04-29 15:06:19 +00:00
foobar
c0cde196d7
Fixed bug #21820 ("$arr[foo]" generates bogus E_NOTICE, should be E_PARSE)
2003-04-25 10:13:51 +00:00
Sascha Schumann
04d2905fb5
add safe_emalloc
2003-04-24 03:35:06 +00:00
Stanislav Malyshev
ad01495a48
Change get_class() so that it returns qualified names for namespaced
...
classes.
*HEADS UP*: get_class_name() handler interface is changed, now it should
allocate the space it returns with emalloc, and the users free it. If
anyone has problems with it or has suggestions how to do it without this -
please tell.
Also: make function_exists() understand namespaces.
2003-04-21 17:01:34 +00:00
Stanislav Malyshev
c5b1314e05
make import * fail if such classes or functions already there
2003-04-21 12:14:12 +00:00
Sterling Hughes
b4262dcf17
Add check for final properties
2003-04-20 14:52:40 +00:00
Stanislav Malyshev
52ac291c54
Check name before '::' so that it would be a namespace in zend_lookup_ns_class
2003-04-20 14:40:38 +00:00