#
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
|
Revision tags: PRE_METHOD_DEREFERENCE_PATCH, BEFORE_PARAM_PARSING_CHANGE |
|
#
5af7770a |
| 07-Aug-2001 |
Andi Gutmans |
- Sync Engine2 CVS with latest Engine CVS
|
Revision tags: PRE_ENGINE2_SPLIT |
|
#
8ce8324e |
| 30-Jul-2001 |
Zeev Suraski |
More TSRMLS_FETCH annihilation
|
#
b4f3b9d3 |
| 28-Jul-2001 |
Zeev Suraski |
Redesigned thread safety mechanism - nua nua
|
#
2c254ba7 |
| 27-Jul-2001 |
Zeev Suraski |
Get rid of ELS_*(), and use TSRMLS_*() instead. This patch is *bound* to break some files, as I must have had typos somewhere. If you use any uncommon extension, please try to build it...
|
Revision tags: PRE_TSRM_MERGE_PATCH |
|
#
ec6c9f67 |
| 15-Jul-2001 |
Zeev Suraski |
Optimize the parser a bit
|
#
73f488b3 |
| 15-Jul-2001 |
Zeev Suraski |
Allow indirect reference to method names in class::method() construct
|