source: src/router/php7/Zend/tests/bug72221.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 4 months ago

update php

File size: 259 bytes
Line 
1--TEST--
2Bug #72221 (Segmentation fault in stream_get_line / zend_memnstr_ex)
3--FILE--
4<?php
5$fp = fopen("php://memory", "r+");
6fwrite($fp, str_repeat("baad", 1024*1024));
7rewind($fp);
8stream_get_line($fp, 1024*1024*2, "aaaa");
9echo "Done\n";
10--EXPECT--
11Done
Note: See TracBrowser for help on using the repository browser.