3v4l.org

run code in 300+ PHP versions simultaneously
<?php $currentTimeStamp = strtotime('-4 days'); $yesterdayTimeStamp = strtotime('-1 days', $currentTimeStamp); var_dump($currentTimeStamp, $yesterdayTimeStamp);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dDtbI
function name:  (null)
number of ops:  14
compiled vars:  !0 = $currentTimeStamp, !1 = $yesterdayTimeStamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '-4+days'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '-1+days'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    6     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.51 ms | 1398 KiB | 17 Q