3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "abcdefg"; echo explode("?", $string); $string2 = "abc?efg"; $explodedString = explode("?", $string2); echo $explodedString[0];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MPFbc
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $string2, !2 = $explodedString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'abcdefg'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%3F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ECHO                                                     $4
    5     6        ASSIGN                                                   !1, 'abc%3Fefg'
    6     7        INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 '%3F'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $6      
         11        ASSIGN                                                   !2, $6
    7    12        FETCH_DIM_R                                      ~8      !2, 0
         13        ECHO                                                     ~8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.42 ms | 1394 KiB | 15 Q