[PHP] Re: Odd is_int() behaviour

2001-10-22 Thread Yasuo Ohgaki
Yasuo Ohgaki wrote: > This is expected behaviour. > > Ashley M. Kirchner wrote: > >> I have the following snippet in my file: >> >> if ($PATH_INFO == "") { $PATH_INFO = "/"; } >> echo "PATH_INFO: $PATH_INFO\n"; >> // All we want is the fist element, call it $section >>

[PHP] Re: Odd is_int() behaviour

2001-10-21 Thread Yasuo Ohgaki
This is expected behaviour. Ashley M. Kirchner wrote: > I have the following snippet in my file: > > if ($PATH_INFO == "") { $PATH_INFO = "/"; } > echo "PATH_INFO: $PATH_INFO\n"; > // All we want is the fist element, call it $section > list($section) = explode('/', s