3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (substr('asdasdasdasd.elasticbeanstalk.com', 0, -20) === 'elasticbeanstalk.com') { echo 'hello'; }

preferences:
37.11 ms | 402 KiB | 5 Q