3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tmp1 = strtotime("01/12/1984"); $j = 3; $tmp2 = strtotime("+$j day", $tmp1); echo strftime("%d-%m-%Y",$tmp2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vL05i
function name:  (null)
number of ops:  19
compiled vars:  !0 = $tmp1, !1 = $j, !2 = $tmp2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '01%2F12%2F1984'
          2        DO_ICALL                                         $3      
          3        ASSIGN                                                   !0, $3
    4     4        ASSIGN                                                   !1, 3
    6     5        INIT_FCALL                                               'strtotime'
          6        ROPE_INIT                                     3  ~7      '%2B'
          7        ROPE_ADD                                      1  ~7      ~7, !1
          8        ROPE_END                                      2  ~6      ~7, '+day'
          9        SEND_VAL                                                 ~6
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $9      
         12        ASSIGN                                                   !2, $9
    8    13        INIT_FCALL                                               'strftime'
         14        SEND_VAL                                                 '%25d-%25m-%25Y'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                         $11     
         17        ECHO                                                     $11
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.12 ms | 1394 KiB | 17 Q