3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(((double)round((0.9 + 0.31) * 100) / 100) == 0.40);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XfP35
function name:  (null)
number of ops:  10
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                                                 121
          3        DO_ICALL                                         $0      
          4        CAST                                          5  ~1      $0
          5        DIV                                              ~2      ~1, 100
          6        IS_EQUAL                                         ~3      ~2, 0.4
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.58 ms | 1385 KiB | 17 Q