|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2016-03-06 20:40 UTC] nikic@php.net
  [2016-03-06 20:40 UTC] nikic@php.net
 
-Status: Open
+Status: Closed
  [2016-07-20 11:33 UTC] davey@php.net
  [2018-11-23 09:21 UTC] dragondreamer at live dot com
 
-: temp at temp dot ru
+: dragondreamer at live dot com
  [2018-11-23 09:21 UTC] dragondreamer at live dot com
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 01:00:01 2025 UTC | 
Description: ------------ PHP lexer does not count new lines which can be inserted between "yield" and "from" words in "yield from" instruction. Test script: --------------- <?php function test() { yield from [3, 4]; } 123 Expected result: ---------------- Parse error: syntax error, unexpected end of file in /in/7Hocc on line 13 Actual result: -------------- Parse error: syntax error, unexpected end of file in /in/7Hocc on line 8