3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $ts = date('d.m.Y', strtotime('this week sunday', strtotime('05/05/2015'))); echo ' to '; echo $ts = date('d.m.Y', strtotime('this week saturday', strtotime('05/05/2015')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4P6N2
function name:  (null)
number of ops:  28
compiled vars:  !0 = $ts
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'd.m.Y'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'this+week+sunday'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '05%2F05%2F2015'
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                         $2      
          9        SEND_VAR                                                 $2
         10        DO_ICALL                                         $3      
         11        ASSIGN                                           ~4      !0, $3
         12        ECHO                                                     ~4
    4    13        ECHO                                                     '+to+'
    5    14        INIT_FCALL                                               'date'
         15        SEND_VAL                                                 'd.m.Y'
         16        INIT_FCALL                                               'strtotime'
         17        SEND_VAL                                                 'this+week+saturday'
         18        INIT_FCALL                                               'strtotime'
         19        SEND_VAL                                                 '05%2F05%2F2015'
         20        DO_ICALL                                         $5      
         21        SEND_VAR                                                 $5
         22        DO_ICALL                                         $6      
         23        SEND_VAR                                                 $6
         24        DO_ICALL                                         $7      
         25        ASSIGN                                           ~8      !0, $7
         26        ECHO                                                     ~8
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.99 ms | 1395 KiB | 17 Q