3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime($indate); $current_time = strftime('%Y%m%d', time()); echo (strftime('%Y%m%d', $timestamp) - $current_time) === 0;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Tcuu
function name:  (null)
number of ops:  19
compiled vars:  !0 = $timestamp, !1 = $indate, !2 = $current_time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAR                                                 !1
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    3     4        INIT_FCALL                                               'strftime'
          5        SEND_VAL                                                 '%25Y%25m%25d'
          6        INIT_FCALL                                               'time'
          7        DO_ICALL                                         $5      
          8        SEND_VAR                                                 $5
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    4    11        INIT_FCALL                                               'strftime'
         12        SEND_VAL                                                 '%25Y%25m%25d'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $8      
         15        SUB                                              ~9      $8, !2
         16        IS_IDENTICAL                                     ~10     ~9, 0
         17        ECHO                                                     ~10
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.85 ms | 1394 KiB | 19 Q