3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.72 ms | 1395 KiB | 17 Q