3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = "secret"; $harm = "p is $p got you"; echo htmlentities("p is $p got you"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TNOnc
function name:  (null)
number of ops:  13
compiled vars:  !0 = $p, !1 = $harm
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'secret'
    3     1        ROPE_INIT                                     3  ~4      'p+is+'
          2        ROPE_ADD                                      1  ~4      ~4, !0
          3        ROPE_END                                      2  ~3      ~4, '+got+you'
          4        ASSIGN                                                   !1, ~3
    4     5        INIT_FCALL                                               'htmlentities'
          6        ROPE_INIT                                     3  ~8      'p+is+'
          7        ROPE_ADD                                      1  ~8      ~8, !0
          8        ROPE_END                                      2  ~7      ~8, '+got+you'
          9        SEND_VAL                                                 ~7
         10        DO_ICALL                                         $10     
         11        ECHO                                                     $10
    5    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.05 ms | 1385 KiB | 15 Q