× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.

Just a couple thoughts here - what is being compared is performance, not compilations vs interpretation, seems to me. The result to the end user is slower response with PHP.

I did a quick google of PHP compiler - it seems one can cache the machine-code result of the first pass through the code - apparently there are 2 passes - PHP experts, please correct me if needed. But something called OpCache can make it possible to skip the first pass. Now this feels a bit like SQL optimization and plan cache on IBM i. Certainly, if you can reuse the results of a "first pass", you save that time. But that initial time is less important for long-running processes, so it very much depends.


On 8/22/2022 3:25 AM, Patrik Schindler wrote:
Hello Raul,

Am 22.08.2022 um 03:26 schrieb Raul Alberto Jager Weiler <raul.jager@xxxxxxxxx>:

I have found a big difference between RPG and PHP, PHP is a lot slower than RPG, even using db2 SQL.
PHP isn't explicitly compiled prior to execution. RPG is. Please don't compare apples to bananas.

:wq! PoC

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.