3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tense = 'Past'; $difference = 'the'; $periods = array( 'surface PHP can be interesting' ); echo "{$tense} $difference $periods[0] ";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tCGnY
function name:  (null)
number of ops:  12
compiled vars:  !0 = $tense, !1 = $difference, !2 = $periods
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Past'
    5     1        ASSIGN                                                   !1, 'the'
    7     2        ASSIGN                                                   !2, <array>
   11     3        ROPE_INIT                                     6  ~8      !0
          4        ROPE_ADD                                      1  ~8      ~8, '+'
          5        ROPE_ADD                                      2  ~8      ~8, !1
          6        ROPE_ADD                                      3  ~8      ~8, '+'
          7        FETCH_DIM_R                                      ~6      !2, 0
          8        ROPE_ADD                                      4  ~8      ~8, ~6
          9        ROPE_END                                      5  ~7      ~8, '+'
         10        ECHO                                                     ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.06 ms | 1393 KiB | 13 Q