summaryrefslogtreecommitdiff
path: root/Zend/tests/bug71724.phpt
blob: 2f5e4ba9dad700f4d2ce7459a2129951b70021b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Bug #71724: yield from does not count EOLs
--FILE--
<?php

function test()
{
    yield




    from [__LINE__];
}
var_dump(test()->current());

?>
--EXPECT--
int(10)