3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=5;/* this multiline comment */ $y=10; //this is global $txt="hello"; $txt.="world"; echo $txt,"<tab> "; $cars=array("bmw","volvo","benz"); echo "my car is {$cars[0]}"; echo"<br>"; print "my bro's car is {$cars[2]}";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WGN8G
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x, !1 = $y, !2 = $txt, !3 = $cars
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
    3     1        ASSIGN                                                   !1, 10
    4     2        ASSIGN                                                   !2, 'hello'
    5     3        ASSIGN_OP                                     8          !2, 'world'
    6     4        ECHO                                                     !2
          5        ECHO                                                     '%3Ctab%3E++++'
    7     6        ASSIGN                                                   !3, <array>
    8     7        NOP                                                      
          8        FETCH_DIM_R                                      ~9      !3, 0
          9        FAST_CONCAT                                      ~10     'my+car+is+', ~9
         10        ECHO                                                     ~10
    9    11        ECHO                                                     '%3Cbr%3E'
   10    12        NOP                                                      
         13        FETCH_DIM_R                                      ~11     !3, 2
         14        FAST_CONCAT                                      ~12     'my+bro%27s+car+is+', ~11
         15        ECHO                                                     ~12
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.92 ms | 1393 KiB | 13 Q