3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array('one-time-payment'); if (strpos('/harrycooper/ig/one-time-payment', 'one-time-payment') !== false) { echo "true"; } else { echo "false"; }
based on p9n6U
Output for 4.3.0 - 7.2.0
true