Zeev Suraski
c17c7a2bfa
Centralize class initialization
2003-02-10 16:11:24 +00:00
Zeev Suraski
17439aa9c4
Rework static class properties - now supports access restrictions
2003-02-05 13:35:52 +00:00
Zeev Suraski
471947b188
Reimplement PPP properties
2003-02-04 12:12:34 +00:00
foobar
333406bdc2
- Added some missing CVS $Id$ tags, headers and footers.
2003-02-01 01:49:15 +00:00
Stanislav Malyshev
f30f3590a1
ws
2003-01-14 12:13:51 +00:00
Stanislav Malyshev
d48ffd97d6
RIP handle_* functions. ZE2 will use __ handlers instead.
...
# Yes, I know this will break some things. I will fix those I can find shortly.
2003-01-12 17:16:07 +00:00
Sebastian Bergmann
24db7f182a
ZTS fixes.
2003-01-12 14:25:58 +00:00
Stanislav Malyshev
9bba373a17
Use generic handlers instead of Z_OBJ
2003-01-12 13:45:50 +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
Derick Rethans
2c44fab3a0
- Ported the zend_execute_internal hook to ZendEngine2.
2003-01-11 16:12:44 +00:00
Zeev Suraski
b817dab206
Fix leak
2003-01-09 09:22:44 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +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
27de54b0df
- MFZE1
2002-12-01 19:47:02 +00:00
Andi Gutmans
f222884e2d
- Revert as the patch doesn't compile
2002-12-01 19:22:30 +00:00
Andi Gutmans
b6ecd6704c
- MFZE1
2002-12-01 19:07:07 +00:00
Andi Gutmans
671fff2fde
h WHitespace
2002-11-30 11:20:25 +00:00
Andi Gutmans
2de45bec65
- Initialize constants_updated (by Marcus)
2002-11-29 16:35:46 +00:00
Andi Gutmans
5cb8fabb7d
- Fix crash
2002-11-24 20:15:56 +00:00
Zeev Suraski
4be862b02c
MFZE1 - error_reporting fix
2002-11-19 17:51:30 +00:00
Stig Bakken
b899f9bf63
Fixed some special cases that were crashing for the exception default
...
handler.
2002-11-05 06:10:05 +00:00
Derick Rethans
e6054d2857
- MFZE1
2002-11-02 09:05:18 +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
Ilia Alshanetsky
e842ef9f4b
MFZE1 (floats & locale issue)
2002-10-12 21:15:35 +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
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
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
71126a21bc
ZE2 fix
2002-09-17 12:44:10 +00:00
Zeev Suraski
711be83d49
MFZE1 - threading fix
2002-09-17 12:42:11 +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
Zeev Suraski
e801a99a50
MFZE1
2002-09-03 10:25:06 +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
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
Zeev Suraski
0bb780b384
MFZE1
2002-08-15 00:25:27 +00:00
Andi Gutmans
41e3f4f0c3
- Fix problem with debug_backtrace() reported by Stig. We weren't reporting
...
- global function information because it wasn't available. We have to do
- an additional assignment per-function call so that it'll be available.
- Also don't define the global scope as function name _main_ but leave it
- empty so that frameworks like Pear can decide what they want to do.
2002-07-26 10:38:25 +00:00
Andi Gutmans
bc5ea87e28
- Commit patch to support protected member variables (by Timm Friebe w/
...
- some fixes by me).
- You can't access protected variables from outside the object. If you want
- to see a protected member from your ancestors you need to declare the
- member as protected in the class you want to use it in. You can't
- redeclare a protected variable as private nor the other way around.
2002-07-15 18:09:56 +00:00
Derick Rethans
d4acdd349f
- MFZE1
2002-06-18 17:36:33 +00:00
Andi Gutmans
b66c89c47a
- More debug backtrace work. It still doesn't work very well...
2002-05-07 18:42:13 +00:00
Andi Gutmans
fb6976e46d
- Another couple of indirection fixes.
...
- Make class_entry->refcount be part of the structure and not allocated.
2002-03-12 19:22:29 +00:00
Stanislav Malyshev
92dd5e611b
- make class tables contain class_entry *, not class_entry
...
- fix isset($this)
2002-03-12 10:08:47 +00:00
Andi Gutmans
7df1601239
- MFZE1
2002-02-26 19:17:26 +00:00
Andi Gutmans
00e90f2ff3
- Experimental support for private members.
...
<?
class MyClass {
private $Hello = "Hello, World!\n";
function printHello()
{
print $this->Hello;
}
}
class MyClass2 extends MyClass {
function printHello()
{
MyClass::printHello(); /* Should print */
print $this->Hello; /* Shouldn't print out anything */
}
}
$obj = new MyClass();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello(); /* Should print */
$obj = new MyClass2();
print $obj->Hello; /* Shouldn't print out anything */
$obj->printHello();
?>
2002-02-21 11:50:44 +00:00
Andi Gutmans
b9355b9a11
- Output error when there's an uncaught exception (by Timm Friebe)
2002-01-06 20:30:41 +00:00
Sebastian Bergmann
62dc854bb0
Happy New Year.
2002-01-06 15:21:36 +00:00