3v4l.org

run code in 300+ PHP versions simultaneously
<?php $LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-06-01"))); echo "$LastFridayOfMonth \r" ; $LastFridayOfMonth = date('Y-m-d', strtotime("last Friday", strtotime("2013-06"))); echo $LastFridayOfMonth; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ueFGS
function name:  (null)
number of ops:  29
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        NOP                                                      
         13        FAST_CONCAT                                      ~5      !0, '+%0D'
         14        ECHO                                                     ~5
    5    15        INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'Y-m-d'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAL                                                 'last+Friday'
         19        INIT_FCALL                                               'strtotime'
         20        SEND_VAL                                                 '2013-06'
         21        DO_ICALL                                         $6      
         22        SEND_VAR                                                 $6
         23        DO_ICALL                                         $7      
         24        SEND_VAR                                                 $7
         25        DO_ICALL                                         $8      
         26        ASSIGN                                                   !0, $8
    6    27        ECHO                                                     !0
    8    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.01 ms | 1387 KiB | 17 Q