3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( date('U', strtotime('2017-07-12 12:54:00')), date('U', strtotime('2017-07-12T12:54:00')), date('U', strtotime('12/07/2017 12:54:00')), date('U', strtotime('12/07/2017T12:54:00')) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Xfgp9
function name:  (null)
number of ops:  35
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
    4     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'U'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2017-07-12+12%3A54%3A00'
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
    5     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'U'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '2017-07-12T12%3A54%3A00'
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                         $3      
         16        SEND_VAR                                                 $3
    6    17        INIT_FCALL                                               'date'
         18        SEND_VAL                                                 'U'
         19        INIT_FCALL                                               'strtotime'
         20        SEND_VAL                                                 '12%2F07%2F2017+12%3A54%3A00'
         21        DO_ICALL                                         $4      
         22        SEND_VAR                                                 $4
         23        DO_ICALL                                         $5      
         24        SEND_VAR                                                 $5
    7    25        INIT_FCALL                                               'date'
         26        SEND_VAL                                                 'U'
         27        INIT_FCALL                                               'strtotime'
         28        SEND_VAL                                                 '12%2F07%2F2017T12%3A54%3A00'
         29        DO_ICALL                                         $6      
         30        SEND_VAR                                                 $6
         31        DO_ICALL                                         $7      
         32        SEND_VAR                                                 $7
         33        DO_ICALL                                                 
    8    34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.11 ms | 1396 KiB | 19 Q