3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "2016-10-05 11:58:04"; $dt = new DateTime("2016-10-05 11:58:04"); echo $dt->format("D, h:i A");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AQeTc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $dt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2016-10-05+11%3A58%3A04'
    5     1        NEW                                              $3      'DateTime'
          2        SEND_VAL_EX                                              '2016-10-05+11%3A58%3A04'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    6     5        INIT_METHOD_CALL                                         !1, 'format'
          6        SEND_VAL_EX                                              'D%2C+h%3Ai+A'
          7        DO_FCALL                                      0  $6      
          8        ECHO                                                     $6
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.04 ms | 1392 KiB | 13 Q