3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $queue = 'amq.get-asddasdassda'; if (substr($queue, 0, 7) === 'amq.gen') { echo '1'; return; } echo '2';
based on soHF9
Output for 5.6.0 - 7.3.0alpha1
2