3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.45 ms | 1394 KiB | 17 Q