diff options
author | Andi Gutmans <andi@php.net> | 2001-11-04 19:30:49 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-11-04 19:30:49 +0000 |
commit | a332f826a7219c6aa8dda0df538c932963ef0573 (patch) | |
tree | 62e2e4e913ebd0c638aa5982370ae53e11566175 /ext/mysql/libmysql/safemalloc.c | |
parent | bddb9539f71cfcfd5d13a721903ae54f8a08bfea (diff) | |
download | php-git-a332f826a7219c6aa8dda0df538c932963ef0573.tar.gz |
- 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();
-
Diffstat (limited to 'ext/mysql/libmysql/safemalloc.c')
0 files changed, 0 insertions, 0 deletions