3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = strtotime('now'); $next_monday = strtotime('Monday'); echo $now . "<br>"; echo $next_monday . "<br>"; echo date('Y-m-d', $now) . "T00:00:00<br>"; echo date('Y-m-d', $next_monday) . "T00:00:00"; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F33MR
function name:  (null)
number of ops:  25
compiled vars:  !0 = $now, !1 = $next_monday
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'now'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 'Monday'
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    4     8        CONCAT                                           ~6      !0, '%3Cbr%3E'
          9        ECHO                                                     ~6
    5    10        CONCAT                                           ~7      !1, '%3Cbr%3E'
         11        ECHO                                                     ~7
    6    12        INIT_FCALL                                               'date'
         13        SEND_VAL                                                 'Y-m-d'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $8      
         16        CONCAT                                           ~9      $8, 'T00%3A00%3A00%3Cbr%3E'
         17        ECHO                                                     ~9
    7    18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'Y-m-d'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                         $10     
         22        CONCAT                                           ~11     $10, 'T00%3A00%3A00'
         23        ECHO                                                     ~11
    9    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.98 ms | 1395 KiB | 17 Q