Re: [PHP-DEV] unset isn't a function anymore...

2002-12-04 Thread Derick Rethans
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()

[PHP-DEV] unset isn't a function anymore...

2002-12-04 Thread Eric Coleman
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? 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