3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0x7fffffffffffffff; echo $i + 1 . "\n"; echo $i . "\n"; echo (($i + 1) > $i) ? "yes" : "no";
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 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DI96j
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 9223372036854775807
    4     1        ADD                                              ~2      !0, 1
          2        CONCAT                                           ~3      ~2, '%0A'
          3        ECHO                                                     ~3
    5     4        CONCAT                                           ~4      !0, '%0A'
          5        ECHO                                                     ~4
    6     6        ADD                                              ~5      !0, 1
          7        IS_SMALLER                                               !0, ~5
          8      > JMPZ                                                     ~6, ->11
          9    >   QM_ASSIGN                                        ~7      'yes'
         10      > JMP                                                      ->12
         11    >   QM_ASSIGN                                        ~7      'no'
         12    >   ECHO                                                     ~7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.14 ms | 1393 KiB | 13 Q