3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "<derp>"; $words = array(); $words[] &= $string; $string = substr($string, 1); var_dump($words);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/290To
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string, !1 = $words
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cderp%3E'
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN_DIM_OP                &=              10          !1
          3        OP_DATA                                                  !0
    7     4        INIT_FCALL                                               'substr'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 1
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !0, $5
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.33 ms | 1394 KiB | 17 Q