3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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/m1MIe
function name:  (null)
number of ops:  15
compiled vars:  !0 = $current_time, !1 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strftime'
          1        SEND_VAL                                                 '%25Y%25m%25d'
          2        INIT_FCALL                                               'time'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    4     7        INIT_FCALL                                               'strftime'
          8        SEND_VAL                                                 '%25Y%25m%25d'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        SUB                                              ~6      $5, !0
         12        IS_IDENTICAL                                     ~7      ~6, 0
         13        ECHO                                                     ~7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.76 ms | 1394 KiB | 17 Q