3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = "04-15-2013"; $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/D94OL
function name:  (null)
number of ops:  18
compiled vars:  !0 = $date, !1 = $date1, !2 = $tomorrow
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '04-15-2013'
    3     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '-'
          3        SEND_VAL                                                 '%2F'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
    4     7        INIT_FCALL                                               'date'
          8        SEND_VAL                                                 'm-d-Y'
          9        INIT_FCALL                                               'strtotime'
         10        CONCAT                                           ~6      !1, '%2B1+days'
         11        SEND_VAL                                                 ~6
         12        DO_ICALL                                         $7      
         13        SEND_VAR                                                 $7
         14        DO_ICALL                                         $8      
         15        ASSIGN                                                   !2, $8
    6    16        ECHO                                                     !2
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
129.04 ms | 1399 KiB | 19 Q