3v4l.org

run code in 300+ PHP versions simultaneously
<?php $today = date('now'); $delay = rand(1,3); $today->datemodify('+3days'); var_dump($today);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PVp6h
function name:  (null)
number of ops:  16
compiled vars:  !0 = $today, !1 = $delay
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'now'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_FCALL                                               'rand'
          5        SEND_VAL                                                 1
          6        SEND_VAL                                                 3
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !1, $4
    5     9        INIT_METHOD_CALL                                         !0, 'datemodify'
         10        SEND_VAL_EX                                              '%2B3days'
         11        DO_FCALL                                      0          
    7    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.93 ms | 1394 KiB | 19 Q