3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.17 ms | 1395 KiB | 17 Q