3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Predict this output. I doubt you'll get it correct for any version of PHP you are working on. var_dump( '9223372036854775807' == '9223372036854775808'); var_dump( '=' + '9223372036854775807' == '=' + '9223372036854775808'); var_dump( '=' . '9223372036854775807' == '=' . '9223372036854775808'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bvfrH
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 <false>
          2        DO_ICALL                                                 
    7     3        INIT_FCALL                                               'var_dump'
          4        ADD                                              ~1      '%3D', '9223372036854775807'
          5        ADD                                              ~2      '%3D', '9223372036854775808'
          6        IS_EQUAL                                         ~3      ~1, ~2
          7        SEND_VAL                                                 ~3
          8        DO_ICALL                                                 
    9     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAL                                                 <false>
         11        DO_ICALL                                                 
   11    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.19 ms | 1394 KiB | 15 Q