#
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
|
#
a332f826 |
| 04-Nov-2001 |
Andi Gutmans |
- Support instantiation of nested class. The following script now should - work: -<?php - class foo - { - function bar() - { -
- Support instantiation of nested class. The following script now should - work: -<?php - class foo - { - function bar() - { - print "bar() in class bar\n"; - } - - class barbara - { - function bar() - { - print "bar() in class foo::barbara\n"; - } - } - } - - $obj = new foo(); - $obj->bar(); - - $obj = new foo::barbara(); - $obj->bar(); -
show more ...
|
#
26578c38 |
| 29-Oct-2001 |
Andi Gutmans |
- Initial support for nested class definitions
|
Revision tags: POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1, php4, php-4.0.7RC3 |
|
#
2eabb14d |
| 30-Sep-2001 |
Andi Gutmans |
- Merge the NAMESPACES_BRANCH. It wasn't a good idea to have a branch when - the whole CVS tree is work in progress
|
Revision tags: POST_SUBST_Z_MACROS, PRE_SUBST_Z_MACROS |
|
#
d7536a8a |
| 07-Sep-2001 |
Andi Gutmans |
- Shift around the variable parsing code to make it simpler.
|
Revision tags: php-4.0.7RC2 |
|
#
7c4a0cc6 |
| 03-Sep-2001 |
Andi Gutmans |
- CLS_CC -> TSRMLS_CC
|
#
29f5dbe1 |
| 30-Aug-2001 |
Andi Gutmans |
- Initial support for exceptions.
|
Revision tags: php-4.0.7RC1, BEFORE_EXP_MERGE |
|
#
4f6c95d1 |
| 11-Aug-2001 |
Zeev Suraski |
Whitespace
|
#
cb1a40f3 |
| 08-Aug-2001 |
Andi Gutmans |
- Preliminary patch for method() dereferencing
|