3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $status = 'i love watching tv on my brand new apple mac'; $productFile = "apple sony dyson mcdonalds ipod"; if (similar_text($status,$productFile) != 0) { echo 'the status contains a product'; } else{ echo 'The status doesnt contain a product'; }
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
the status contains a product
Output for hhvm-3.10.0

Process exited with code 153.