r/programming • • Dec 02 '15

PHP 7 Released

https://github.com/php/php-src/releases/tag/php-7.0.0
887 Upvotes

729 comments sorted by

View all comments

-44

u/[deleted] Dec 02 '15 edited Dec 04 '15

Seventh major piece of shit

I code PHP from time to time and hate it.

-14

u/[deleted] Dec 02 '15

Couldn't agree more. Most of this is still true: http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/

9

u/CS2603isHard Dec 02 '15

That stuff wasn't even still true when it was written. It's like looking at Perl 4 and asking why all this code is outdated.

0

u/[deleted] Dec 02 '15

[deleted]

-2

u/CS2603isHard Dec 02 '15

PHP 5.3 was out by that point, which basically fixed every glaring issue with PHP pointed out in that article.

0

u/[deleted] Dec 02 '15

[deleted]

2

u/CS2603isHard Dec 02 '15

Those individual features aren't changed because that would break backward compatibility. If you're writing code that still uses mysql_ anything or uses any of the C api stuff in 2015, you're doing it wrong.

The inconsistency is still there, but there's only so much you can do with that.

PHP is flaky: ==

If == is one of your problems with the language, then you don't have a problem with the language. Sometimes == is better than ===, and it makes sense in a scripting language.

2

u/glemnar Dec 02 '15

Php7 is a good time to break backwards compat =p

1

u/CS2603isHard Dec 02 '15

You mean like Python 3 and Perl 6 did? No thanks.

→ More replies (4)