3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d H:i:s', 1411627800).' -> '.date('Y-m-d H:i:s', strtotime('today', 1411627800));echo "\r\n"; echo date('Y-m-d H:i:s', 1412207700).' -> '.date('Y-m-d H:i:s', strtotime('today', 1412207700));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/k2fHG
function name:  (null)
number of ops:  32
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'echo%C2%A0date'
          1        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
          2        SEND_VAL_EX                                              1411627800
          3        DO_FCALL                                      0  $0      
          4        CONCAT                                           ~1      $0, '+-%3E+'
          5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          7        INIT_FCALL                                               'strtotime'
          8        SEND_VAL                                                 'today'
          9        SEND_VAL                                                 1411627800
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                         $3      
         13        CONCAT                                           ~4      ~1, $3
         14        FREE                                                     ~4
         15        ECHO                                                     '%0D%0A'
    4    16        INIT_FCALL_BY_NAME                                       'echo%C2%A0date'
         17        SEND_VAL_EX                                              'Y-m-d+H%3Ai%3As'
         18        SEND_VAL_EX                                              1412207700
         19        DO_FCALL                                      0  $5      
         20        CONCAT                                           ~6      $5, '+-%3E+'
         21        INIT_FCALL                                               'date'
         22        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         23        INIT_FCALL                                               'strtotime'
         24        SEND_VAL                                                 'today'
         25        SEND_VAL                                                 1412207700
         26        DO_ICALL                                         $7      
         27        SEND_VAR                                                 $7
         28        DO_ICALL                                         $8      
         29        CONCAT                                           ~9      ~6, $8
         30        FREE                                                     ~9
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.8 ms | 1396 KiB | 17 Q