Hi,

I would appreciate it if the database extensions would no longer return
false when no rows are left in the result set but instead return null.

The current way of returning false creates a level of ambiguity which can
lead to serious issue in error handling.

For example in mysql there is no way in knowing if you get false and then
check for an error if the error was actually created by the fetch call or if
the error was created by some other call to any of the mysql functions.

Please see this bug for another example:
http://bugs.php.net/bug.php?id=22328

Regards,
Lukas Smith
[EMAIL PROTECTED] 
_______________________________ 
  BackendMedia 
  www.backendmedia.com 
  [EMAIL PROTECTED] 

  Linn Zwoch Smith GbR 
  Pariser Str. 44 
  D-10707 Berlin 

  Tel +49 30 83 22 50 00 
  Fax +49 30 83 22 50 07

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

Reply via email to