3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $expire = -1; $expire = $expire === -1 ? 2524647600 : $expire += time(); echo $expire;
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 3, Position 2 = 5
Branch analysis from position: 3
Jump found. Position 1 = 9
Branch analysis from position: 9
Jump found. Position 1 = -2
Branch analysis from position: 5
Jump found. Position 1 = -2
filename:       /in/DT0IP
function name:  (null)
number of ops:  12
compiled vars:  !0 = $expire
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   4     0  E >   ASSIGN                                                   !0, -1
   6     1        IS_IDENTICAL                                     ~2      !0, -1
         2      > JMPZ                                                     ~2, ->5
         3    >   QM_ASSIGN                                        ~3      2524647600
         4      > JMP                                                      ->9
         5    >   INIT_FCALL                                               'time'
         6        DO_ICALL                                         $4      
         7        ASSIGN_ADD                                    0  $5      !0, $4
         8        QM_ASSIGN                                        ~3      $5
         9    >   ASSIGN                                                   !0, ~3
  11    10        ECHO                                                     !0
        11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0