Hacker News new | ask | show | jobs
by Jake232 2950 days ago
It's probably a safe assumption that they use a similar style elsewhere though, so probably better to just change PHP version rather than edit the source files?

I could be wrong, (I'm a Python guy - not PHP), just seems a safe assumption that it's likely not the only spot.

2 comments

> so probably better to just change PHP version rather than edit the source files?

NO.

It's better to improve the code than roll back to an older and less secure version of the language.

This is PHP we're talking about, after all.

I agree with your logic. Best to just do what jwong_ said and disable warnings.