3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gravity = '0.0000000000001'; $a = '1'; $velocity = bcadd($a, $gravity, 20); echo $velocity;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1kMbK
function name:  (null)
number of ops:  10
compiled vars:  !0 = $gravity, !1 = $a, !2 = $velocity
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0.0000000000001'
    4     1        ASSIGN                                                   !1, '1'
    5     2        INIT_FCALL_BY_NAME                                       'bcadd'
          3        SEND_VAR_EX                                              !1
          4        SEND_VAR_EX                                              !0
          5        SEND_VAL_EX                                              20
          6        DO_FCALL                                      0  $5      
          7        ASSIGN                                                   !2, $5
    6     8        ECHO                                                     !2
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
134.15 ms | 993 KiB | 13 Q