3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = 'Monday, September 28, 2009'; $time = strtotime($s); $end = strtotime('next sunday', $time); $format = 'Y-m-d'; echo $end; ?>
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Xs03H
function name:  (null)
number of ops:  13
compiled vars:  !0 = $s, !1 = $time, !2 = $end, !3 = $format
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, 'Monday%2C+September+28%2C+2009'
   4     1        INIT_FCALL                                               'strtotime'
         2        SEND_VAR                                                 !0
         3        DO_ICALL                                         $5      
         4        ASSIGN                                                   !1, $5
   5     5        INIT_FCALL                                               'strtotime'
         6        SEND_VAL                                                 'next+sunday'
         7        SEND_VAR                                                 !1
         8        DO_ICALL                                         $7      
         9        ASSIGN                                                   !2, $7
   6    10        ASSIGN                                                   !3, 'Y-m-d'
   8    11        ECHO                                                     !2
        12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0