On Thu, 27 May 2010, Johannes Schlüter wrote:

> On Thu, 2010-05-27 at 06:59 -0400, Ilia Alshanetsky wrote:
> > As far as your example goes consider a function that expects a boolean, but
> > instead gets an int/string/float, which in nearly all cases will result in
> > TRUE. Which is not the desired outcome.
> 
> And I think that it will hurt quite a bit if we force our users to take
> care of their types.

*We* don't force anybody. API developers *could potentionally* force 
their consumers to take care about their types.

regards,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to