3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.65 ms | 1385 KiB | 15 Q