On Fri, Jan 04, 2008 at 02:06:09PM -0500, Sam Barrow wrote:

> > No, it's not better. Having GD image instead of mysql connection is not 
> > better than having integer in any way. It would just produce different 
> > error message, so what?
> 
> That's actually very true.

But the liklyhood is that the programmer will pass an int/float/string/...
rather than the wrong resource type. 'resource' will still be very useful
and catch many errors without being 100% perfect.

-- 
Alain Williams
Linux Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: 
http://www.phcomp.co.uk/contact.php
Chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>

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

Reply via email to