View Single Post
Old 26-01-2006, 11:52 AM   #8
Data
retired
 
Data's Avatar


 
Join Date: Jun 2004
Location: Jan Mayen, Svalbard and Jan Mayen
Posts: 2,167
Default

well the example you posted using var_dump gives the correct output for
ereg(i)

you don't understand what eregi matches. (it only matches the string ka once.)
and as that is the total string as well you see it in both 0 and 1

__________________
Flowing with the stream of life
Data is offline                         Send a private message to Data
Reply With Quote