ID: 20711 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Unknown/Other Function Operating System: Windows 2000 and linux PHP Version: 4.3.0RC2 New Comment:
Sorry, but it's bugs. I know that i should send only 1 bug per submission but the solution for both bug concern the same part of code (in my opinion) and the first bug (resource id >=2) is a very little bug to solve. So, i think you should take a little more time to answers bug report and/or give a better reason for a reject. Thanks Previous Comments: ------------------------------------------------------------------------ [2002-11-29 02:46:26] [EMAIL PROTECTED] 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 ------------------------------------------------------------------------ [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