Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
pretzelhands
· 4y ago · 0 comments
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.
Comments
[–]
oneeyedpigeon
4y ago
Which version are you using? Because mine gives a zero return code. I'm running 7.0.33.