3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = strtotime('today')+rand(1, 60*60*24); echo date('d.m.Y H:i:s', $s);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b7Wjq
function name:  (null)
number of ops:  15
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'today'
          2        DO_ICALL                                         $1      
          3        INIT_FCALL                                               'rand'
          4        SEND_VAL                                                 1
          5        SEND_VAL                                                 86400
          6        DO_ICALL                                         $2      
          7        ADD                                              ~3      $1, $2
          8        ASSIGN                                                   !0, ~3
    4     9        INIT_FCALL                                               'date'
         10        SEND_VAL                                                 'd.m.Y+H%3Ai%3As'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $5      
         13        ECHO                                                     $5
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
267.8 ms | 1394 KiB | 20 Q