3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = "instructions and recipes"; if (strrpos($i, "instr") !== false) { print 1; }
based on eIqD3
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.9, 8.0.0alpha1 - beta1
1