3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s0 = 'SmartNumbers|Decimal Separator e.g. 1.14|.'; //$sp = strpos($s0, '|', -1); $string = "What"; $sp = strpos($string, "W", -1); echo $sp;
Output for 7.0.19
Warning: strpos(): Offset not contained in string in /in/4um1g on line 8