3v4l.org

run code in 300+ PHP versions simultaneously
<?php ${ 'hello world' } = '惊不惊喜,意不意外'; function foobar(){ echo "<hr />"; return "hello world"; } echo <<<TOKEN <p> {${foobar()}} </p> TOKEN; ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EAgOC
function name:  (null)
number of ops:  9
compiled vars:  !0 = $hello world
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E6%83%8A%E4%B8%8D%E6%83%8A%E5%96%9C%EF%BC%8C%E6%84%8F%E4%B8%8D%E6%84%8F%E5%A4%96'
    8     1        ROPE_INIT                                     3  ~5      '%09%3Cp%3E+'
          2        INIT_FCALL                                               'foobar'
          3        DO_FCALL                                      0  $2      
          4        FETCH_R                      local               ~3      $2
          5        ROPE_ADD                                      1  ~5      ~5, ~3
          6        ROPE_END                                      2  ~4      ~5, '+%3C%2Fp%3E'
          7        ECHO                                                     ~4
   10     8      > RETURN                                                   1

Function foobar:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EAgOC
function name:  foobar
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                     '%3Chr+%2F%3E'
    5     1      > RETURN                                                   'hello+world'
    6     2*     > RETURN                                                   null

End of function foobar

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.89 ms | 997 KiB | 14 Q