summaryrefslogtreecommitdiff
path: root/ext/domxml/php_domxml.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2002-03-15 15:28:06 +0000
committerAndi Gutmans <andi@php.net>2002-03-15 15:28:06 +0000
commitdb84afb206c8fe93539e9aa4465258ef6f8d7821 (patch)
tree4524428cc99b2be9a55ba520ca6b87d3fd470472 /ext/domxml/php_domxml.c
parent716e6a03db7639b4b9df1c58f6929c356e9ac765 (diff)
downloadphp-git-db84afb206c8fe93539e9aa4465258ef6f8d7821.tar.gz
- Scope fix. When calling an imported function the scope will change
- correctly to the scope of the functions class. <?php function Hello() { print "Wrong one\n"; } class MyClass { static $hello = "Hello, World\n"; function Hello() { print self::$hello; } function Trampoline() { Hello(); } } import function Trampoline from MyClass; Trampoline(); ?>
Diffstat (limited to 'ext/domxml/php_domxml.c')
0 files changed, 0 insertions, 0 deletions