3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.27 ms | 1398 KiB | 21 Q