3v4l.org

run code in 200+ php & hhvm versions
<?php $number = 1346.21; var_dump(round($number)); var_dump(round($number, -1)); var_dump(round($number, -2)); var_dump(round($number, -3)); var_dump(round($number, -4));
based on J9Suf
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UrbM5
function name:  (null)
number of ops:  36
compiled vars:  !0 = $number
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 1346.21
   5     1        INIT_FCALL                                               'var_dump'
         2        INIT_FCALL                                               'round'
         3        SEND_VAR                                                 !0
         4        DO_ICALL                                         $2      
         5        SEND_VAR                                                 $2
         6        DO_ICALL                                                 
   6     7        INIT_FCALL                                               'var_dump'
         8        INIT_FCALL                                               'round'
         9        SEND_VAR                                                 !0
        10        SEND_VAL                                                 -1
        11        DO_ICALL                                         $4      
        12        SEND_VAR                                                 $4
        13        DO_ICALL                                                 
   7    14        INIT_FCALL                                               'var_dump'
        15        INIT_FCALL                                               'round'
        16        SEND_VAR                                                 !0
        17        SEND_VAL                                                 -2
        18        DO_ICALL                                         $6      
        19        SEND_VAR                                                 $6
        20        DO_ICALL                                                 
   8    21        INIT_FCALL                                               'var_dump'
        22        INIT_FCALL                                               'round'
        23        SEND_VAR                                                 !0
        24        SEND_VAL                                                 -3
        25        DO_ICALL                                         $8      
        26        SEND_VAR                                                 $8
        27        DO_ICALL                                                 
   9    28        INIT_FCALL                                               'var_dump'
        29        INIT_FCALL                                               'round'
        30        SEND_VAR                                                 !0
        31        SEND_VAL                                                 -4
        32        DO_ICALL                                         $10     
        33        SEND_VAR                                                 $10
        34        DO_ICALL                                                 
        35      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0