3v4l.org

run code in 300+ PHP versions simultaneously
<?php $monday=strtotime("monday this week", mktime(0,0,0, 8, 8, 2012)); echo date("Y-m-d",$monday); // Output: 2012-08-06 ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/l4oiB
function name:  (null)
number of ops:  19
compiled vars:  !0 = $monday
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'monday+this+week'
          2        INIT_FCALL                                               'mktime'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 0
          6        SEND_VAL                                                 8
          7        SEND_VAL                                                 8
          8        SEND_VAL                                                 2012
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        DO_ICALL                                         $2      
         12        ASSIGN                                                   !0, $2
    3    13        INIT_FCALL                                               'date'
         14        SEND_VAL                                                 'Y-m-d'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $4      
         17        ECHO                                                     $4
    8    18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.57 ms | 1394 KiB | 19 Q