3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(0.3,90); echo "\n"; echo number_format(0.1+0.2,90); echo "\n"; var_dump(0.1+0.2 === 0.3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0BFnH
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'number_format'
          1        SEND_VAL                                                 0.3
          2        SEND_VAL                                                 90
          3        DO_ICALL                                         $0      
          4        ECHO                                                     $0
    4     5        ECHO                                                     '%0A'
    5     6        INIT_FCALL                                               'number_format'
          7        SEND_VAL                                                 0.3
          8        SEND_VAL                                                 90
          9        DO_ICALL                                         $1      
         10        ECHO                                                     $1
    6    11        ECHO                                                     '%0A'
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAL                                                 <false>
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.94 ms | 1398 KiB | 17 Q