#
21b04ff2 |
| 13-Feb-2002 |
Andi Gutmans |
@ Allow a series of consecutive catch() statements (Andi, Zend Engine) <?php class MyException1 { } class MyException2 { }
@ Allow a series of consecutive catch() statements (Andi, Zend Engine) <?php class MyException1 { } class MyException2 { } try { throw new MyException2(); } catch (MyException1 $m) { print "Caught MyException1"; } catch (MyException2 $m) { print "Caught MyException2"; }
show more ...
|
Revision tags: BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH |
|
#
2131b019 |
| 20-Jan-2002 |
Andi Gutmans |
- Improve performance of functions that use $GLOBALS[] - Please check this and make sure it doesn't break anything.
|
#
a0ab80ab |
| 19-Jan-2002 |
Thies C. Arntzen |
MFZE1
|
#
f1e8815c |
| 13-Jan-2002 |
Andi Gutmans |
- Change exception handling to use the Java-like catch(MyException $exception) - semantics. Example: <?php class MyException { function __construct($excep
- Change exception handling to use the Java-like catch(MyException $exception) - semantics. Example: <?php class MyException { function __construct($exception) { $this->exception = $exception; } function Display() { print "MyException: $this->exception\n"; } } class MyExceptionFoo extends MyException { function __construct($exception) { $this->exception = $exception; } function Display() { print "MyException: $this->exception\n"; } } try { throw new MyExceptionFoo("Hello"); } catch (MyException $exception) { $exception->Display(); } ?>
show more ...
|
#
62dc854b |
| 06-Jan-2002 |
Sebastian Bergmann |
Happy New Year.
|
#
ae1a7025 |
| 28-Dec-2001 |
Andi Gutmans |
- Fix some case insensitivity stuff in respect to classes
|
#
b14f6cf7 |
| 28-Dec-2001 |
Andi Gutmans |
- Support default arguments for reference parameters - Fix two compile warnings
|
#
2ce4b476 |
| 26-Dec-2001 |
Andi Gutmans |
- Initial support for _clone()
|
#
f85c818f |
| 26-Dec-2001 |
Andi Gutmans |
- Start fixing the parsing rules so that function and method calls - can't be used in a write context.
|
Revision tags: php-4.1.1 |
|
#
e1e02af5 |
| 25-Dec-2001 |
Andi Gutmans |
- Revert delete syntax patch
|
#
9e7c0d67 |
| 22-Dec-2001 |
Andi Gutmans |
- Add initial capability of defining nested classes as class foo::bar
|
#
1e56cac3 |
| 16-Dec-2001 |
Andi Gutmans |
- Seems like most people prefer delete($obj) over delete $obj.
|
#
ac7ed464 |
| 16-Dec-2001 |
Andi Gutmans |
- Start adding parsed variable checks.
|
#
880e7d8c |
| 16-Dec-2001 |
Andi Gutmans |
- Framework for knowing what kind of variable we just parsed. - This will be used in compile-time error checking which couldn't be done - at the level of the grammar.
|
#
7c749c18 |
| 13-Dec-2001 |
Andi Gutmans |
- Rearrange grammar to allow dereferencing of objects returned from - functions. It still crashes though.
|
Revision tags: PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog |
|
#
74efc41f |
| 12-Dec-2001 |
Andi Gutmans |
- Make classes have scope and function/constant lookups default to the class
|
#
d863d52a |
| 11-Dec-2001 |
Sebastian Bergmann |
Update headers.
|
#
3bfee898 |
| 10-Dec-2001 |
Andi Gutmans |
- More namespaces work. - Nuke memory leak.
|
Revision tags: php-4.1.0 |
|
#
42486196 |
| 06-Dec-2001 |
Andi Gutmans |
- Initial work on changing namespace scope. Only methods & variables - right now. <? $hey = "Global hey\n"; class foo { static $hey = "Namespa
- Initial work on changing namespace scope. Only methods & variables - right now. <? $hey = "Global hey\n"; class foo { static $hey = "Namespace hey\n"; function bar() { print "in foo::bar()\n"; } } function bar() { print "in bar()\n"; } bar(); namespace foo; bar(); namespace; bar(); namespace foo; $bar_indirect = "bar"; $bar_indirect(); namespace; print $hey; namespace foo; print $hey; $hey = "Namespace hey #2\n"; namespace; print $hey; $hey = "Global hey #2\n"; namespace foo; print $hey; ?>
show more ...
|
#
fe94f594 |
| 06-Dec-2001 |
Andi Gutmans |
- Nuke the namespace work I did. It'll be redone differently.
|
Revision tags: php-4.1.0RC5, php-4.1.0RC4 |
|
#
e858d278 |
| 30-Nov-2001 |
Andi Gutmans |
- Initial support for class constants. There are still a few semantic - issues which need to be looked into but basically it seems to work. - Example: <?php class foo
- Initial support for class constants. There are still a few semantic - issues which need to be looked into but basically it seems to work. - Example: <?php class foo { const hey = "hello"; } print foo::hey; ?>
show more ...
|
#
f2890149 |
| 27-Nov-2001 |
Andi Gutmans |
- Support syntax for class constants (doesn't do anything yet but - required some reworking of the grammar).
|
#
7cd6ccc0 |
| 26-Nov-2001 |
Andi Gutmans |
- Support static $var = 0; style initialization of static class - members. For example: - class foo { - static $my_static = 5; - - } - - pr
- Support static $var = 0; style initialization of static class - members. For example: - class foo { - static $my_static = 5; - - } - - print foo::$my_static;
show more ...
|
#
d2da63f6 |
| 25-Nov-2001 |
Andi Gutmans |
- Support static members. The following script works: <? class foo { class bar { function init_values()
- Support static members. The following script works: <? class foo { class bar { function init_values() { for ($i=1; $i<10; $i++) { foo::bar::$hello[$i] = $i*$i; } } function print_values() { for ($i=1; $i<10; $i++) { print foo::bar::$hello[$i] . "\n"; } } } } foo::bar::init_values(); foo::bar::print_values(); for ($i=1; $i<10; $i++) { print $hello[$i]?"Shouldn't be printed\n":""; } ?>
show more ...
|
Revision tags: php-4.1.0RC3, php-4.1.0RC2 |
|
#
9382ddec |
| 05-Nov-2001 |
Stig S. Bakken |
non-zts compile fix
|