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() 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 
To unsubscribe, visit: http://www.php.net/unsub.php




[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?

-eric



-- 
PHP Development Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php