From:             pulstar at ig dot com dot br
Operating system: Linux Debian
PHP version:      4.3.3
PHP Bug Type:     Feature/Change Request
Bug description:  mysql_ping result

Description:
------------
The mysql_ping() function could not return the response time of the
database server (or the ping time of its host) instead of just return
TRUE? This could be useful for test if a connection is slow or the server
is remote and user of not compression (I don't know if this could work
anyway). Well, PHP could aslo have functions for ping and traceroute, to
check if servers are up before attempt to connect on them with
mysql_connect(), fsockopen(), file(), etc.  :-)



-- 
Edit bug report at http://bugs.php.net/?id=25297&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25297&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25297&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25297&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25297&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25297&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25297&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25297&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25297&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25297&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25297&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25297&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25297&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25297&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25297&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25297&r=gnused

Reply via email to