3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('Y/m/d', strtotime("Last day of ".date('F', strotime("first day of next month"))." ".date('Y')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bj4p6
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y%2Fm%2Fd'
          2        INIT_FCALL                                               'strtotime'
          3        INIT_FCALL                                               'date'
          4        SEND_VAL                                                 'F'
          5        INIT_FCALL_BY_NAME                                       'strotime'
          6        SEND_VAL_EX                                              'first+day+of+next+month'
          7        DO_FCALL                                      0  $0      
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                         $1      
         10        CONCAT                                           ~2      'Last+day+of+', $1
         11        CONCAT                                           ~3      ~2, '+'
         12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y'
         14        DO_ICALL                                         $4      
         15        CONCAT                                           ~5      ~3, $4
         16        SEND_VAL                                                 ~5
         17        DO_ICALL                                         $6      
         18        SEND_VAR                                                 $6
         19        DO_ICALL                                         $7      
         20        ECHO                                                     $7
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.77 ms | 1395 KiB | 17 Q