3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y-m-d', strtotime('2013-07-31 23:59:20')); echo '<br>'; 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/l4iX9
function name:  (null)
number of ops:  23
compiled vars:  none
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        SEND_VAL                                                 '2013-07-31+23%3A59%3A20'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    4     8        ECHO                                                     '%3Cbr%3E'
    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                                         $2      
         19        SEND_VAR                                                 $2
         20        DO_ICALL                                         $3      
         21        ECHO                                                     $3
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.34 ms | 1395 KiB | 19 Q