3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
183.27 ms | 1394 KiB | 19 Q