3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string1 = 'Lenovo Essential B5400 - Ordenador portátil de 15.6" (Intel i5-4200M 2.5 GHz, RAM de 4 GB DDR3, disco duro de 500 GB, Intel HD Graphics 4600, Windows 8.1 64-bit) negro'; var_dump(mb_strpos($string1, ' - '));
Output for 4.3.0 - 7.1.0
int(22)