3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = (int)2 ** 63 -1; $b = 0x7FFFFFFFFFFFFFFF; var_dump(($a == $b) === true); var_dump((0x7FFFFFFFFFFFFFFF == (2 ** 63 -1)) === true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sQeJX
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          4  ~2      9.22337e+18
          1        SUB                                              ~3      ~2, 1
          2        ASSIGN                                                   !0, ~3
    4     3        ASSIGN                                                   !1, 9223372036854775807
    6     4        INIT_FCALL                                               'var_dump'
          5        IS_EQUAL                                         ~6      !0, !1
          6        TYPE_CHECK                                    8  ~7      ~6
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                                 
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <true>
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.94 ms | 1394 KiB | 15 Q