3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(explode('-', $str) + array_fill(0, 3, NULL));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NtD7V
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '-'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $1      
          5        INIT_FCALL                                               'array_fill'
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 3
          8        SEND_VAL                                                 null
          9        DO_ICALL                                         $2      
         10        ADD                                              ~3      $1, $2
         11        SEND_VAL                                                 ~3
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.07 ms | 1394 KiB | 19 Q