You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run it without having a "test" directory within my current directory, it displays "ok", but if I re-run it the second time, mkdir fails (as expected), but the error code is 0. Is it a bug or am I doing something wrong ?
> ll
total 8
-rw-r--r-- 1 andrey staff 848 30 jan 15:59 script.php
> php script.php
ok
> php script.php
0
The text was updated successfully, but these errors were encountered:
Here is my code
When i run it without having a "test" directory within my current directory, it displays "ok", but if I re-run it the second time, mkdir fails (as expected), but the error code is 0. Is it a bug or am I doing something wrong ?
The text was updated successfully, but these errors were encountered: