Posted by Water Cooler v2 on 08/14/07 21:14
> <?php > define('FOO','bar'); > $foz = 'baz'; > function test(){ > echo FOO; > echo $foz;} > > test(); > ?> I tried it on my machine. Shows a blank page. Is your argument that variables are limited by scope whereas constants have global (and not superglobal) scope?
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming