3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sunday = strtotime("next Sunday"); $saturday = $sunday + 60 * 60 * 24 * 6; echo date('d', $sunday);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KJN1q
function name:  (null)
number of ops:  12
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        ADD                                              ~4      !0, 518400
          5        ASSIGN                                                   !1, ~4
    4     6        INIT_FCALL                                               'date'
          7        SEND_VAL                                                 'd'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        ECHO                                                     $6
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.35 ms | 1394 KiB | 17 Q