3v4l.org

run code in 300+ PHP versions simultaneously
<?php $opt = 'foo='; $explode = explode('=', $opt, 2); var_export($explode); echo "\n"; var_explode(isset($explode[1]));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9hGYj
function name:  (null)
number of ops:  16
compiled vars:  !0 = $opt, !1 = $explode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'foo%3D'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3D'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    6     7        INIT_FCALL                                               'var_export'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    7    10        ECHO                                                     '%0A'
    8    11        INIT_FCALL_BY_NAME                                       'var_explode'
         12        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !1, 1
         13        SEND_VAL_EX                                              ~6
         14        DO_FCALL                                      0          
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.86 ms | 1394 KiB | 17 Q