ID: 36906 Updated by: [EMAIL PROTECTED] Reported By: sqchen at citiz dot net -Status: Open +Status: Feedback Bug Type: Streams related Operating System: redhat 7.3 PHP Version: 5.1.2 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip Cannot reproduce. Previous Comments: ------------------------------------------------------------------------ [2006-03-29 08:02:59] sqchen at citiz dot net Description: ------------ stream_context_get_options cause segfault, php version is 5.1.2 Reproduce code: --------------- <?php $dir=opendir(dirname(__FILE__)); stream_context_set_option($dir, "pathname", "path", "/u/quans/"); var_dump(stream_context_get_options($dir)); ?> Actual result: -------------- array(1) { ["pathname"]=> array(1) { ["path"]=> string(9) "/u/quans/" } } Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36906&edit=1
