Sascha Schumann
3d5ecc112b
mfb #24025 fix
2003-06-06 12:12:25 +00:00
2cf370142d
ChangeLog update
2003-06-05 00:30:46 +00:00
Stanislav Malyshev
b4fcdaedee
fix non-ZTS build
2003-06-04 09:09:47 +00:00
Sebastian Bergmann
f26c5f9ce4
Fix segfault. Again.
2003-06-04 08:52:43 +00:00
Stanislav Malyshev
039c174337
rm namespace leftovers
2003-06-04 08:16:55 +00:00
Sebastian Bergmann
d74d05f431
Fix segfault. #Hopefully not a Voodoo Fix[TM].
2003-06-04 07:46:22 +00:00
5c2b048135
ChangeLog update
2003-06-03 00:31:04 +00:00
Sebastian Bergmann
572504845d
Leftover.
2003-06-02 15:53:09 +00:00
Sebastian Bergmann
1fe874fbb8
Leftover.
2003-06-02 15:42:34 +00:00
Stanislav Malyshev
f7f5a5ea6b
MEGA-patch: namespaces are R.I.P.
2003-06-02 12:13:11 +00:00
6fc0636581
ChangeLog update
2003-06-02 00:30:46 +00:00
Marcus Boerger
7e2f7b06b5
No nested classes
2003-06-01 19:18:34 +00:00
Marcus Boerger
c3dd93fb4a
Add some ZE2 bug tests
2003-06-01 18:35:29 +00:00
Marcus Boerger
a023c1034b
Bugfix #23670 : implements and extends cause Apache 2 crash
2003-06-01 17:28:52 +00:00
Marcus Boerger
53dae40d5a
Do it correct always
2003-06-01 16:20:23 +00:00
Marcus Boerger
7463e7239b
Defining it once is enough
2003-06-01 11:15:01 +00:00
d40e85bdc6
ChangeLog update
2003-06-01 00:30:54 +00:00
Marcus Boerger
9e4286112e
Fix init shutdown
2003-05-31 19:21:52 +00:00
Sterling Hughes
5bb29cfaeb
revert the function call caching patch until a new solution is decided
...
upon.
2003-05-31 18:31:28 +00:00
Marcus Boerger
5457e34273
Fix constants (noticed by David Brown <dave@codewhore.org>)
2003-05-31 17:24:20 +00:00
Marcus Boerger
05a217707f
c->name_len already contains the '\0'
2003-05-31 15:57:59 +00:00
3240dce99c
ChangeLog update
2003-05-31 00:30:49 +00:00
97e21d21d0
Update
2003-05-30 18:39:38 +00:00
Stanislav Malyshev
95a3fd7b3c
fix crash on exceptions when return value of the inside function is used
2003-05-30 10:05:29 +00:00
78b5b96d17
ChangeLog update
2003-05-30 00:30:57 +00:00
Marcus Boerger
21d32c2430
Fix ~ operator in class constants.
2003-05-29 19:27:11 +00:00
Marcus Boerger
472cc5b9f3
Faster interface inheritance & faster inheritance checks
2003-05-29 19:00:40 +00:00
Marcus Boerger
afb748d17a
CS
2003-05-29 12:59:43 +00:00
Wez Furlong
15fd642525
Fix Bug #23285 (Potential Stack Overflow in zendlex).
2003-05-29 09:01:55 +00:00
35a76b2a8a
ChangeLog update
2003-05-29 00:30:48 +00:00
Sterling Hughes
d919f18607
no reason to do this at runtime
2003-05-28 22:56:56 +00:00
Sterling Hughes
88b2f89eee
Cache function call lookups with loops (store in a temporary variable on the
...
result opline).
Assuming lazy concensus on message that GeorgeS sent to the list last week
2003-05-28 20:42:40 +00:00
d20e82daf0
ChangeLog update
2003-05-28 00:30:50 +00:00
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
Stanislav Malyshev
ba02f60ee4
refine the set_error_handler fix
2003-04-20 14:20:20 +00:00
Stanislav Malyshev
faafbd6edd
Fix for bug #21094 (set_error_handler can not accept methods),
...
by Timm Friebe
2003-04-20 14:18:15 +00:00
Sebastian Bergmann
a17d2f37ea
Corrected patch by Marcus Börger <helly@php.net>.
2003-04-19 09:04:15 +00:00
Sterling Hughes
48b3303217
Patch by Marcus Börger to fix some memleaks
2003-04-18 18:40:53 +00:00
Derick Rethans
bfaf618b08
- Revert my symbol fix patch, and merge in Stas' fixes to Zend Engine 1.
2003-04-18 17:55:45 +00:00
Derick Rethans
bd77233ee3
- MacOSX also prepends the _ before symbols in bundles
2003-04-18 11:35:22 +00:00
Sebastian Bergmann
5be2fe410e
Patch by Marcus Börger <helly@php.net>.
2003-04-17 14:33:38 +00:00
Sebastian Bergmann
dccdb2f549
Fix warnings.
2003-04-11 17:30:42 +00:00
Sterling Hughes
c013f78274
satisfy andi's switch fetish ;-)
2003-04-10 20:08:02 +00:00
Sebastian Bergmann
974f406eda
Fix ZTS build. Fix warning.
2003-04-10 17:02:31 +00:00
Sebastian Bergmann
668fc20b97
Document 'const' keyword.
2003-04-10 16:54:46 +00:00
Sterling Hughes
0191ba5de1
allow expressions within constants, so the following is possible
...
class foo {
const a = 1<<0;
const b = 1<<1;
const c = a | b;
}
this makes const a compile-time expression. all other operators are
unaffected.
2003-04-10 15:43:47 +00:00
Zeev Suraski
65f06d8027
Revert Harald's commit
2003-04-10 04:43:42 +00:00
George Schlossnagle
dd090f4a77
One line fix so that it will compile
2003-04-10 03:11:27 +00:00
Harald Radi
07e775bcde
removing the *syntactical sugar* again
...
# commiting that on behalf of the community :)
# don't blame me, i'm just acting as a proxy
2003-04-09 20:23:06 +00:00
Andrei Zmievski
591863d4b0
Switch some functions to use new zend_lookup_ns_class() methods. This
...
means that they will accept both simple and fully qualified class names.
2003-04-08 18:22:32 +00:00
Andrei Zmievski
e5f4c783bc
Rename zend_register_internal_class_in_ns() to a better, less filling,
...
but with the same great taste zend_register_internal_ns_class().
2003-04-08 17:40:56 +00:00
Andrei Zmievski
3b47a64269
Add zend_lookup_ns_class() function.
2003-04-08 17:10:01 +00:00
Andrei Zmievski
2154cddd0e
Move memnstr into Zend and make an alias for BC in PHP.
2003-04-08 15:04:26 +00:00
bf554c279f
ChangeLog update
2003-04-08 00:31:01 +00:00
foobar
0abeba5895
Fixed bug #23093 (highlight_string() crashed with __FUNCTION__)
2003-04-07 22:51:28 +00:00
Sterling Hughes
5ae7fa422d
add markers that make this file easy to parse for external sources
2003-04-07 21:48:17 +00:00
622340a119
ChangeLog update
2003-04-05 01:30:51 +00:00
Andrei Zmievski
81482833b5
Introduce ZEND_ME() and ZEND_METHOD() macros. Use these for declaring
...
class methods to avoid name collisions.
2003-04-04 15:38:20 +00:00
Stanislav Malyshev
6ed305945d
Fix namespace issues
2003-04-04 12:25:47 +00:00
8809836586
ChangeLog update
2003-04-04 01:30:57 +00:00
Andrei Zmievski
e3f1641527
Patch from Timm Friede for when EG(active_namespace) is NULL initially.
2003-04-03 19:05:25 +00:00
Andrei Zmievski
91eff553e3
Initialize all relevant zend_class_entry fields to avoid accidental
...
crashes.
2003-04-03 14:44:41 +00:00
Sebastian Bergmann
76097eda64
Leftover.
2003-04-03 05:06:03 +00:00
Sterling Hughes
4fa866d667
i will not commit before 12:00
...
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
i will not commit before 12:00
2003-04-03 03:07:58 +00:00
61e60f4ffe
ChangeLog update
2003-04-03 01:30:48 +00:00
Andrei Zmievski
3d62a3491e
- Add zend_register_internal_namespace() API function.
...
- Add zend_register_internal_class_in_ns() API function.
2003-04-02 20:27:44 +00:00
Andrei Zmievski
1885d00861
Simplify.
2003-04-02 18:15:08 +00:00
Derick Rethans
7627bf7b36
- Fix whitespace
2003-04-02 17:23:04 +00:00
Sterling Hughes
bb7c2ddb23
add the ability for curl_multi_info to introspect the handles.
...
# Zend commit doesn't break anything, so I'm committing it. If anyone
# has problems, just speak up. :)
2003-04-02 16:58:52 +00:00
Andrei Zmievski
bdd3b6042c
Implement a different way to catch documentation comments.
2003-04-02 16:51:49 +00:00
Andrei Zmievski
e6255b06b1
Revert portions of the doc comment patch. There should be no parser
...
errors now.
2003-04-02 16:13:12 +00:00
Stanislav Malyshev
800de8acb0
allow class_exists() to work with namespaces too.
...
add CLASS_IS_NAMESPACE macro
2003-04-02 15:28:31 +00:00
Stanislav Malyshev
e12415c945
fix typo
2003-04-02 15:03:24 +00:00
Stanislav Malyshev
8a03806a80
fix parameterless get_declared_classes call
2003-04-02 10:36:37 +00:00
1a0b455d71
ChangeLog update
2003-04-02 01:30:47 +00:00
Andrei Zmievski
1ad9bd68ff
Stas's patch on zend_execute.c (1.448 -> 1.449) resulted in a bug where
...
the namespaced member accesses didn't work. This should hopefully
correct it.
2003-04-01 21:02:02 +00:00
Andrei Zmievski
62f9eb8006
Split ZEND_NAMESPACE into user and internal namespaces. Hope this is
...
okay with engine folks.
2003-04-01 19:37:04 +00:00
Stanislav Malyshev
438aaf720f
improve namespace name hanfling
2003-04-01 09:43:30 +00:00
Stanislav Malyshev
334702d69a
fix get_declared_classes()
2003-04-01 09:27:05 +00:00
Stanislav Malyshev
59af205988
Add __NAMESPACE__ auto-constant.
2003-04-01 09:22:41 +00:00
Stanislav Malyshev
f9fae74ab6
make get_declared_classes() work with namespaces (based on Tal Peer's patch)
2003-04-01 08:26:14 +00:00
6a0d4df691
ChangeLog update
2003-04-01 01:30:46 +00:00
Andrei Zmievski
5657b83691
Multi-purpose patch:
...
- The fields of zend_namespace were not completely initialized which
led to a variety of problems.
- The occurrence of class/interface/namespace definition is now
captured.
- Functions/classes/interfaces/namespaces can be preceded by doc
comments which are stored for use by extensions.
2003-03-31 20:42:01 +00:00
Stanislav Malyshev
26c51b73f1
Use strncpy instead of sprintf
2003-03-31 07:34:05 +00:00
0367454d42
ChangeLog update
2003-03-31 01:30:45 +00:00
Andrei Zmievski
52372c31cd
Since zend_do_begin_class_member_function_call assumes the previous
...
opcode is FETCH_CONSTANT, swap the calls around.
2003-03-30 18:51:04 +00:00
Sebastian Bergmann
8c06829b11
ZTS fix.
2003-03-30 13:40:40 +00:00
Stanislav Malyshev
f008808c82
Try to report class name of the exception
2003-03-30 13:19:00 +00:00
Stanislav Malyshev
bd4cdab9cf
Fix namespace switch
2003-03-30 12:39:49 +00:00
46832dbcab
ChangeLog update
2003-03-30 01:30:49 +00:00
Zeev Suraski
96231c3ab5
Add missing initialization
2003-03-29 19:20:35 +00:00
Zeev Suraski
20860feef1
Fix crash
2003-03-29 11:27:17 +00:00
Zeev Suraski
5097be302e
Initial support for enforcing prototype of abstract/interface method implementations
2003-03-29 11:19:38 +00:00
Sterling Hughes
05dfd313fb
remove unused variable
2003-03-29 05:19:27 +00:00
c6e7dead32
ChangeLog update
2003-03-28 01:30:46 +00:00
Stanislav Malyshev
1972a656e7
fix fetch_class buglet
2003-03-27 17:57:47 +00:00
953d61e173
ChangeLog update
2003-03-27 01:30:59 +00:00
Stanislav Malyshev
43e87093c1
Un-nest namespaces - now namespace X { namespace Y {} } is a parse error
...
Also refine namespaced includes
2003-03-26 20:42:23 +00:00
Ilia Alshanetsky
018d851129
Fixed bug #22900 (declaration of namespaces with same name results in leaks).
2003-03-26 17:06:08 +00:00
Sebastian Bergmann
3fc852824f
Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().
2003-03-26 07:44:11 +00:00
Sebastian Bergmann
866332a4b8
Eliminate TSRMLS_FETCH() calls in zend_objects_new() and zend_objects_get_address().
2003-03-26 06:32:53 +00:00
7c86ea761d
ChangeLog update
2003-03-26 02:25:54 +00:00
Andi Gutmans
85d2c35bfa
- Temporarily fix problem with inheriting from an internal class. This might
...
- need some rework in the future (thanks to Marcus)
2003-03-25 20:36:26 +00:00
8712da0e39
ChangeLog update
2003-03-25 02:26:04 +00:00
Ilia Alshanetsky
d53b487633
MFHZE2
2003-03-24 14:53:30 +00:00
Stanislav Malyshev
268a14e049
Fix {include|require}_once error message - if open
...
fails, don't use tream, use original name.
2003-03-24 11:54:42 +00:00
91a9f27084
ChangeLog update
2003-03-24 01:34:32 +00:00
Andi Gutmans
eba65486ad
- Fix win32 build
2003-03-23 21:27:22 +00:00
Stanislav Malyshev
5f47d77b42
resore namespace on shutdown - since some functions use
...
EG() and CG() pointers
2003-03-23 18:13:49 +00:00
Sebastian Bergmann
2698a4bd05
ZTS fix.
2003-03-23 17:18:31 +00:00
Zeev Suraski
0aef71ff89
Another fix for implicit public, perhaps it was not such a good idea :I
2003-03-23 08:14:41 +00:00
Sebastian Bergmann
2dc388e73e
Add new files to ZendTS.dsp. Sync list of files in Zend.dsp with ZendTS.dsp. ZTS fixes.
2003-03-23 06:57:16 +00:00
Sterling Hughes
91a2475485
DEFAULT_CLASSES_H not DEFAULT_INTERFACES_H
2003-03-23 04:34:00 +00:00
Sterling Hughes
e6dfbc9565
add a standard Exception class.
2003-03-23 04:32:24 +00:00
6dd4cddb7f
ChangeLog update
2003-03-23 01:33:20 +00:00
Shane Caraveo
170de9b95c
export functions needed by cli
2003-03-22 23:26:00 +00:00
Shane Caraveo
0a3ca34e87
fix crash in win32 debug build
2003-03-22 21:22:40 +00:00
00920f5207
ChangeLog update
2003-03-21 01:37:46 +00:00
Stanislav Malyshev
70fff75187
Add stdlib.h too - it is needed fot strto{ld}
2003-03-20 17:41:40 +00:00
87a06aa8ea
ChangeLog update
2003-03-20 01:33:31 +00:00
Andrei Zmievski
39d5a63803
- Keep track of starting/ending line numbers for user functions.
...
- Store last parsed doc comment in a compiler global for future use.
2003-03-19 21:17:47 +00:00
Andrei Zmievski
3a297fac22
Lowercase the function name when used as key in the function name. The
...
original case is still preserved in zend_function structure.
2003-03-19 21:07:49 +00:00
801966d951
ChangeLog update
2003-03-19 01:33:04 +00:00
Zeev Suraski
40326f6adf
- Fix situation where a derived class declares a public (or implicit public)
...
with the same name as a private in the parent
- Optimize 'static binding' of private properties a bit
2003-03-18 16:30:23 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
14e9434586
ChangeLog update
2003-03-18 01:35:05 +00:00
Stanislav Malyshev
eb5fe6944d
MFZE1
2003-03-17 14:41:04 +00:00
foobar
3a26859829
Added missing zend_mm.c file and renamed zend_object_API.c -> zend_objects_API.c
2003-03-17 11:23:42 +00:00
026bd025ec
ChangeLog update
2003-03-14 01:32:56 +00:00
Andrei Zmievski
dedfa808bb
Fix warning in va_start().
2003-03-13 20:41:58 +00:00
984ab6d412
ChangeLog update
2003-03-13 01:33:14 +00:00
Andrei Zmievski
0c571538a8
Initialize the namespace when registering functions.
...
# Correct me if I'm wrong..
2003-03-12 21:43:42 +00:00
Zeev Suraski
fa7dc03edb
Fix a crash bug in the implicit public declaration
2003-03-12 09:38:19 +00:00
b838618029
ChangeLog update
2003-03-12 01:33:33 +00:00
Zeev Suraski
d405373270
Fix handling of ::func()
2003-03-11 23:19:45 +00:00
0f949bbfa1
ChangeLog update
2003-03-11 01:33:44 +00:00
Zeev Suraski
3e7cf8e15e
Clean redundant code
2003-03-10 07:20:43 +00:00
foobar
f8fc50ed6d
Fixed some leaks. Patch by Moriyoshi
2003-03-10 03:04:02 +00:00
ebf4931bcf
ChangeLog update
2003-03-10 01:32:59 +00:00
Shane Caraveo
9539dddc49
fix isinf for win32
2003-03-10 01:12:22 +00:00
Zeev Suraski
12cbee7b05
Optimize
2003-03-09 22:23:27 +00:00
Zeev Suraski
0eae231254
Fix handling of ::foo
2003-03-09 22:17:15 +00:00
Zeev Suraski
3012bdc332
Cleanup
2003-03-09 22:02:37 +00:00
Andi Gutmans
b3ebb11549
- Nuke junk
2003-03-09 21:12:12 +00:00
Zeev Suraski
8bc88d8df4
Fix parsing rules of namespaces/classes
2003-03-09 20:53:57 +00:00
Zeev Suraski
a89abf9162
Add ability to use ::interface_name in implements
2003-03-09 17:07:15 +00:00
Zeev Suraski
8e1917bdbe
Fix :: handling
2003-03-09 17:06:52 +00:00
fcd1cbfbf7
ChangeLog update
2003-03-08 01:31:41 +00:00
Sebastian Bergmann
81a346e4fe
Dedicated to Greg Beaver <greg@chiaraquartet.net>.
2003-03-07 16:45:41 +00:00
Sebastian Bergmann
ba18cd1a45
Document 'final'.
2003-03-07 11:51:19 +00:00
Sebastian Bergmann
55826fbeb5
Fix class type hints example.
2003-03-07 06:29:07 +00:00
Sebastian Bergmann
63dfff02b1
Update 'abstract' section.
2003-03-07 05:19:19 +00:00
foobar
3c9155e0cb
Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
...
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
f303054b9e
ChangeLog update
2003-03-07 01:32:35 +00:00
foobar
66052056c7
Better fix for the memleaks (bug 19943) by Moriyoshi
2003-03-07 00:28:25 +00:00
Zeev Suraski
805f98065d
Fix warnings
2003-03-06 23:45:50 +00:00
Zeev Suraski
ce4690685d
Fix error message
2003-03-06 23:09:57 +00:00
Zeev Suraski
0338111950
Require abstract classes to be explicitly declared 'abstract', in order to
...
avoid making developers traverse the entire class/interface hierarchy
before they can figure out whether a class is instantiable
(ok, so it makes sense :)
2003-03-06 22:53:23 +00:00
Sebastian Bergmann
44b6894361
-german+english+.
2003-03-06 16:39:45 +00:00
Sebastian Bergmann
8f8a534c7a
D some TBDs
2003-03-06 16:30:21 +00:00
foobar
4a8abb2f3d
Fixed bug #19943 (the memleaks)
2003-03-06 16:27:05 +00:00
Ilia Alshanetsky
2b13eb4f53
More cleanup of the zend_strip() function.
...
No longer strip __LINE__, since while it may become useless it could break
code where __LINE__ is passed as a function parameter.
2003-03-06 15:38:28 +00:00
Ilia Alshanetsky
2cb46d4479
Fixed in zend_strip() that corrupted heredoc.
...
Optimized the writing routine by moving from putchar() to fwrite().
Changed hardcoded opcode # to it's defined name.
2003-03-06 14:47:13 +00:00
Zeev Suraski
44347cf64b
Change opcode name
2003-03-06 14:42:36 +00:00
Zeev Suraski
ff76511a08
Add class type hints
2003-03-06 14:31:17 +00:00
3944d7d897
ChangeLog update
2003-03-06 01:33:18 +00:00
Zeev Suraski
812d91d08c
Fix auto globals
2003-03-05 21:36:30 +00:00
Zeev Suraski
6ad2420d2d
Implement $obj::static_func()
2003-03-05 13:25:33 +00:00
Zeev Suraski
26dd8492ed
Add support for interfaces
2003-03-05 11:14:44 +00:00
41a7bc4271
ChangeLog update
2003-03-05 01:33:51 +00:00
Zeev Suraski
d5ada68654
Remove legacy code
2003-03-04 13:52:03 +00:00
Zeev Suraski
e0c3e2cf93
Remove redundant code
2003-03-04 13:36:16 +00:00
4c0c7837a7
ChangeLog update
2003-03-04 01:33:08 +00:00
Harald Radi
3f8c08b5e1
add missing strtolower
2003-03-03 01:56:14 +00:00
e2a27a23a5
ChangeLog update
2003-03-03 01:32:58 +00:00
Harald Radi
a700180f5d
commiting zend_disable_class patch for George:
...
disabled classes will be replaced by dummy classes
that print a warning upon instanciation
2003-03-03 01:22:43 +00:00
Zeev Suraski
36eae0b771
Fix destructors some more
2003-03-02 15:24:04 +00:00
Zeev Suraski
98b990e336
Improve infrastructure
2003-03-02 13:33:31 +00:00
Zeev Suraski
f7b7800479
Add infrastructure for JIT initialization of auto globals
2003-03-02 10:04:53 +00:00
4128be7f8d
ChangeLog update
2003-03-02 01:32:28 +00:00
Zeev Suraski
805637b06d
Fix mem leak
2003-03-01 19:08:41 +00:00
Andi Gutmans
1a7c0d52dc
- Make __construct() have higher priority than class name functions
...
- for constructors.
- Fix problem with the engine allowing final/abstract for the same method.
- Both patches are by Marcus Börger.
2003-03-01 14:57:49 +00:00
7be8179520
ChangeLog update
2003-02-28 01:31:36 +00:00
10fb8dadd8
ChangeLog update
2003-02-27 01:42:36 +00:00
Rasmus Lerdorf
0b5ffc4f1c
MFB: We know ini file scanning will never be interactive, so speed it up a
...
bit. Need a dynamic check for the language scanner.
2003-02-27 00:11:43 +00:00
Sebastian Bergmann
189d29061e
Syntactic sugar is sweet.
2003-02-26 08:27:14 +00:00
fd40b6d3f5
ChangeLog update
2003-02-26 02:03:08 +00:00
Zeev Suraski
5793784c93
Get the bits right - final/private fix
2003-02-25 10:03:26 +00:00
foobar
5132f3cb54
Do not redefine zend_isnan if it is already defined.
2003-02-25 07:46:15 +00:00
foobar
e9b5e34005
- Fixed bug #14245 ('make install' fails on AIX when using --with-apxs).
2003-02-25 06:35:43 +00:00
96563ce34f
ChangeLog update
2003-02-25 01:33:26 +00:00
Stanislav Malyshev
3cf20f86db
fix exception handling
2003-02-24 13:35:47 +00:00
Zeev Suraski
535aa63293
Add 'final'
2003-02-24 12:05:58 +00:00
Sebastian Bergmann
37d529f100
Remove obsolete not on redeclaring protected members.
2003-02-24 10:38:43 +00:00
Sebastian Bergmann
99c358c7cb
Leftover.
2003-02-24 10:37:45 +00:00
Sebastian Bergmann
57ae4a5ac4
Initial documentation of namespace {}.
2003-02-24 10:35:39 +00:00
424636f0dc
ChangeLog update
2003-02-24 01:32:18 +00:00
Zeev Suraski
731a55ad52
Move abstract inheritance logic to the right spot
2003-02-23 13:58:48 +00:00
Zeev Suraski
bb956372a5
Fixed abstract handling in inheritence
2003-02-23 12:51:40 +00:00
7884793dcb
ChangeLog update
2003-02-21 01:32:23 +00:00
Wez Furlong
f8e414ef70
*cough*
...
Fix another stupid mistake.
2003-02-20 21:48:46 +00:00