3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(date_format(strtotime("10.12.2015"), "YYYY-mm-dd")); var_dump(new Date("10.12.2015")); var_dump(strtotime("2015-12-10"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IBbpH
function name:  (null)
number of ops:  23
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'date_format'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '10.12.2015'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        SEND_VAL                                                 'YYYY-mm-dd'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'var_dump'
         11        NEW                                              $3      'Date'
         12        SEND_VAL_EX                                              '10.12.2015'
         13        DO_FCALL                                      0          
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
    5    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAL                                                 '2015-12-10'
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.37 ms | 1386 KiB | 19 Q