3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('precision', 17); echo "0.1 + 0.2 = ". ( 0.1 + 0.2 ) ."\n"; $true = 0.1 + 0.2 == 0.3 ? "Equal" : "Not equal"; echo "0.1 + 0.2 = 0.3 => $true\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1FU9J
function name:  (null)
number of ops:  15
compiled vars:  !0 = $true
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'ini_set'
          1        SEND_VAL                                                     'precision'
          2        SEND_VAL                                                     17
          3        DO_ICALL                                                     
    3     4        ECHO                                                         '0.1+%2B+0.2+%3D+0.3%0A'
    4     5      > JMPZ                                                         <false>, ->8
          6    >   QM_ASSIGN                                            ~2      'Equal'
          7      > JMP                                                          ->9
          8    >   QM_ASSIGN                                            ~2      'Not+equal'
          9    >   ASSIGN                                                       !0, ~2
    5    10        ROPE_INIT                                         3  ~5      '0.1+%2B+0.2+%3D+0.3+%3D%3E+'
         11        ROPE_ADD                                          1  ~5      ~5, !0
         12        ROPE_END                                          2  ~4      ~5, '%0A'
         13        ECHO                                                         ~4
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
218.44 ms | 2573 KiB | 14 Q