Annotation of embedaddon/php/ext/standard/tests/streams/bug61115-1.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #61115: Stream related segfault on fatal error in php_stream_context_del_link - variation 1
3: --FILE--
4: <?php
5:
6: $fileResourceTemp = fopen('php://temp', 'wr');
7: stream_context_get_options($fileResourceTemp);
8: ftruncate($fileResourceTemp, PHP_INT_MAX);
9: ?>
10: --EXPECTF--
11: Fatal error: Allowed memory size of %d bytes exhausted (tried to allocate %d bytes) in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>