3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime($item['date'])); echo date("M-d-Y", mktime(0, 0, 0, 13, 1, 1997));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6qL2q
function name:  (null)
number of ops:  23
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        INIT_FCALL                                               'strtotime'
          3        FETCH_DIM_R                                      ~1      !0, 'date'
          4        SEND_VAL                                                 ~1
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    5     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'M-d-Y'
         11        INIT_FCALL                                               'mktime'
         12        SEND_VAL                                                 0
         13        SEND_VAL                                                 0
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 13
         16        SEND_VAL                                                 1
         17        SEND_VAL                                                 1997
         18        DO_ICALL                                         $4      
         19        SEND_VAR                                                 $4
         20        DO_ICALL                                         $5      
         21        ECHO                                                     $5
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.84 ms | 1395 KiB | 19 Q