Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
iamai105738dBehind the scenes magic 😂
C0D45595438dThere are times @ May be required, but it's very rare. Usually only found in the wild with unlink() where a file may not exist so it's not the end of the world deleting nothing.
But to have a code base riddled with it... that's fucking scary to know.
hjk101221038dDidn't know it either. Have been doing PHP development for a long time. There where some specific warnings that I suppressed in Perl in similar fashion as @C0D4 mentioned.
Also saw a colleague abuse the error_reporting() function. Corrected him directly even though he was senior. You should probably check for that too.
My condolences on your codebase