3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(explode('$', "hello$this$string has$some spaces"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WKCIj
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $some
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%24'
          3        ROPE_INIT                                     6  ~4      'hello'
          4        FETCH_THIS                                       ~2      
          5        ROPE_ADD                                      1  ~4      ~4, ~2
          6        ROPE_ADD                                      2  ~4      ~4, !0
          7        ROPE_ADD                                      3  ~4      ~4, '+has'
          8        ROPE_ADD                                      4  ~4      ~4, !1
          9        ROPE_END                                      5  ~3      ~4, '+spaces'
         10        SEND_VAL                                                 ~3
         11        DO_ICALL                                         $7      
         12        SEND_VAR                                                 $7
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.35 ms | 1394 KiB | 17 Q