3v4l.org

run code in 300+ PHP versions simultaneously
<?php /*class Insu { function clsName() { echo get_class($this); } } $cl = new Insu; $cl->clsName();*/ //Insurance::clsName(); $Rent = 250; function Expenses($Other) { $Rent = 250 + $Other; return $Rent; } Expenses(50); echo $Rent; //var_dump(3*4);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H7dCJ
function name:  (null)
number of ops:  6
compiled vars:  !0 = $Rent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   ASSIGN                                                   !0, 250
   21     1        INIT_FCALL                                               'expenses'
          2        SEND_VAL                                                 50
          3        DO_FCALL                                      0          
   22     4        ECHO                                                     !0
   25     5      > RETURN                                                   1

Function expenses:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H7dCJ
function name:  Expenses
number of ops:  5
compiled vars:  !0 = $Other, !1 = $Rent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   18     1        ADD                                              ~2      250, !0
          2        ASSIGN                                                   !1, ~2
   19     3      > RETURN                                                   !1
   20     4*     > RETURN                                                   null

End of function expenses

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.65 ms | 1396 KiB | 14 Q