On Fri, 2008-01-04 at 11:27 -0800, Stanislav Malyshev wrote: > > About the same, but the @param comment doesn't stop someone from putting > > an array into $client. > > No, it doesn't. The function should handle that.
Ok, in a bunch of extra unwanted code and a call to trigger_error(). Or we could take the easy way and put "string" before the argument. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php