3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '914027'; if ($missNumbers = array_diff(range('0','9'), str_split($str))) { echo sprintf("Missing: %s", implode(', ', $missNumbers)); }

preferences:
28.97 ms | 408 KiB | 5 Q