3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date_create($row[0]); echo date_format($date, 'Y-m-d H:i:s'); #output: 2012-03-24 17:45:12 ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O4rQB
function name:  (null)
number of ops:  11
compiled vars:  !0 = $date, !1 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_create'
          1        FETCH_DIM_R                                      ~2      !1, 0
          2        SEND_VAL                                                 ~2
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'date_format'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          8        DO_ICALL                                         $5      
          9        ECHO                                                     $5
    7    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.47 ms | 1394 KiB | 17 Q