3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.81 ms | 1395 KiB | 19 Q