3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("F", strtotime('first day of -4 month')); echo date("F", strtotime('first day of -3 month')); echo date("F", strtotime('first day of -2 month')); echo date("F", strtotime('first day of -1 month')); echo date("F");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LjUCE
function name:  (null)
number of ops:  37
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'F'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'first+day+of+-4+month'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    4     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'F'
         10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 'first+day+of+-3+month'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        ECHO                                                     $3
    5    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'F'
         18        INIT_FCALL                                               'strtotime'
         19        SEND_VAL                                                 'first+day+of+-2+month'
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                         $5      
         23        ECHO                                                     $5
    6    24        INIT_FCALL                                               'date'
         25        SEND_VAL                                                 'F'
         26        INIT_FCALL                                               'strtotime'
         27        SEND_VAL                                                 'first+day+of+-1+month'
         28        DO_ICALL                                         $6      
         29        SEND_VAR                                                 $6
         30        DO_ICALL                                         $7      
         31        ECHO                                                     $7
    7    32        INIT_FCALL                                               'date'
         33        SEND_VAL                                                 'F'
         34        DO_ICALL                                         $8      
         35        ECHO                                                     $8
         36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.34 ms | 1004 KiB | 15 Q