3v4l.org

run code in 300+ PHP versions simultaneously
<?php $set_of_numbers = "1,2,4,5,9"; $numbers = explode(",", $set_of_numbers); $range = range(1,12); $numbers_to_output = array_diff($range, $numbers); // [3,6,7,8,10,11,12] foreach($numbers_to_output as $n){ echo '<option value='.$n.'>'.$n."</option>\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 17, Position 2 = 24
Branch analysis from position: 17
2 jumps found. (Code = 78) Position 1 = 18, Position 2 = 24
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/ub8II
function name:  (null)
number of ops:  26
compiled vars:  !0 = $set_of_numbers, !1 = $numbers, !2 = $range, !3 = $numbers_to_output, !4 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '1%2C2%2C4%2C5%2C9'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2C'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    5     6        INIT_FCALL                                               'range'
          7        SEND_VAL                                                 1
          8        SEND_VAL                                                 12
          9        DO_ICALL                                         $8      
         10        ASSIGN                                                   !2, $8
    7    11        INIT_FCALL                                               'array_diff'
         12        SEND_VAR                                                 !2
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $10     
         15        ASSIGN                                                   !3, $10
   10    16      > FE_RESET_R                                       $12     !3, ->24
         17    > > FE_FETCH_R                                               $12, !4, ->24
   11    18    >   CONCAT                                           ~13     '%3Coption+value%3D', !4
         19        CONCAT                                           ~14     ~13, '%3E'
         20        CONCAT                                           ~15     ~14, !4
         21        CONCAT                                           ~16     ~15, '%3C%2Foption%3E%0A'
         22        ECHO                                                     ~16
   10    23      > JMP                                                      ->17
         24    >   FE_FREE                                                  $12
   12    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.77 ms | 1439 KiB | 16 Q