<?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;
You have javascript disabled. You will not be able to edit any code.