3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'value: ' . \PHP_INT_MIN . "\n" . 'literal: ' . -9223372036854775808 . "\n" . 'eq: ' . (-9223372036854775808 === \PHP_INT_MIN ? 'eq' : 'neq') . "\n"; echo 'value: ' . \PHP_INT_MAX . "\n" . 'literal: ' . 9223372036854775807 . "\n" . 'eq: ' . (9223372036854775807 === \PHP_INT_MAX ? 'eq' : 'neq') . "\n";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 3
Branch analysis from position: 1
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
Branch analysis from position: 10
filename:       /in/QpWHc
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > JMPZ                                                     <false>, ->3
          1    >   QM_ASSIGN                                        ~0      'eq'
          2      > JMP                                                      ->4
          3    >   QM_ASSIGN                                        ~0      'neq'
          4    >   CONCAT                                           ~1      'value%3A+++-9223372036854775808%0Aliteral%3A+-9.2233720368548E%2B18%0Aeq%3A++++++', ~0
          5        CONCAT                                           ~2      ~1, '%0A'
          6        ECHO                                                     ~2
    9     7      > JMPZ                                                     <true>, ->10
          8    >   QM_ASSIGN                                        ~3      'eq'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~3      'neq'
         11    >   CONCAT                                           ~4      'value%3A+++9223372036854775807%0Aliteral%3A+9223372036854775807%0Aeq%3A++++++', ~3
         12        CONCAT                                           ~5      ~4, '%0A'
         13        ECHO                                                     ~5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
193.23 ms | 994 KiB | 13 Q