3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array('one-time-payment'); if (in_array('one-time-payment', array('one-time-payment', 'one-time-payment/nv'))) { echo "true"; } else { echo "false"; }
based on F6G2P
Output for 4.3.0 - 7.1.0
true