PHP.net got owned?

Gogol

Administrator
Staff member
Moderator
Executive VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
11,805
Reaction score
26,657
Not sure whether to post it in the lounge or in the programming section.

This is a real tweet nevertheless.
Whatever they are smoking, I need some of that too :D

37611860_10155859151347799_6406766835286409216_n.jpg
 

Attachments

  • upload_2018-7-22_22-8-53.png
    upload_2018-7-22_22-8-53.png
    965.2 KB · Views: 214
I'm not a programmer, still I don't see anything wrong with that.
 
I'm not a programmer, still I don't see anything wrong with that.
Well I can't help you on that :)
If you are interested, you could see the doc here:
Code:
https://wiki.php.net/rfc/case_insensitive_constant_deprecation

In simple terms.. they should have said the opposite of "don't be so sensitive" because they are deprecating case insensitivity for PHP constants. What's even funnier is the next reply. So, PHP thinks PHP is illogical..
 
Last edited:
PHP is a pretty bad language to be fair so they're probably just being honest ;-)
LOL my exact thought too. I always wondered why I have to type "strpos" when I have to type "str_replace" haha.
 
LOL my exact thought too. I always wondered why I have to type "strpos" when I have to type "str_replace" haha.

Yeah so many inconsistencies. If you read about how it started you'll understand why. It was never designed at any point, it just grew from small handy functions for one guy basically. Things like laravel and WordPress have helped it survive, not sure if that's good or bad though ha!
 
PHP is far from a bad language - just got a bad rap from popularity, ease of access, and ease of entry, leading to an army of idiots thinking they are "programming" and doing stupid shit constantly. Also before ~php 5.3 it was awful, since then it's improved in leaps and bounds.

The inconsistencies in the language are mildly annoying, and being corrected at a snails pace(a very large portion of the internet runs on it after all, and backwards compatibility is a bitch).

I also find it entertaining that people jump on the PHP hate train so quickly because it seems to be the cool thing to do(if you can articulate why you hate PHP please do), and that these same people are also quick to dick ride Python and JS frameworks like Angular, that have committed sins far greater than any made by PHP(Python 2.7 to 3 anyone? Angular 1 to 2? Ever noticed why Node skipped 4 or 5 versions? lol).

By no means am I saying PHP is the greatest of all time - just saying that it has it's uses, and performs very well in it's niche.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/regexredux.html

https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/php.html

https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/php-yarv.html

https://blog.famzah.net/2016/02/09/cpp-vs-python-vs-perl-vs-php-performance-benchmark-2016/

https://www.techempower.com/benchmarks/
 
Last edited:
I agree that performance-wise, PHP has become a lot better than what it was before. Still, it has huge inconsistencies in it's language structure. By the way, Facebook tried to go with PHP but they later had to write their own language called Hack, which is basically PHP on steroid (they modified the compiler itself). So, it proves that PHP doesn't scale up that well. That being said, I am by no means a PHP hater. It has been my bread and butter for years! My OP was rather about the fact that PHP.net isn't good when it comes to social media handling LOL.

Edit: Backwards compatibility is a lame excuse. If backwards compatibility is an issue, why not come up with a completely new version like let's say PHP 10 and make everything good there (while continuing to support the current versions and development)? A similar approach was taken by AngularJS and I don't see why PHP can't do it.
 
Last edited:
A bit dated now but a really interesting read https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

I'm not a PHP hater either, I have years of commercial experience in PHP, but when I compare it to other languages like Java, Python and c# you can see why it's rarely used at an enterprise level. But like all languages, its a different tool for a different job.

Let you ask you guys this, would you fly yourself and your family in a plane where the autopilot was written in PHP?
 
Last edited:
I'm old enough to have used the very first PHP. It's 100% complete shit language.
I've never heard anybody say the first PHP before, Jesus. I've never even thought about there being a first PHP until now.
 
I've never heard anybody say the first PHP before, Jesus. I've never even thought about there being a first PHP until now.

Yahoo's directory CGI script was written in Perl and Apache modules(~1995/1996). Everyone got into Perl because of Yahoo.

PHP was like Perl for dummies. It used the $ variable syntax and had the most common Perl functions built-in so you didn't need separate modules. Was very very easy to use compared to Perl.

Once upon a time this may have been true.

Some scarrs last a lifetime.
 
Yahoo's directory CGI script was written in Perl and Apache modules(~1995/1996). Everyone got into Perl because of Yahoo.

PHP was like Perl for dummies. It used the $ variable syntax and had the most common Perl functions built-in so you didn't need separate modules. Was very very easy to use compared to Perl.



Some scarrs last a lifetime.
It’s hard to imagine that many websites had use for php before web 2.0
 
Back
Top