Annotation of embedaddon/php/ext/standard/tests/streams/bug61115.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #61115: Stream related segfault on fatal error in php_stream_context_del_link.
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: $arrayLarge = array_fill(0, 113663, '*');
        !             7: 
        !             8: $resourceFileTemp = fopen('php://temp', 'r+');
        !             9: stream_context_set_params($resourceFileTemp, array());
        !            10: preg_replace('', function() {}, $resourceFileTemp);
        !            11: ?>
        !            12: --EXPECTF--
        !            13: Catchable fatal error: Object of class Closure could not be converted to string in %s on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>