Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

None of the things you listed have anything to do with PHP, they can happen in any language.


sort by: page size:

If that's an issue with PHP, it's certainly not unique to PHP.

but those things were written in PHP.

It isn't related to php and it isn't something we should see in any code.

php has nothing to do with it. Can't say the same for the second part though.

Not unique to PHP in any way shape or form.

Nope, not a PHP problem.

php IS the bug

Nothing quite this catastrophic tends to happen to things that aren't PHP.

Most interesting things for me:

* PHP is getting the yield keyword (i.e. generators and coroutines), which many other languages have had for a while.

* A sensible and simple built-in password hashing API

* Error when using the deprecated mysql extension, which should hopefully get more people moving to PDO (e.g. WordPress: http://core.trac.wordpress.org/ticket/21663 )


That bug is not a big deal by itself, but the circumstances surrounding it are a symptom of severe problems with how PHP is developed.

You have to understand, all of that is irrelevant! Because PHP is old and shitty, it mixes camel_case and SnakeCase and the order of arguments in the standard library is inconsistent! Bah.

Also, as you can see, mentioning php will get you down voted.

These signs would be present in almost any crappy software, not just PHP.

This is not a issue isolated to Kohana and PHP, its affects all languages and frameworks.

Also, PHP doesn't give you type safety. I have no idea why the article said that but that's just ridiculous.

That's not a PHP problem. It's a PEBKAC bug.

While PHP is full of inconsistencies, it's far fetched to make a claim like this. Take a look at Symfony2 and try saying that it's amateur code.

That is by far one of the worst solutions I've heard to the problem. I really feel bad for anyone who is hired to work on your code and told that it was written in PHP, only to look at a compiler generated mess.

Please tell me you're joking.


I take it you don't know anything about PHP?
next

Legal | privacy