|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-15 16:09 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 06:00:01 2025 UTC |
Description: ------------ Php hangs when the new_link parameter of the function mysql_connect is set to FALSE. Used for example by phpMyAdmin. Sorry I've just tested it with PHP Version 5.2.5_p20080206 (The current latest Gentoo-Version) Reproduce code: --------------- <?php $link = mysql_connect('localhost', 'user', 'password', FALSE); if (!$link) { die('no connection possible: ' . mysql_error()); } echo 'Connected!'; mysql_close($link); ?> Expected result: ---------------- Connected! Actual result: -------------- nothing, because the Server hangs.