3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = (float) (PHP_INT_MAX ); $foo *= 2; 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 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lXhIM
function name:  (null)
number of ops:  11
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        IS_EQUAL                                                 !0, 1.84467e+19
          4      > JMPZ                                                     ~4, ->7
    8     5    >   ECHO                                                     'true'
          6      > JMP                                                      ->10
   11     7    >   NOP                                                      
          8        FAST_CONCAT                                      ~5      !0, '+%21%3D+1.844674407371E%2B19'
          9        ECHO                                                     ~5
   12    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.45 ms | 1397 KiB | 13 Q