3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fulldatetime($datetime) { $fullDate = strtotime($datetime); $fullDate = date("l F jS, o, g:i A",$fullDate); return $fullDate; } echo fulldatetime('2015-12-28 23:00:00');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UTdBc
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'fulldatetime'
          1        SEND_VAL                                                 '2015-12-28+23%3A00%3A00'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function fulldatetime:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UTdBc
function name:  fulldatetime
number of ops:  12
compiled vars:  !0 = $datetime, !1 = $fullDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'strtotime'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !1, $2
    5     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'l+F+jS%2C+o%2C+g%3Ai+A'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !1, $4
    6    10      > RETURN                                                   !1
    7    11*     > RETURN                                                   null

End of function fulldatetime

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.11 ms | 1000 KiB | 16 Q