I have two files: first.php:
second.php:
Now when I run second.php with line # 1 in first.php, I have "Unable" in $ out and 0 in $ err. but with two other outputs, I have this figure in $ err.
How can I get a nonzero value in $ err when I execute exit with a string message?
I tested 2> & 1, but it is useless.
Farhadix
source share