3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-type:text/html; charset=utf-8'); $heart = mb_convert_encoding('&#9829;', 'UTF-8', 'HTML-ENTITIES'); echo "&lt;?php<br><br>\n", "$<span class='red'>{$heart}</span> = \"love\";<br>\n", "var_dump( \"I $<span class='red'>{$heart}</span> PHP!\" );";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1T88S
function name:  (null)
number of ops:  19
compiled vars:  !0 = $heart
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-type%3Atext%2Fhtml%3B+charset%3Dutf-8'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'mb_convert_encoding'
          4        SEND_VAL                                                 '%26%239829%3B'
          5        SEND_VAL                                                 'UTF-8'
          6        SEND_VAL                                                 'HTML-ENTITIES'
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    5     9        ECHO                                                     '%26lt%3B%3Fphp%3Cbr%3E%3Cbr%3E%0A'
    6    10        ROPE_INIT                                     3  ~5      '%24%3Cspan+class%3D%27red%27%3E'
         11        ROPE_ADD                                      1  ~5      ~5, !0
         12        ROPE_END                                      2  ~4      ~5, '%3C%2Fspan%3E+%3D+%22love%22%3B%3Cbr%3E%0A'
         13        ECHO                                                     ~4
    7    14        ROPE_INIT                                     3  ~8      'var_dump%28+%22I+%24%3Cspan+class%3D%27red%27%3E'
         15        ROPE_ADD                                      1  ~8      ~8, !0
         16        ROPE_END                                      2  ~7      ~8, '%3C%2Fspan%3E+PHP%21%22+%29%3B'
         17        ECHO                                                     ~7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.73 ms | 1395 KiB | 17 Q