ID:               36815
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rd at mesos dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Directory function related
 Operating System: Linux 2.6.14.5
 PHP Version:      5.1.2
 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:
------------------------------------------------------------------------

[2006-03-21 16:32:04] rd at mesos dot de

Description:
------------
glob returns segmentation fault, even with the example from php.net.
PHP4 on the same server is working without problem.

Reproduce code:
---------------
<?php
echo "Test1\n";
$x=glob('./img/managed/*');
echo "Test2\n";
?>

Expected result:
----------------
something like:

server:~ # php4 glob.php 
X-Powered-By: PHP/4.4.2
Content-type: text/html

Test1
Test2

Actual result:
--------------
server:~ # php5 glob.php 
X-Powered-By: PHP/5.1.2
Content-type: text/html

Test1
Segmentation fault


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36815&edit=1

Reply via email to