3v4l.org

run code in 300+ PHP versions simultaneously
<?php const DAY = 60 * 60 * 24; const DAY_WITH_LEAP_SECOND = DAY + 1; var_dump(DAY_WITH_LEAP_SECOND, DAY);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oFbHv
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CONST                                            'DAY', 86400
    4     1        DECLARE_CONST                                            'DAY_WITH_LEAP_SECOND', <const ast>
    6     2        INIT_FCALL                                               'var_dump'
          3        FETCH_CONSTANT                                   ~0      'DAY_WITH_LEAP_SECOND'
          4        SEND_VAL                                                 ~0
          5        FETCH_CONSTANT                                   ~1      'DAY'
          6        SEND_VAL                                                 ~1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.45 ms | 939 KiB | 16 Q