Edit report at https://bugs.php.net/bug.php?id=61029&edit=1

 ID:                 61029
 User updated by:    yonni dot m at zend dot com
 Reported by:        yonni dot m at zend dot com
 Summary:            '@' operator before a function call causes php to
                     hang till max-exec-time
-Status:             Feedback
+Status:             Closed
 Type:               Bug
 Package:            *General Issues
 Operating System:   MacOS 10.6
 PHP Version:        5.4.0RC7
 Block user comment: N
 Private report:     N

 New Comment:

I misreported this issue, the actual problem involved common resources used by 
Zend's extensions and php itself. The real underlying problem was reported to 
the internals mailing list for continued handling.


Previous Comments:
------------------------------------------------------------------------
[2012-02-09 16:19:53] larue...@php.net

I can not reproduce this,  could you help us to find more infos? 
like:
run the test script. when it hanged, put the php process background (ctrl+z, 
then $bg).

find the process's pid.

gdb --pid=php's pid

then gdb>bt

paste the backtrace to here. thanks

------------------------------------------------------------------------
[2012-02-09 15:36:02] yonni dot m at zend dot com

Description:
------------
Steps to reproduce:
Php 5.4RC7 on MACOS 10.6
Execute script in test script
doesn't matter if index.html is actually there
Note php error logs

Test script:
---------------
<?php @file_get_contents('index.html');

Expected result:
----------------
Script should execute and complete immediately

Actual result:
--------------
Script hangs until max-exec-time is reached and fails with a fatal error:
PHP Fatal error:  Maximum execution time of 10 seconds exceeded

Remove the @ and the script executes correctly


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



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

Reply via email to