3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hi = 'hi'; echo $hi."\n"; echo $HI."\n"; function poo(){ echo 'blah'; } poo(); POO();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IVa8W
function name:  (null)
number of ops:  10
compiled vars:  !0 = $hi, !1 = $HI
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'hi'
    5     1        CONCAT                                           ~3      !0, '%0A'
          2        ECHO                                                     ~3
    6     3        CONCAT                                           ~4      !1, '%0A'
          4        ECHO                                                     ~4
   12     5        INIT_FCALL                                               'poo'
          6        DO_FCALL                                      0          
   13     7        INIT_FCALL                                               'poo'
          8        DO_FCALL                                      0          
          9      > RETURN                                                   1

Function poo:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IVa8W
function name:  poo
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     'blah'
   10     1      > RETURN                                                   null

End of function poo

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.77 ms | 1396 KiB | 15 Q