3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date( 'Y m d h:i:s', strtotime( 'first day of this month' ) ); echo date( 'Y m d h:i:s', strtotime( 'first day of last month' ) ); echo date( 'Y m d h:i:s', strtotime( 'start of first day of this month' ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uLVdk
function name:  (null)
number of ops:  25
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y+m+d+h%3Ai%3As'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'first+day+of+this+month'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
    3     8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'Y+m+d+h%3Ai%3As'
         10        INIT_FCALL                                               'strtotime'
         11        SEND_VAL                                                 'first+day+of+last+month'
         12        DO_ICALL                                         $2      
         13        SEND_VAR                                                 $2
         14        DO_ICALL                                         $3      
         15        ECHO                                                     $3
    4    16        INIT_FCALL                                               'date'
         17        SEND_VAL                                                 'Y+m+d+h%3Ai%3As'
         18        INIT_FCALL                                               'strtotime'
         19        SEND_VAL                                                 'start+of+first+day+of+this+month'
         20        DO_ICALL                                         $4      
         21        SEND_VAR                                                 $4
         22        DO_ICALL                                         $5      
         23        ECHO                                                     $5
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.89 ms | 1395 KiB | 17 Q