3v4l.org

run code in 300+ PHP versions simultaneously
<?php //echo date('d-M-y'); //echo date('d-m-y H:i:s A' , strtotime( '29-APR-13 09.28.12.505032 pm')); $date = '29-APR-13 09.28.12.505032 PM'; echo date("d-m-y H:i:s", strtotime("29-APR-13 09:28:12:505032 PM"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pMaa1
function name:  (null)
number of ops:  10
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '29-APR-13+09.28.12.505032+PM'
    6     1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'd-m-y++H%3Ai%3As'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '29-APR-13+09%3A28%3A12%3A505032+PM'
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.98 ms | 1394 KiB | 17 Q