3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="2011"; $week="01"; echo date("Y-m-d", strtotime($str."W".$week)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Th8Ba
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $week
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '2011'
    3     1        ASSIGN                                                   !1, '01'
    5     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'Y-m-d'
          4        INIT_FCALL                                               'strtotime'
          5        CONCAT                                           ~4      !0, 'W'
          6        CONCAT                                           ~5      ~4, !1
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                         $7      
         11        ECHO                                                     $7
    6    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.15 ms | 1394 KiB | 17 Q