3v4l.org

run code in 300+ PHP versions simultaneously
<?php $val = 123456699999876528; $float = $val / 100; var_dump($val); var_dump($float); var_dump(sprintf('%f', $float));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HattH
function name:  (null)
number of ops:  17
compiled vars:  !0 = $val, !1 = $float
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 123456699999876528
    3     1        DIV                                              ~3      !0, 100
          2        ASSIGN                                                   !1, ~3
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    6     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL                                               'sprintf'
         11        SEND_VAL                                                 '%25f'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $7      
         14        SEND_VAR                                                 $7
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.29 ms | 1398 KiB | 17 Q