ID: 20711 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows 2000 and linux PHP Version: 4.3.0RC2 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2002-11-29 02:38:14] [EMAIL PROTECTED] First, I notice that the ressource id given by some function is always greater or egal to 2 with php-4.3.0RC1 and 4.3.0RC2. script: <?php $ds = ldap_connect ( $ldaphost ); echo $ds; ?> output: ressource id #2 Second, the ressource id is always increased even if the function failed. ie script: <?php $fp = fopen ( 'not_existing_file', 'r'); echo '-'.$fp.'-<br>'; $ds = ldap_connect ( $ldaphost ); echo '-'.$ds.'-'; ?> output: -- -ressource id#3- Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20711&edit=1