3v4l.org

run code in 500+ PHP versions simultaneously
<?php $url = 'https://player.vimeo.com/video/322332324?byline=0'; // Get the path from the URL $path = parse_url($url, PHP_URL_PATH); // Get the everything after the last slash $numbers = substr($path, strrpos($path, '/') + 1); echo $numbers;

preferences:
116.24 ms | 1966 KiB | 5 Q