3 ms·
Seems like PHP does something reasonably right for once! $ php hello.php > /dev/full $ echo $? 255 It doesn't exactly print an error, but at least
by pretzelhands 5y ago
Seems like PHP does something reasonably right for once!
$ php hello.php > /dev/full
$ echo $?
255
It doesn't exactly print an error, but at least it returns something non-zero.
- oneeyedpigeon 5y agoWhich version are you using? Because mine gives a zero return code. I'm running 7.0.33.