3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ 1, 2, 3, 4, nosuchfunction(), 6, 7 ];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BXO8q
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_ARRAY                                       ~1      1
    5     1        ADD_ARRAY_ELEMENT                                ~1      2
    6     2        ADD_ARRAY_ELEMENT                                ~1      3
    7     3        ADD_ARRAY_ELEMENT                                ~1      4
    8     4        INIT_FCALL_BY_NAME                                       'nosuchfunction'
          5        DO_FCALL                                      0  $2      
          6        ADD_ARRAY_ELEMENT                                ~1      $2
    9     7        ADD_ARRAY_ELEMENT                                ~1      6
   10     8        ADD_ARRAY_ELEMENT                                ~1      7
    3     9        ASSIGN                                                   !0, ~1
   11    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
205.5 ms | 1392 KiB | 13 Q