]> granicus.if.org Git - php/commit
- Support instantiation of nested class. The following script now should
authorAndi Gutmans <andi@php.net>
Sun, 4 Nov 2001 19:30:49 +0000 (19:30 +0000)
committerAndi Gutmans <andi@php.net>
Sun, 4 Nov 2001 19:30:49 +0000 (19:30 +0000)
commita332f826a7219c6aa8dda0df538c932963ef0573
tree62e2e4e913ebd0c638aa5982370ae53e11566175
parentbddb9539f71cfcfd5d13a721903ae54f8a08bfea
- 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();
-
Zend/zend_compile.c
Zend/zend_compile.h
Zend/zend_execute.c
Zend/zend_language_parser.y