3v4l.org

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

preferences:
43.37 ms | 404 KiB | 5 Q