3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 'test'; $str=<<<EOD asdfas fjalskd fajlskdj salkdjf and this is a {htmlspecialchars($test, ENT_COMPAT, 'UTF-8')} sadfasd fjslakdjf EOD; echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5eM0M
function name:  (null)
number of ops:  7
compiled vars:  !0 = $test, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'test'
    4     1        ROPE_INIT                                     3  ~4      'asdfas+fjalskd+fajlskdj+salkdjf%0A++++and+this+is+a+%7Bhtmlspecialchars%28'
    5     2        ROPE_ADD                                      1  ~4      ~4, !0
          3        ROPE_END                                      2  ~3      ~4, '%2C+ENT_COMPAT%2C+%27UTF-8%27%29%7D+sadfasd+fjslakdjf'
    3     4        ASSIGN                                                   !1, ~3
    7     5        ECHO                                                     !1
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.84 ms | 1392 KiB | 13 Q