3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.52 ms | 1395 KiB | 17 Q