3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = date("Y/m/d", strtorime('first Monday of this month')); echo $dt;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/og62C
function name:  (null)
number of ops:  10
compiled vars:  !0 = $dt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y%2Fm%2Fd'
          2        INIT_FCALL_BY_NAME                                       'strtorime'
          3        SEND_VAL_EX                                              'first+Monday+of+this+month'
          4        DO_FCALL                                      0  $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    4     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.94 ms | 1393 KiB | 15 Q