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
|