3v4l.org

run code in 300+ PHP versions simultaneously
<?php [$major, $minor] = explode('.', '11.x-dev'); echo $minor + 1;

preferences:
23.85 ms | 404 KiB | 5 Q