3v4l.org

run code in 300+ PHP versions simultaneously
<?php //weird encoding $mydata="Entity: This data must work." ; echo (strpos($mydata,'Εntity') === false) ? 'normal' : 'other'; //normal $mydata="Εntity: This data must work." ; echo (strpos($mydata,'Εntity') === false) ? 'normal' : 'other';

preferences:
24.52 ms | 404 KiB | 5 Q