[PHP] Re: file seems b0rken

2002-04-09 Thread Thomas Wentzel
Arhh man, that was embarrasing... Thanks! I guess I didn't get enough coffee this morning :/ T. Cc Zona wrote: > > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Thomas Wentzel) wrote: > > > $test=@file("some_non_existing_file"); > > > > Can somebody explain why count($test) is 1. When $te

[PHP] Re: file seems b0rken

2002-04-09 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Thomas Wentzel) wrote: > $test=@file("some_non_existing_file"); > > Can somebody explain why count($test) is 1. When $test doesn't hold any > data >From : "If var is not an array, 1 will be retu