3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.45 ms | 1395 KiB | 17 Q