3v4l.org

run code in 300+ PHP versions simultaneously
<?php $issue_date = new DateTime(); $expiration_date = new DateTime(); date_modify($expiration_date, '+60 day'); $issue_date_text = date_format($issue_date, 'Y-m-d'); $expiration_date_text = date_format($expiration_date, 'Y-m-d'); echo($issue_date_text . " " . $expiration_date_text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g2Cf1
function name:  (null)
number of ops:  24
compiled vars:  !0 = $issue_date, !1 = $expiration_date, !2 = $issue_date_text, !3 = $expiration_date_text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $4      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $4
    3     3        NEW                                              $7      'DateTime'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $7
    4     6        INIT_FCALL                                               'date_modify'
          7        SEND_VAR                                                 !1
          8        SEND_VAL                                                 '%2B60+day'
          9        DO_ICALL                                                 
    5    10        INIT_FCALL                                               'date_format'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 'Y-m-d'
         13        DO_ICALL                                         $11     
         14        ASSIGN                                                   !2, $11
    6    15        INIT_FCALL                                               'date_format'
         16        SEND_VAR                                                 !1
         17        SEND_VAL                                                 'Y-m-d'
         18        DO_ICALL                                         $13     
         19        ASSIGN                                                   !3, $13
    8    20        CONCAT                                           ~15     !2, '+'
         21        CONCAT                                           ~16     ~15, !3
         22        ECHO                                                     ~16
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.38 ms | 1395 KiB | 17 Q