3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.08 ms | 1395 KiB | 17 Q