3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = (float) (PHP_INT_MAX ); $foo *= 2; ini_set('precision', 64); if ($foo == 1.844674407371E+19) { echo "true"; } else { echo "$foo != 1.844674407371E+19"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8GSSC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $foo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          5  ~1      9223372036854775807
          1        ASSIGN                                                   !0, ~1
    5     2        ASSIGN_OP                                     3          !0, 2
    7     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'precision'
          5        SEND_VAL                                                 64
          6        DO_ICALL                                                 
    9     7        IS_EQUAL                                                 !0, 1.84467e+19
          8      > JMPZ                                                     ~5, ->11
   10     9    >   ECHO                                                     'true'
         10      > JMP                                                      ->14
   13    11    >   NOP                                                      
         12        FAST_CONCAT                                      ~6      !0, '+%21%3D+1.844674407371E%2B19'
         13        ECHO                                                     ~6
   14    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.5 ms | 1394 KiB | 15 Q