3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'asdf asd'; $array = array('asdf', 'asd'); var_dump('string'); var_dump(explode(' ', $string)); var_dump('array'); var_dump(explode(' ', $array));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5giif
function name:  (null)
number of ops:  23
compiled vars:  !0 = $string, !1 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'asdf+asd'
    4     1        ASSIGN                                                   !1, <array>
    5     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAL                                                 'string'
          4        DO_ICALL                                                 
    6     5        INIT_FCALL                                               'var_dump'
          6        INIT_FCALL                                               'explode'
          7        SEND_VAL                                                 '+'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        DO_ICALL                                                 
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 'array'
         14        DO_ICALL                                                 
    8    15        INIT_FCALL                                               'var_dump'
         16        INIT_FCALL                                               'explode'
         17        SEND_VAL                                                 '+'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $8      
         20        SEND_VAR                                                 $8
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.37 ms | 1395 KiB | 17 Q