<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/Zend/tests/errmsg_043.phpt, branch PHP-7.2.32</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Remove reference restrictions from foreach</title>
<updated>2012-07-22T12:33:25+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2012-07-22T12:33:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=de80e3ce4b5b7a9ec0cfdd0778e77027a7ebfcc2'/>
<id>de80e3ce4b5b7a9ec0cfdd0778e77027a7ebfcc2</id>
<content type='text'>
foreach only allowed variables to be traversed by reference. This never
really made sense because

    a) Expressions like array(&amp;$a, &amp;$b) can be meaningfully iterated by-ref
    b) Function calls can return by-ref (so they can also be meaningfully
       iterated)
    c) Iterators could at least in theory also be iterated by-ref (not
       sure if any iterator makes use of this)

With by-ref generators the restriction makes even less sense, so I removed
it altogether.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
foreach only allowed variables to be traversed by reference. This never
really made sense because

    a) Expressions like array(&amp;$a, &amp;$b) can be meaningfully iterated by-ref
    b) Function calls can return by-ref (so they can also be meaningfully
       iterated)
    c) Iterators could at least in theory also be iterated by-ref (not
       sure if any iterator makes use of this)

With by-ref generators the restriction makes even less sense, so I removed
it altogether.
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH: new tests</title>
<updated>2007-02-07T11:10:32+00:00</updated>
<author>
<name>Antony Dovgal</name>
<email>tony2001@php.net</email>
</author>
<published>2007-02-07T11:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/php-git.git/commit/?id=0f0fe9c96714776cec451792249854ff675c5b36'/>
<id>0f0fe9c96714776cec451792249854ff675c5b36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
