3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = strtotime('10/16/2003'); // $newDate = date("Y-m-d", strtotime($result)); $cstBirthday = date('Y-m-d',$result); echo $cstBirthday->format('Y-m-d'); //echo $startTime->format('Y-m-d H:i:s');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uCQJo
function name:  (null)
number of ops:  14
compiled vars:  !0 = $result, !1 = $cstBirthday
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '10%2F16%2F2003'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    6     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    8     9        INIT_METHOD_CALL                                         !1, 'format'
         10        SEND_VAL_EX                                              'Y-m-d'
         11        DO_FCALL                                      0  $6      
         12        ECHO                                                     $6
    9    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.13 ms | 1394 KiB | 17 Q