HaPHPy 30th birthday PHP! Join the FREE online stream of sessions PHPverse today, starting in a few hours :)
lp.jetbrains.com/phpverse-2025/
HaPHPy 30th birthday PHP! Join the FREE online stream of sessions PHPverse today, starting in a few hours :)
lp.jetbrains.com/phpverse-2025/
We've already picked on bad logging code this week, but we haven't picked on PHP in awhile, so let's look at some bad PHP logging code, from Kris. $path = self::getPath(); if (file_exists($path)) { $content = file_get_contents($path); } else { $content = ""; } $content .= "\n" . date('Y-m-d H:i') . " | " . $message; file_put_contents($path, $content);
Of course it's PHP
PHP :: Sec Bug #81744 :: Password_verify() always return true with some hash
https://bugs.php.net/bug.php?id=81744 #lolphp #php #phpLang #phpLanguage #programming #programmerHumor