3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(round(0, 2)); // When Warning is ignored the type juggling changed var_dump(number_format(120 / 0 * 100, 2));
based on k7llT
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/GalPL
function name:  (null)
number of ops:  17
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'var_dump'
         1        INIT_FCALL                                               'round'
         2        SEND_VAL                                                 0
         3        SEND_VAL                                                 2
         4        DO_ICALL                                         $0      
         5        SEND_VAR                                                 $0
         6        DO_ICALL                                                 
   5     7        INIT_FCALL                                               'var_dump'
         8        INIT_FCALL                                               'number_format'
         9        DIV                                              ~2      120, 0
        10        MUL                                              ~3      ~2, 100
        11        SEND_VAL                                                 ~3
        12        SEND_VAL                                                 2
        13        DO_ICALL                                         $4      
        14        SEND_VAR                                                 $4
        15        DO_ICALL                                                 
        16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0