Edit report at https://bugs.php.net/bug.php?id=55306&edit=1
ID: 55306 Updated by: fel...@php.net Reported by: tomcdonnell at gmail dot com Summary: Function get_ldap_option() causes crash. -Status: Open +Status: Feedback Type: Bug Package: Reproducible crash Operating System: Windows PHP Version: 5.3SVN-2011-07-28 (SVN) Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2011-07-28 05:07:35] tomcdonnell at gmail dot com Description: ------------ --- >From manual page: http://www.php.net/function.ldap-get-option%23Parameters --- If the test script I have supplied is run from the command line in windows, a popup window appears with the following message. 'CLI has encountered a problem and needs to close. We are sorry for the inconvenience' If the test script I have supplied is run from a web browser (Firefox 5.0), a similar popup window appears informing that 'Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience' Test script: --------------- <?php $ldapLinkId = @ldap_connect(null, null); $optionValue = null; ldap_get_option($ldapLinkId, LDAP_OPT_NETWORK_TIMEOUT, $optionValue); ?> Expected result: ---------------- If the test script I have supplied is run from the command line in windows, a popup window appears with the following message. 'CLI has encountered a problem and needs to close. We are sorry for the inconvenience' If the test script I have supplied is run from a web browser (Firefox 5.0), a similar popup window appears informing that 'Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience' ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55306&edit=1