3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "#22aantal283xuitvoeren"; preg_match_all("/\d+/", $s, $number); echo end($number[0]);

preferences:
23.62 ms | 405 KiB | 5 Q