<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Fixed deprecated each() function in PHP 7.2]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7778&amp;type=atom" />
	<updated>2018-10-26T07:19:50Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7778</id>
		<entry>
			<title type="html"><![CDATA[Re: Fixed deprecated each() function in PHP 7.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33052#p33052" />
			<content type="html"><![CDATA[<p>This has been committed. The fixed file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/reporting/includes/fpdi/fpdi.php">here</a>.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-10-26T07:19:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33052#p33052</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed deprecated each() function in PHP 7.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33047#p33047" />
			<content type="html"><![CDATA[<p>Please do the same for fpdi/fpdi.php</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-10-26T02:35:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33047#p33047</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed deprecated each() function in PHP 7.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33033#p33033" />
			<content type="html"><![CDATA[<p>This has now been committed to stable. Fixed file can be downloaded <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/reporting/includes/tcpdf.php">here</a>.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-10-25T18:12:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33033#p33033</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Fixed deprecated each() function in PHP 7.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33026#p33026" />
			<content type="html"><![CDATA[<p>Thanks @notrinos. Will commit this later.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-10-25T16:13:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33026#p33026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Fixed deprecated each() function in PHP 7.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33023#p33023" />
			<content type="html"><![CDATA[<p>The using function each() in tcpdf.php is deprecated since php7.2</p><p>tcpdf.php need to be modified:</p><p><strong>line: 4693</strong><br /></p><div class="codebox"><pre><code>while (list($file, $info) = each($this-&gt;images)) </code></pre></div><p>to be<br /></p><div class="codebox"><pre><code>foreach ($this-&gt;images as $file =&gt; $info) </code></pre></div><p><strong>line: 7768</strong><br /></p><div class="codebox"><pre><code>while (list($key, $val) = each($prop)) </code></pre></div><p>to be<br /></p><div class="codebox"><pre><code>foreach ($prop as $key =&gt; $val) </code></pre></div><p><strong>line: 9242</strong><br /></p><div class="codebox"><pre><code>while (list($id, $name) = each($attr_array[1])) </code></pre></div><p>to be<br /></p><div class="codebox"><pre><code>foreach ($attr_array[1] as $id =&gt; $name) </code></pre></div><p><strong>line: 9250</strong><br /></p><div class="codebox"><pre><code>while (list($id, $name) = each($style_array[1])) </code></pre></div><p>to be<br /></p><div class="codebox"><pre><code>foreach ($style_array[1] as $id =&gt; $name) </code></pre></div>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2018-10-25T14:19:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33023#p33023</id>
		</entry>
</feed>
