3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = '2015-12-01'; $date = new Date($d); echo date_format($d, 'l jS F Y');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RuXV6
function name:  (null)
number of ops:  11
compiled vars:  !0 = $d, !1 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2015-12-01'
    4     1        NEW                                              $3      'Date'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !1, $3
    5     5        INIT_FCALL                                               'date_format'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 'l+jS+F+Y'
          8        DO_ICALL                                         $6      
          9        ECHO                                                     $6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.7 ms | 1394 KiB | 15 Q