3v4l.org

run code in 300+ PHP versions simultaneously
<?php $layout = "hello"; echo "<div id=\"main\" role=\"main\" class=\"layout_" . $layout . "\">";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lTvHO
function name:  (null)
number of ops:  5
compiled vars:  !0 = $layout
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'hello'
    3     1        CONCAT                                           ~2      '%3Cdiv+id%3D%22main%22+role%3D%22main%22+class%3D%22layout_', !0
          2        CONCAT                                           ~3      ~2, '%22%3E'
          3        ECHO                                                     ~3
          4      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.69 ms | 1392 KiB | 13 Q