Same logic is applicable, in the event of failure false or invalid resource maybe returned.

Ilia

Markus Bertheau wrote:
Ð ÐÐÐ, 08.11.2004, Ð 16:33, Ilia Alshanetsky ÐÐÑÐÑ:

The error functions do so because they are likely to be called if creation of a connection fails so there may not always be a valid resource. The state checking function would presumably be only run on a valid connection and consequently should be strict about the resource parameter (IMO).


Both function take result resources, not connection resources.

Markus


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



Reply via email to