On Wed, 4 Dec 2002, Eric Coleman wrote: > Well since it isn't a function, shouldn't it be able to be used without > braces? > > Require/Include/Echo/Print all work that way?
wel, no, unset() is just fine, and changing it now would make less sense. THere are more functions like this btw, isset() for example, and empty(). > > Also, would it be easy to add something like ASP's sub to PHP? > > Basically like a function, but no return value. where the user could choose > to call it without parenthases? Not likely, I don't see what enhancements it brings. Derick -- ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php