3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $utf8string = 'Inspecteur Gadget. Titre original : Inspector Gadget Origine'; $var = 'gadget'; $pos = 1; while($pos > 0) { $pos = stripos($utf8string, $var); echo substr($utf8string, $pos, strlen($var)); }