3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hour = rand(10, 12); $minute = rand(1, 59); $minute = (strlen($minute) == 1) ? '0' . $minute : $minute; $start_date = date('d/m/Y') . '/' . $hour . '/' . $minute; echo $start_date;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oCP6d
function name:  (null)
number of ops:  28
compiled vars:  !0 = $hour, !1 = $minute, !2 = $start_date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'rand'
          1        SEND_VAL                                                 10
          2        SEND_VAL                                                 12
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'rand'
          6        SEND_VAL                                                 1
          7        SEND_VAL                                                 59
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !1, $5
    5    10        STRLEN                                           ~7      !1
         11        IS_EQUAL                                                 ~7, 1
         12      > JMPZ                                                     ~8, ->16
         13    >   CONCAT                                           ~9      '0', !1
         14        QM_ASSIGN                                        ~10     ~9
         15      > JMP                                                      ->17
         16    >   QM_ASSIGN                                        ~10     !1
         17    >   ASSIGN                                                   !1, ~10
    7    18        INIT_FCALL                                               'date'
         19        SEND_VAL                                                 'd%2Fm%2FY'
         20        DO_ICALL                                         $12     
         21        CONCAT                                           ~13     $12, '%2F'
         22        CONCAT                                           ~14     ~13, !0
         23        CONCAT                                           ~15     ~14, '%2F'
         24        CONCAT                                           ~16     ~15, !1
         25        ASSIGN                                                   !2, ~16
    8    26        ECHO                                                     !2
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
196.17 ms | 1395 KiB | 17 Q