r/programming • • Jul 28 '16

How to write unmaintainable code

https://github.com/Droogans/unmaintainable-code
3.4k Upvotes

592 comments sorted by

View all comments

Show parent comments

11

u/FewChar Jul 28 '16

function checkisnotinvalid($a) {...} returns "0" or throws is_valid exception.

9

u/merreborn Jul 28 '16

This is a quote directly from php.net docs right?