3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '9223372036854775808123'; $id = (int)$var; if(PHP_INT_MAX === $id) { echo 'Ты че, пес?'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/3F9GN
function name:  (null)
number of ops:  7
compiled vars:  !0 = $var, !1 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '9223372036854775808123'
    3     1        CAST                                          4  ~3      !0
          2        ASSIGN                                                   !1, ~3
    5     3        IS_IDENTICAL                                             !1, 9223372036854775807
          4      > JMPZ                                                     ~5, ->6
    6     5    >   ECHO                                                     '%D0%A2%D1%8B+%D1%87%D0%B5%2C+%D0%BF%D0%B5%D1%81%3F'
    7     6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.45 ms | 1392 KiB | 13 Q