1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 07:28:09 +02:00
Files
archived-php-src/ext/spl/tests/bug73073.phpt
T

10 lines
232 B
PHP

--TEST--
Bug #73073: CachingIterator null dereference when convert to string
--FILE--
<?php
$it = new CachingIterator(new ArrayIterator(array()), CachingIterator::TOSTRING_USE_KEY);
var_dump((string)$it);
?>
--EXPECT--
string(0) ""