3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = strtotime('next friday'); echo date('Y-m-d H:i:s', $t)."<br>"; $t = strtotime('next friday + 7 day'); echo date('Y-m-d H:i:s', $t)."<br>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MniWq
function name:  (null)
number of ops:  21
compiled vars:  !0 = $t
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'next+friday'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    5     4        INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8        CONCAT                                           ~4      $3, '%3Cbr%3E'
          9        ECHO                                                     ~4
    9    10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 'next+friday+%2B+7+day'
         12        DO_ICALL                                         $5      
         13        ASSIGN                                                   !0, $5
   10    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                         $7      
         18        CONCAT                                           ~8      $7, '%3Cbr%3E'
         19        ECHO                                                     ~8
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.84 ms | 1399 KiB | 17 Q