3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface CalculatorInterface { // All currency are in cents. const DOLLARS_TO_CENTS = 100; const CENTS_TO_DOLLARS = 0.01; public function calculate(DataInterface $data, RatesInterface $rates); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Etptc
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E > > RETURN                                                   1

Class CalculatorInterface:
Function calculate:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Etptc
function name:  calculate
number of ops:  3
compiled vars:  !0 = $data, !1 = $rates
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2      > RETURN                                                   null

End of function calculate

End of class CalculatorInterface.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.96 ms | 1392 KiB | 13 Q