3v4l.org

run code in 300+ PHP versions simultaneously
<?php $last_access=strtotime('today'); if ($last_access >= strtotime("today")) echo "Today"; else if ($last_access >= strtotime("yesterday")) echo "Yesterday"; ?>
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 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/ulXYN
function name:  (null)
number of ops:  18
compiled vars:  !0 = $last_access
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'today'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    5     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'today'
          6        DO_ICALL                                         $3      
          7        IS_SMALLER_OR_EQUAL                                      $3, !0
          8      > JMPZ                                                     ~4, ->11
    6     9    >   ECHO                                                     'Today'
         10      > JMP                                                      ->17
    7    11    >   INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 'yesterday'
         13        DO_ICALL                                         $5      
         14        IS_SMALLER_OR_EQUAL                                      $5, !0
         15      > JMPZ                                                     ~6, ->17
    8    16    >   ECHO                                                     'Yesterday'
    9    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.61 ms | 1395 KiB | 15 Q