3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.15 ms | 1394 KiB | 17 Q