3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.04 ms | 1395 KiB | 19 Q