3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.05 ms | 1010 KiB | 15 Q