3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inputString = 'ALERTDomoos detects blabla[blabli]'; $pos1 = strpos($inputString, '*'); if($pos1 !== false) { echo 'position' . $pos1; }

preferences:
39.14 ms | 402 KiB | 5 Q