3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.01 ms | 1385 KiB | 15 Q