diff options
author | Andi Gutmans <andi@php.net> | 2001-12-06 17:47:04 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-12-06 17:47:04 +0000 |
commit | 42486196ad5e92d248b62b9c0691969ab81ef453 (patch) | |
tree | fb4f1d0c2afee6809baa07c67ea26730b4391e68 /ext/mssql/php_mssql.c | |
parent | fe94f594272f797c6bb66c3c5a4ad64bbb1d7c73 (diff) | |
download | php-git-42486196ad5e92d248b62b9c0691969ab81ef453.tar.gz |
- 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;
?>
Diffstat (limited to 'ext/mssql/php_mssql.c')
0 files changed, 0 insertions, 0 deletions