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
Zeev Suraski
d405373270
Fix handling of ::func()
2003-03-11 23:19:45 +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
foobar
4a8abb2f3d
Fixed bug #19943 (the memleaks)
2003-03-06 16:27:05 +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
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
Stanislav Malyshev
e645f20d07
Allow namespaces to have a number of parts. I.e., now you can do:
...
namespace foo {
function abc() {}
}
...
namespace foo {
functio def() {}
}
2003-02-20 19:01:53 +00:00
Zeev Suraski
955636af69
Avoid using a C++ reserved word
2003-02-18 17:18:28 +00:00
Wez Furlong
e52aac940f
Implement simple stream support in the ZE scanners.
2003-02-18 09:37:54 +00:00
Zeev Suraski
d22cc2f329
Improve handling of static member variables
2003-02-17 14:06:39 +00:00
Zeev Suraski
ac0f7d9ed0
Fix complex cases of self-assignments (bugs #21600 , #22231 )
2003-02-16 19:18:23 +00:00
Zeev Suraski
f079bb65ff
Make EG(This) and EG(scope) available to internal methods
2003-02-16 19:10:27 +00:00
Zeev Suraski
004947221e
Revert patches - they weren't ready yet!
2003-02-16 18:34:48 +00:00
Georg Richter
60d1b378ed
fixed compiler warning
2003-02-16 18:04:29 +00:00
Georg Richter
c08bfd2e3f
tested patch from Zeev (fixes oo-bug in ext/mysqli)
2003-02-16 17:47:23 +00:00
Sebastian Bergmann
6d300baf84
ZTS fixes
2003-02-16 11:34:49 +00:00
Stanislav Malyshev
a4c3b2ce80
Namespace patch. Big changes:
...
1. Nested classes are gone.
2. New syntax for namespaces:
namespace foo {
class X { ... }
function bar { ... }
var x = 1;
const ZZ = 2;
}
3. Namespaced symbol access: $x = new foo::X; - etc.
For now, namespaces are case insensitive, just like classes.
Also, there can be no global class and namespace with the same name
(to avoid ambiguities in :: resolution).
2003-02-16 11:12:43 +00:00
Zeev Suraski
778ce2495d
whitespace
2003-02-10 11:49:21 +00:00
Zeev Suraski
dbb73d8f1e
Add ability to reference self:: and parent:: in constant initializers
...
(bug #21849 )
2003-02-10 09:45:27 +00:00
Zeev Suraski
edc8e67e3b
Remove redundant code
2003-02-10 08:32:44 +00:00
Zeev Suraski
55a66b1cb2
Fix the array() problem (and probably some other problems too)
2003-02-09 17:30:50 +00:00
Zeev Suraski
f660d28143
- read_property cleanup
...
- Implement unset/isset/empty for PPP
2003-02-05 14:27:30 +00:00
Zeev Suraski
17439aa9c4
Rework static class properties - now supports access restrictions
2003-02-05 13:35:52 +00:00
Zeev Suraski
61bd944b32
Core rearrangements - move Zend Objects specific code to their
...
specific implementation file
2003-02-02 16:17:25 +00:00
foobar
333406bdc2
- Added some missing CVS $Id$ tags, headers and footers.
2003-02-01 01:49:15 +00:00
Zeev Suraski
4b97a8dffd
Code rearrangements
2003-01-29 15:02:57 +00:00
Zeev Suraski
8f52bf6835
Fix assignments to $this.
...
Fixes the 'make install' problem reported on php-dev
2003-01-29 08:55:12 +00:00
Zeev Suraski
6155a1fa24
Allow methods in parent classes to call protected methods in derived
...
classes
2003-01-28 09:44:18 +00:00
Stanislav Malyshev
3a4ace13b4
Replace MAKE_VAR opcode with special 'data' opcode
...
This opcode is not executeable but only holds data for opcodes
that need more than two arguments (presently only ASSIGN_OBJ and the ilk but
in the future also ASSIGN_DIM)
2003-01-27 15:13:01 +00:00
Zeev Suraski
76c93412d3
Let the scope propagate to internal functions
2003-01-23 16:40:30 +00:00
Ilia Alshanetsky
72cd67b3ca
Fixed bug #21814 (Allow booleans to be used as array keys).
2003-01-22 14:48:30 +00:00
Ilia Alshanetsky
12d2b01a25
Fixed bug #20933 (isset/empty didn't work when used on string offsets).
2003-01-16 00:44:17 +00:00
Andi Gutmans
c073b76aac
- Change "is" to "instanceof" as it explains better what the operator means.
...
- "is_a" was also appropriate but ugly.
2003-01-14 21:29:23 +00:00
Zeev Suraski
424e98f4e2
Implemented compatibility mode
...
To enable - zend2.implicit_clone = on in php.ini or using ini_set()
2003-01-12 12:39:06 +00:00
Andi Gutmans
76c663b321
- Fix typo and whitespace
2003-01-11 17:04:16 +00:00
Derick Rethans
2c44fab3a0
- Ported the zend_execute_internal hook to ZendEngine2.
2003-01-11 16:12:44 +00:00
Zeev Suraski
77208ec4d6
Fix incorrect linkage of access-levels, when using private methods
2003-01-02 13:58:08 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Zeev Suraski
ce69b6f6ee
Support private/protected constructors
2002-12-07 21:37:09 +00:00
Zeev Suraski
c087d9e9e4
Fix error messages
2002-12-07 15:53:37 +00:00
Zeev Suraski
e062dffe6c
- Implement public/protected/private methods.
...
- Prevent instantiation of classes with abstract methods.
Based in part on Marcus's patch.
2002-12-06 17:09:44 +00:00
Andi Gutmans
671fff2fde
h WHitespace
2002-11-30 11:20:25 +00:00
Andi Gutmans
6aa90a75bd
- FN_IS_STATIC -> FN_STATIC
2002-11-24 20:32:49 +00:00
Andi Gutmans
e8214a3384
- Commit Marcus' cleanup of abstract and static inheritance and improve
...
- error messages
2002-11-23 20:44:12 +00:00
Sebastian Bergmann
ba1f645030
Show class name as well. Patch by Marcus Börger.
2002-11-22 06:19:04 +00:00