If needle is not a string, it is converted to an integer and applied as the ordinal value of a character.
?php $email = 'USER@EXEMPLE.com'; $domaine = stristr($email, 'e'); print $domaine; / / Affiche ER@EXEMPLE.com?