3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = '2014-05-30 06:14:48'; echo kallzu_friendly_time(strtotime($time)); function kallzu_friendly_time($time){ $time = strtotime($time); return date( 'jS F Y, g:i a ', $time); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3NEvV
function name:  (null)
number of ops:  9
compiled vars:  !0 = $time
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2014-05-30+06%3A14%3A48'
    5     1        INIT_FCALL_BY_NAME                                       'kallzu_friendly_time'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        SEND_VAR_NO_REF_EX                                       $2
          6        DO_FCALL                                      0  $3      
          7        ECHO                                                     $3
   11     8      > RETURN                                                   1

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

End of function kallzu_friendly_time

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.61 ms | 1399 KiB | 17 Q