3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.06 ms | 1395 KiB | 17 Q