3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
171.96 ms | 2388 KiB | 15 Q