3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date("Y-m", strtotime('first day of last month'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eq6UA
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 'first+day+of+last+month'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        ECHO                                                     $1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.01 ms | 1436 KiB | 15 Q