[PHP] worked around STDIN problem from before

2006-01-07 Thread matt V
hmm, it seems php -a likes to complain heh, so I decided to do my little STDIN tests in an actual script and not interactively and turned off error reporting..things are all happy again in "matt land" lol -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

[PHP] thought stdin was supposed to default open

2006-01-07 Thread matt V
hello, I read that in the cli version of php, the 3 files, sterror, stdout and stdin are already open thus saving having to open them and close them each time. Well, I decided to test that idea and it appears that stdin infact is not pre-opened, but my code may be wrong too, who knows. I made