3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.4 ms | 1395 KiB | 19 Q