3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = ($buffer = explode(" ", "id 123"))[1]; var_dump( $id );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UKMN7
function name:  (null)
number of ops:  11
compiled vars:  !0 = $id, !1 = $buffer
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '+'
          2        SEND_VAL                                                 'id+123'
          3        DO_ICALL                                         $2      
          4        ASSIGN                                           ~3      !1, $2
          5        FETCH_DIM_R                                      ~4      ~3, 1
          6        ASSIGN                                                   !0, ~4
    5     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.32 ms | 1394 KiB | 17 Q