3v4l.org

run code in 300+ PHP versions simultaneously
<?php $year = "2017"; // Year 2010 $week = "02"; // Week 1 $date1 = date( "l, M jS, Y", strtotime($year."W".$week."0") ); // First day of week echo $date1;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HbKPU
function name:  (null)
number of ops:  15
compiled vars:  !0 = $year, !1 = $week, !2 = $date1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '2017'
    5     1        ASSIGN                                                   !1, '02'
    7     2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'l%2C+M+jS%2C+Y'
          4        INIT_FCALL                                               'strtotime'
          5        CONCAT                                           ~5      !0, 'W'
          6        CONCAT                                           ~6      ~5, !1
          7        CONCAT                                           ~7      ~6, '0'
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                         $8      
         10        SEND_VAR                                                 $8
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
    9    13        ECHO                                                     !2
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.45 ms | 1010 KiB | 15 Q