Php

PHP 4 versus PHP 8: the past and the future

Alex Alex 27 November 2019
PHP 4 versus PHP 8: the past and the future

PHP 8 is planned for the year 2020. That's why Joe Watkins takes a humorous comparison of the then „young people“ previous PHP 4 under the magnifying glass.

We can all imagine someone who, if he says the Wrong things, even just once, his reputation permanently ruined. Perhaps even then, if he apologizes for what is being said. May be it is a television presenter, or a journalist the other way, maybe it's someone outside of the Mainstream media, as a Tech-celebrity, or a type of social influence.

Says or does an adult in the Wrong, especially in Public, and thus causing serious consequences, can we all agree that adults can control or should be able to, what you say and do. We can agree in the fact that they have some of the consequences deserves, even if we can argue about the degree of Severity.

In the next year, PHP will celebrate 25 years of Innovation on the Web.

When a still immature spirit is saying to the False or does, no one will desire in the same way for retribution or punishment, regardless of whether it is to relatives or a Stranger.

In the next year, PHP will celebrate 25 years of Innovation on the Web. The publications that come 2020, have no Similarity with what was released all those years ago. PHP is finally getting a „adult language“, which is able to compile user code just-in-time and directly on the CPU to execute. It is a reasonably coherent object model and Type System, it is the most exciting Version of PHP since its inception.

When we speak in the modern PHP world PHP, you can think the vast majority of the people only up to PHP 5. You look at PHP 5, and 7 as the entire history of PHP, or previous versions, you just don't care.

In the Rest of the programmer community was not much influenced by the reputation of PHP by PHP 5, or 7, versions of which have experienced tremendous improvements in almost all areas of PHP and its Ecosystem, it is largely due to PHP 4, as the Web was booming really.

So, we compare today, just for the fun of it, an aspect of PHP 4, with the upcoming Version PHP 8...
the

Free of charge: IPC Agile Cosmos Cheat Sheet

the
Agile Cosmos Cheat Sheet-small-220x311In this Cheat-Sheet from our experts René Schröder you get an Overview of the Agile Cosmos and the organizational structure. With this Mind Map you have the perfect condition, either your own agile Team to enhance your current organization, or to create a own style of agile.
the


Leave all the other improvements in the language, in the Ecosystem and in the processes used for the development of the language, and they concentrate only on the performance – in other words, on the money.

For this Test, which serves to clarify a point, but otherwise totally useless, I have the Zend/bench.php-script from the 7.2 Branch, let it run, since it is the last Version of the script is that it can be used as-is by the last Version of PHP 4 to run – there would be 4.4.9, released in August 2008.

PHP 4

This is a disable-all-production-Build without additionally loaded Extensions:

the
Fig.1: PHP 4.4.9

Fig.1: PHP 4.4.9. Source: https://blog.krakjoe.ninja/

The total execution time is 6.069 seconds.

PHP 8

This is a disable-all production Build, the one without Extensions includes (similar to above) and with activated JiT:

the
Fig.2: PHP 8. Source: <a href="https://blog.krakjoe.ninja/" target="_blank" rel="noopener">https://blog.krakjoe.ninja/</a>

Fig.2: PHP 8. Source: https://blog.krakjoe.ninja/

The total execution time is 0.383 seconds without JIT and 0,108 with the JIT.

PHP 4 was the adolescence of PHP. PHP 5 developed the Ecosystem, PHP 7, the runtime and language. In PHP 8 all combined in a Symphony of snow completely - and instead of the rule of law.

For those of you, whose opinions are influenced by an adolescent PHP, this should be evidence enough to reconsider. I should not have the benefits of a stable Release cycle, a more open development process and a thriving Ecosystem explain… so I will not do it….

I write this post for about a year before PHP 8 is generally available, with the intention of: I do not expect that everything you are doing, and let's do it in PHP describes, but I would hope that you PHP 9 for any imminent have a project on the Radar.

Peace out, future Phomies...

This article first appeared in English, written by Joe Watkins on his Blog.

the
the
the
the
the

Source: entwickler.de

Comments (0)

    No comments yet

You must be logged in to comment.