3v4l.org

run code in 500+ PHP versions simultaneously
<?php var_dump( explode(",", "foo,bar"), ["foo", "bar"], [0 => "foo", 1 => "bar"] );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IrF7t
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'var_dump'
    3     1        INIT_FCALL                                                   'explode'
          2        SEND_VAL                                                     '%2C'
          3        SEND_VAL                                                     'foo%2Cbar'
          4        DO_ICALL                                             $0      
          5        SEND_VAR                                                     $0
    4     6        SEND_VAL                                                     <array>
    5     7        SEND_VAL                                                     <array>
    2     8        DO_ICALL                                                     
    6     9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
164.97 ms | 2019 KiB | 15 Q