<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — The each() function is deprecated TCPDF]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7777</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7777&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in The each() function is deprecated TCPDF.]]></description>
		<lastBuildDate>Fri, 26 Oct 2018 13:20:12 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33053#p33053</link>
			<description><![CDATA[<p>Thank you for that tip, I already made the change.</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Fri, 26 Oct 2018 13:20:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33053#p33053</guid>
		</item>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33046#p33046</link>
			<description><![CDATA[<p>There are 4 matches in <strong>reporting/includes/tcpdf.php</strong> (<a href="https://github.com/FrontAccountingERP/FA/commit/cefa241faeedaa123418679f6e7adf92dd7409cd">committed</a>) and 1 in <strong>reporting/includes/fpdi/fpdi.</strong> (line 396).</p><p>The <strong>foreach()</strong> construct has been in existence for quite a while, the <strong>each()</strong> was convenient as an all-in-one list() assignment as well. PHP 7.2+ seems to be reducing alternative coding constructs as part of their &quot;standardisation&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 26 Oct 2018 01:37:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33046#p33046</guid>
		</item>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33029#p33029</link>
			<description><![CDATA[<p>Now works without errors!</p><p>Thank you...</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Thu, 25 Oct 2018 16:27:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33029#p33029</guid>
		</item>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33025#p33025</link>
			<description><![CDATA[<p>I will try to catch these and replace.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 25 Oct 2018 16:12:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33025#p33025</guid>
		</item>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33024#p33024</link>
			<description><![CDATA[<p>Thank you so much!!!</p><p>Very useful.</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Thu, 25 Oct 2018 14:26:08 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33024#p33024</guid>
		</item>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33022#p33022</link>
			<description><![CDATA[<p>Since php version 7.2 the each() function is deprecated<br />Find all while loop with each() function in the <strong>reporting/includes/tcpdf.php</strong> and modify them to foreach loop.<br />Example:<br /></p><div class="codebox"><pre><code>while (list($id, $name) = each($attr_array[1])) {
    $dom[$key][&#039;attribute&#039;][strtolower($name)] = $attr_array[2][$id];
}</code></pre></div><p>need to be</p><div class="codebox"><pre><code>foreach ($attr_array[1] as $id =&gt; $name) {
    $dom[$key][&#039;attribute&#039;][strtolower($name)] = $attr_array[2][$id];
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Thu, 25 Oct 2018 14:01:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33022#p33022</guid>
		</item>
		<item>
			<title><![CDATA[Re: The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33021#p33021</link>
			<description><![CDATA[<p>Are you using PHP7 ?</p>]]></description>
			<author><![CDATA[null@example.com (notrinos)]]></author>
			<pubDate>Thu, 25 Oct 2018 13:51:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33021#p33021</guid>
		</item>
		<item>
			<title><![CDATA[The each() function is deprecated TCPDF]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=33020#p33020</link>
			<description><![CDATA[<p>When I try to create reports, I have the error</p><p>tcpdf.php:4707: The each() function is deprecated. This message will be suppressed on further calls</p><p>I tried to implement new versión of TCPDF, but I failed.&nbsp; Someone have the same problem? or How I fix that.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (cleal)]]></author>
			<pubDate>Thu, 25 Oct 2018 13:36:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=33020#p33020</guid>
		</item>
	</channel>
</rss>
