PHP 7.3 Performance Benchmarks Are Looking Good Days Ahead Of Its Release (phoronix.com)
PHP 7.3 RC6 was released earlier this week. Phoronix ran some benchmarks and compared the performance of v7.3 RC6 with releases going back to the v5.5 series. From the story: I ran some fresh benchmarks over the past day on PHP 5.5.38, PHP 5.6.38, PHP 7.0.32, PHP 7.1.24, PHP 7.2.12, and the PHP 7.3.0-RC6 test release. All of the PHP5/PHP7 builds were configured and built in the same manner. All tests happened from the same Dell PowerEdge R7425 dual EPYC server running Ubuntu 18.10 Linux.
Besides continuing to evolve the performance of PHP7, the PHP 7.3 release is also delivering on FFI (the Foreign Function Interface) to access functions / variables / data structures from the C language, a platform-independent manner for obtaining information on network interfaces, an is_countable() call, WebP support within GD's image create from string, updated SQLite support, improved PHP garbage collection performance, and many other enhancements. PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3 is 31% faster than PHP 7.0 or nearly 3x the speed of PHP5.
Besides continuing to evolve the performance of PHP7, the PHP 7.3 release is also delivering on FFI (the Foreign Function Interface) to access functions / variables / data structures from the C language, a platform-independent manner for obtaining information on network interfaces, an is_countable() call, WebP support within GD's image create from string, updated SQLite support, improved PHP garbage collection performance, and many other enhancements. PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3 is 31% faster than PHP 7.0 or nearly 3x the speed of PHP5.
I beg to differ. I ran my own benchmarks days ago, and performance was lackluster at best.
Besides the critics, PHP is mature, well maintaned, has a good interaction with C and is easy to program.
Don't waste CPU cycles before you get owned. Use the new and improved PHP 7.3. Your neighbor's kid approves.
See subject: APK Hosts File Engine 3.0++ 64-bit for Linux/BSD h t t p : / / a p k . i t - m a t e . c o . u k / A P K H o s t s F i l e E n g i n e F o r L i n u x . z i p
Yields more security/speed/reliability/anonymity vs. any 1 solution (99% of threats use hostnames vs. IP address most firewalls use) more efficiently/FASTER + NATIVELY 4 less!
Vs. "Bolt on 'MoAr' illogic-logic" slowing u hosts speed u up 2 ways: Adblocks + Hardcode fav. sites u spend most time @ vs. competition loaded w/ security bugs (DNS/AntiVir) + overheads slowing u (messagepass 'souled-out' to advertisers easily detected & blocked addons + firewall filtering drivers) & their complexity leads to exploit!
* ONLY 1 of its kind in GUI 4 Linux/BSD & supports port filters!
APK
P.S.=> Protects vs. all speculative execution exploits + scripts/trackers (faster vs. NoScript @ kernelmode level)/ads/DNS request tracking + redirect poisoned or downed DNS/botnets/malware/malcript/email malicious payloads... apk
era of open honest communications & commerce still possible.. cease fire stand down there are mothers & children in every last town..
I'm a hardcore user of PHP myself, so every new improvement is appreciated, but I cannot remember the last time that performance was on my mind. Today's computers calculate anything in a more than reasonable time frame. Performance is the very LAST thing to worry about. Instead, the focus must be on security and privacy and fending off madness such as "Code of Conflicts" that poison project after project.
With both FreeBSD and Linux having been ruined soul-wise by the "CoC" madness, and also sucking in every regard even besides that, I find myself literally unable to find any OS to run my PHP scripts on, let alone secure, backdoor-less *hardware*! And you talk about "performance"? In 2018? We are not living in the same universe.
I just heard some sad news on talk radio - Chronic ne'er-do-well and
self-styled "Lord of Hosts" APK was found dead in his Syracuse, NY home
this morning. There weren't any more details. I'm sure everyone in the
Slashdot community will miss him - even if you didn't enjoy his work, there's
no denying his contributions to popular culture. Truly an American icon.
Disclaimer: Professional PHP dev here.
One of the things really annoying about PHP is that it's so n00b friendly you run across tons of crap code. The upside is that PHP is quite hilarious. There's not a week that goes by that doesn't have me laugh out load about some quirky thing PHP had up its sleeve.
The truth is also that PHP is so domain specific that it really gets SSI programming done better than any other solution out there.
PHPs badness is its advantage.
We suffer more in our imagination than in reality. - Seneca
This must only optimize poorly written code. I can't believe that well-writen code would run any faster. If there is 3x performance gain on well written code that would have to mean the performance before was abysmal.
See it already 0-dayed.
Most people aren't above-average. PHP is a "programming" "language" "designed" and "implemented" by such people, predominantly used by such people, and popular with such people, but that's as far as that goes. If you take its domain sufficiently narrow, it's the best there is. In the "the best windows ever!" sense: Don't ever compare it to a real OS. But if your view is but a teensy bit larger, the thing inevitably falls down on its face and can't get up.
It's the windows of programming languages. Many people have worked really hard at making that pig fly to the point that you might call the result "mature" and "well-maintained". But no matter what they do, there's no changing the basic nature of the thing.
I guess APK couldn't take the onslaught from me, "Lord of Posts"!
ZIP
Just make a new line in your code, with a single random word on it.
Run the script. Notice there is no error message.
Why not?
Because strings that PHP does not recognize as identifiers, are considered string literals!
And hence expressions. Which have return values.
And by default, unused return values are silently ignored.
If that doesn't make your neck hairs stand up, and raises all the red flags, you're not a programmer. You you just dabbled with some scripts. Sorry.
Of course, like in any "duck typing" language with implicit casting, that's a dangerous swamp of traps too. Made even worse by the value VS reference passing fuck-up.
And there's so much shit tacked-on later in a shitty way that clearly does not fit the original skeleton. Even the class system.
Its library is horrid too. It has the same disease as the Apple "store". There's an app/function for everything! Meaning there's a function for every possible combination of functionality! Instead of either one universal function, or just its base functions for individual combination.
But wait, there's more functions! Non-buggy versions of still existing buggy functions! (Like that whole escaping debacle.)
Sorry, PHP is shit. And if you keep clinging to it, and keep ignoring those problems, instead of working in some better designed an more advanced languages, you will never progress in your skill level, and stay a low-level botcher for the rest of your life. (Please don't.)
Justin Bieber is/was the most popular music video.
Trump was voted into office.
Need I continue?
I'd say popularity is unrelated to quality. But I suspect it is related... inversely proportionally!
Why are you arguing on the level of a child anyway? Isn't that fallacy taught in primary school already, nowadays?
gweihir KNOWS u IMPERSONATE me https://it.slashdot.org/commen... c6gunner proves it https://linux.slashdot.org/com... he forgot to SUBMIT as AC & using his registered 'lusrname' instead (because he tried to mock me both BEFORE & after I FAIRLY challenged him to show he's done better work - he had ZERO).
& NO WAY I'd "cry" like you "playing victim ne'er-do-wells" on /. (TROLL /.ers, not all) OR post on hosts offtopic.
YOU HELPED ME https://science.slashdot.org/c... (& you quit trying to make me look bad trying to "tell lies" on hosts as "ME" IN YOUR IMPERSONATIONS of me e.g. https://tech.slashdot.org/comm... as regards Intel speculative execution attack? Hosts PREVENT 'EM)
APK
P.S.=> I KNOW the 2nd to last link above's KILLING YOU - YOU ACTUALLY HELPED ME getting me to see if hosts stop more than portsmash (& Meltdown + Spectre too) & "lo & behold" - hosts WORK on 'em - U LOSE... apk
I've no version 3.0++ & gweihir KNOWS u IMPERSONATE me https://it.slashdot.org/commen... c6gunner proves it https://linux.slashdot.org/com... he forgot to SUBMIT as AC & using his registered 'lusrname' instead (because he tried to mock me both BEFORE & after I FAIRLY challenged him to show he's done better work - he had ZERO).
& NO WAY I'd "cry" like you "playing victim ne'er-do-wells" on /. (TROLL /.ers, not all) OR post on hosts offtopic.
YOU HELPED ME https://science.slashdot.org/c... (& you quit trying to make me look bad trying to "tell lies" on hosts as "ME" IN YOUR IMPERSONATIONS of me e.g. https://tech.slashdot.org/comm... as regards Intel speculative execution attack? Hosts PREVENT 'EM)
APK
P.S.=> I KNOW the 2nd to last link above's KILLING YOU - YOU ACTUALLY HELPED ME getting me to see if hosts stop more than portsmash (& Meltdown + Spectre too) & "lo & behold" - hosts WORK on 'em - U LOSE... apk