3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tsLast = strtotime( date('Y-m-01', strtotime('next month')).' last wednesday'); echo date(DATE_RFC850, $tsLast);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/59WRr
function name:  (null)
number of ops:  18
compiled vars:  !0 = $tsLast
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'strtotime'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-01'
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 'next+month'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      $2, '+last+wednesday'
          9        SEND_VAL                                                 ~3
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !0, $4
    5    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'l%2C+d-M-y+H%3Ai%3As+T'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $6      
         16        ECHO                                                     $6
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.35 ms | 1386 KiB | 17 Q