Return to bug45303.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / file |
1.1 misho 1: --TEST-- 2: Bug #45303 (Opening php:// wrapper in append mode results in a warning) 3: --FILE-- 4: <?php 5: $fd = fopen("php://stdout","a"); 6: var_dump($fd); 7: var_dump(fseek($fd, 1024*1024, SEEK_SET)); 8: ?> 9: --EXPECTF-- 10: resource(%d) of type (stream) 11: 12: Warning: fseek(): stream does not support seeking in %s 13: int(-1)