Edit report at https://bugs.php.net/bug.php?id=53807&edit=1
ID: 53807
Comment by: dio at integraasp dot com
Reported by: hm at mail dot ru
Summary: Apache CRASH (getopt)
Status: Feedback
Type: Bug
Package: Output Control
Operating System: WINDOWS XP SP3 x86
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
Description :
same problem with getopt, apache connection was reset after runs the following
script from browser. in the CLI, the script works fine.
the script:
---------------
<?php
$arrOpt = getopt("d:");
result in the browser :
---------------
The connection was reset
Previous Comments:
------------------------------------------------------------------------
[2011-01-28 21:55:51] [email protected]
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.
------------------------------------------------------------------------
[2011-01-21 22:39:32] hm at mail dot ru
Description:
------------
Apache is restarting (crash) after launch the script in browser.
Test script:
---------------
<?php
$options = getopt('t:d:e:l');
Expected result:
----------------
Crash apache
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=53807&edit=1