--TEST-- Test strpos() function : usage variations - complex strings containing other than 7-bit chars --FILE-- "; var_dump( strpos($string, chr(128)) ); echo bin2hex( chr(255) ) ." => "; var_dump( strpos($string, chr(255), 3) ); echo bin2hex( chr(256) ) ." => "; var_dump( strpos($string, chr(256)) ); ?> DONE --EXPECT-- -- Positions of some chars in the string '008081eaebfeff' are as follows -- 80 => int(1) ff => int(6) 00 => int(0) DONE