3v4l.org

run code in 300+ PHP versions simultaneously
<?php $£ = 'foo'; echo $£; class £ { public function £() { echo 'hello world'; } } (new £);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nHDFP
function name:  (null)
number of ops:  6
compiled vars:  !0 = $£
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'foo'
    4     1        ECHO                                                     !0
   14     2        NEW                                              $2      '%C2%A3'
          3        DO_FCALL                                      0          
          4        FREE                                                     $2
          5      > RETURN                                                   1

Class £:
Function %C2%A3:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nHDFP
function name:  £
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ECHO                                                     'hello+world'
   11     1      > RETURN                                                   null

End of function %C2%A3

End of class £.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.54 ms | 1393 KiB | 13 Q