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)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 23
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
filename:       /in/HelUL
function name:  (null)
number of ops:  24
compiled vars:  !0 = $str, !1 = $missNumbers
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '914027'
    4     1        INIT_FCALL                                               'array_diff'
          2        INIT_FCALL                                               'range'
          3        SEND_VAL                                                 '0'
          4        SEND_VAL                                                 '9'
          5        DO_ICALL                                         $3      
          6        SEND_VAR                                                 $3
          7        INIT_FCALL                                               'str_split'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $5      
         12        ASSIGN                                           ~6      !1, $5
         13      > JMPZ                                                     ~6, ->23
    5    14    >   INIT_FCALL                                               'sprintf'
         15        SEND_VAL                                                 'Missing%3A+%25s'
         16        INIT_FCALL                                               'implode'
         17        SEND_VAL                                                 '%2C+'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
         21        DO_ICALL                                         $8      
         22        ECHO                                                     $8
    6    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.99 ms | 1463 KiB | 18 Q