3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo sin(M_PI/6); function sinus($i){ sin ($i); } echo sin(M_PI/2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Om8VB
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'sin'
          1        SEND_VAL                                                 0.523599
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    9     4        INIT_FCALL                                               'sin'
          5        SEND_VAL                                                 1.5708
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Function sinus:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Om8VB
function name:  sinus
number of ops:  5
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'sin'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    7     4      > RETURN                                                   null

End of function sinus

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.46 ms | 1394 KiB | 15 Q