Return to bug49936.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / streams |
1.1 misho 1: --TEST-- 2: Bug #49936 (crash with ftp stream in php_stream_context_get_option()) 3: --SKIPIF-- 4: <?php 5: if( substr(PHP_OS, 0, 3) == "WIN" ) 6: die("skip. Do not run on Windows"); 7: ?> 8: --FILE-- 9: <?php 10: 11: $dir = 'ftp://your:self@localhost/'; 12: 1.1.1.2 ! misho 13: var_dump(@opendir($dir)); ! 14: var_dump(@opendir($dir)); 1.1 misho 15: 16: ?> 1.1.1.2 ! misho 17: ===DONE=== 1.1 misho 18: --EXPECTF-- 19: bool(false) 20: bool(false) 1.1.1.2 ! misho 21: ===DONE===