3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date=date_create("2013-03-15 20:01:24"); date_sub($date,date_interval_create_from_date_string("10 minutes")); echo date_format($date,"Y-m-d H:i:s"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H5qAE
function name:  (null)
number of ops:  17
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_create'
          1        SEND_VAL                                                 '2013-03-15+20%3A01%3A24'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        INIT_FCALL                                               'date_sub'
          5        SEND_VAR                                                 !0
          6        INIT_FCALL                                               'date_interval_create_from_date_string'
          7        SEND_VAL                                                 '10+minutes'
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'date_format'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 'Y-m-d+H%3Ai%3As'
         14        DO_ICALL                                         $5      
         15        ECHO                                                     $5
    5    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.21 ms | 1394 KiB | 21 Q