3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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;
based on eXBJa
Output for 7.2.0
09/11/2015/11/27
Output for 5.5.32, 5.6.21, 7.1.10
09/11/2015/10/52
Output for 7.1.7
09/11/2015/10/44
Output for 7.0.5, 7.1.6
09/11/2015/11/43
Output for 7.1.5
09/11/2015/12/37
Output for 5.5.37, 7.1.0
09/11/2015/10/45
Output for 5.6.18, 7.0.20
09/11/2015/10/47
Output for 7.0.8
09/11/2015/10/08
Output for 5.6.0, 7.0.7
09/11/2015/12/36
Output for 7.0.6
09/11/2015/12/26
Output for 5.5.7, 7.0.4
09/11/2015/11/31
Output for 7.0.3
09/11/2015/10/10
Output for 7.0.2
09/11/2015/12/15
Output for 7.0.1
09/11/2015/12/12
Output for 7.0.0
09/11/2015/10/38
Output for 5.6.28
09/11/2015/10/31
Output for 5.5.15, 5.6.23
09/11/2015/11/05
Output for 5.6.22
09/11/2015/12/45
Output for 5.6.20
09/11/2015/11/52
Output for 5.5.5, 5.6.19
09/11/2015/10/59
Output for 5.6.17
09/11/2015/10/29
Output for 5.5.0, 5.6.16
09/11/2015/12/59
Output for 5.6.15
09/11/2015/11/21
Output for 5.6.14
09/11/2015/10/17
Output for 5.5.25, 5.6.13
09/11/2015/11/55
Output for 5.6.12
09/11/2015/11/41
Output for 5.5.13, 5.6.11
09/11/2015/10/34
Output for 5.6.10
09/11/2015/11/30
Output for 5.6.9
09/11/2015/10/51
Output for 5.6.8
09/11/2015/11/54
Output for 5.6.7
09/11/2015/10/42
Output for 5.5.33, 5.6.6
09/11/2015/11/15
Output for 5.5.9, 5.6.5
09/11/2015/12/39
Output for 5.5.36, 5.6.4
09/11/2015/12/09
Output for 5.6.3
09/11/2015/10/39
Output for 5.6.2
09/11/2015/11/02
Output for 5.6.1
09/11/2015/10/07
Output for 5.5.35
09/11/2015/10/57
Output for 5.5.34
09/11/2015/10/12
Output for 5.5.31
09/11/2015/10/28
Output for 5.5.30
09/11/2015/10/13
Output for 5.5.29
09/11/2015/10/46
Output for 5.5.28
09/11/2015/12/03
Output for 5.5.27
09/11/2015/10/24
Output for 5.5.26
09/11/2015/11/32
Output for 5.5.24
09/11/2015/12/27
Output for 5.5.23
09/11/2015/11/49
Output for 5.5.22
09/11/2015/11/24
Output for 5.5.21
09/11/2015/10/18
Output for 5.5.6, 5.5.20
09/11/2015/12/42
Output for 5.5.19
09/11/2015/11/01
Output for 5.5.18
09/11/2015/12/53
Output for 5.5.16
09/11/2015/10/54
Output for 5.5.14
09/11/2015/12/57
Output for 5.5.12
09/11/2015/10/02
Output for 5.5.11
09/11/2015/12/01
Output for 5.5.10
09/11/2015/11/36
Output for 5.5.8
09/11/2015/11/35
Output for 5.5.4
09/11/2015/10/43
Output for 5.5.3
09/11/2015/11/17
Output for 5.5.2
09/11/2015/11/47
Output for 5.5.1
09/11/2015/12/18