3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = date_create(date("Y-m-h")); $added = date_add($now, date_interval_create_from_date_string("1 DAY")); var_export($added);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kYCEE
function name:  (null)
number of ops:  19
compiled vars:  !0 = $now, !1 = $added
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date_create'
          1        INIT_FCALL                                               'date'
          2        SEND_VAL                                                 'Y-m-h'
          3        DO_ICALL                                         $2      
          4        SEND_VAR                                                 $2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !0, $3
    4     7        INIT_FCALL                                               'date_add'
          8        SEND_VAR                                                 !0
          9        INIT_FCALL                                               'date_interval_create_from_date_string'
         10        SEND_VAL                                                 '1+DAY'
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                         $6      
         14        ASSIGN                                                   !1, $6
    6    15        INIT_FCALL                                               'var_export'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.8 ms | 1394 KiB | 23 Q