3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.41 ms | 1385 KiB | 17 Q