3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (substr('asdasdasdasd.elasticbeanstalk.com', 0, -20) === 'elasticbeanstalk.com') { echo 'hello'; }
Output for 5.3.6 - 7.2.0