Y
Hacker News
new
|
ask
|
show
|
jobs
by
pretzelhands
1568 days 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.
1 comments
oneeyedpigeon
1568 days ago
Which version are you using? Because mine gives a zero return code. I'm running 7.0.33.
link