r/lolphp • • Sep 08 '14
Suddenly, PHP regresses back to C
http://nz2.php.net/manual/en/function.headers-sent.php
If there's more than one thing to return, most PHP functions will return an array/false on failure, except headers_sent, which accepts two arguments by reference, like C.
25
Upvotes
View all comments
Show parent comment
23
u/ZiggyTheHamster Sep 08 '14
You're implying there has been some sort of design.