3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'Current Time:'.date('YmdHis',strtotime('now')); echo '<br/>'.date('YmdHis',strtotime('-8 hour',strtotime('now'))) ; echo '<br/>'.date('YmdHis',strtotime('-4 hour',strtotime('now'))) ; echo '<br/>'.date('YmdHis',strtotime('-2 hour',strtotime('now'))) ; echo '<br/>'.date('YmdHis',strtotime('-1 hour',strtotime('now'))) ; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fBRdP
function name:  (null)
number of ops:  62
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'YmdHis'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'now'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        CONCAT                                           ~2      'Current+Time%3A', $1
          8        ECHO                                                     ~2
    4     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'YmdHis'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '-8+hour'
         13        INIT_FCALL                                               'strtotime'
         14        SEND_VAL                                                 'now'
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                         $5      
         20        CONCAT                                           ~6      '%3Cbr%2F%3E', $5
         21        ECHO                                                     ~6
    5    22        INIT_FCALL                                               'date'
         23        SEND_VAL                                                 'YmdHis'
         24        INIT_FCALL                                               'strtotime'
         25        SEND_VAL                                                 '-4+hour'
         26        INIT_FCALL                                               'strtotime'
         27        SEND_VAL                                                 'now'
         28        DO_ICALL                                         $7      
         29        SEND_VAR                                                 $7
         30        DO_ICALL                                         $8      
         31        SEND_VAR                                                 $8
         32        DO_ICALL                                         $9      
         33        CONCAT                                           ~10     '%3Cbr%2F%3E', $9
         34        ECHO                                                     ~10
    6    35        INIT_FCALL                                               'date'
         36        SEND_VAL                                                 'YmdHis'
         37        INIT_FCALL                                               'strtotime'
         38        SEND_VAL                                                 '-2+hour'
         39        INIT_FCALL                                               'strtotime'
         40        SEND_VAL                                                 'now'
         41        DO_ICALL                                         $11     
         42        SEND_VAR                                                 $11
         43        DO_ICALL                                         $12     
         44        SEND_VAR                                                 $12
         45        DO_ICALL                                         $13     
         46        CONCAT                                           ~14     '%3Cbr%2F%3E', $13
         47        ECHO                                                     ~14
    7    48        INIT_FCALL                                               'date'
         49        SEND_VAL                                                 'YmdHis'
         50        INIT_FCALL                                               'strtotime'
         51        SEND_VAL                                                 '-1+hour'
         52        INIT_FCALL                                               'strtotime'
         53        SEND_VAL                                                 'now'
         54        DO_ICALL                                         $15     
         55        SEND_VAR                                                 $15
         56        DO_ICALL                                         $16     
         57        SEND_VAR                                                 $16
         58        DO_ICALL                                         $17     
         59        CONCAT                                           ~18     '%3Cbr%2F%3E', $17
         60        ECHO                                                     ~18
    9    61      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.24 ms | 1400 KiB | 17 Q