3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Asia/Jerusalem'); var_dump(strftime('%Y-%m-%d %H:%M'));
based on KNobd
Output for 5.4.18 - 5.4.45, 5.6.28, 7.0.20 - 7.2.0
string(16) "2015-10-09 02:25"
Output for 7.0.6
string(16) "2016-05-03 17:34"
Output for 7.0.5
string(16) "2016-04-03 06:05"
Output for 7.0.4
string(16) "2016-03-10 17:40"
Output for 7.0.3
string(16) "2016-03-18 18:24"
Output for 7.0.2
string(16) "2016-03-23 00:31"
Output for 7.0.1
string(16) "2016-03-24 04:43"
Output for 7.0.0
string(16) "2016-03-27 06:40"
Output for 5.6.21
string(16) "2016-05-02 12:44"
Output for 5.6.20
string(16) "2016-04-10 05:03"
Output for 5.6.19
string(16) "2016-03-08 01:28"
Output for 5.6.18
string(16) "2016-03-15 10:20"
Output for 5.6.17
string(16) "2016-03-19 22:13"
Output for 5.6.16
string(16) "2016-03-28 07:28"
Output for 5.6.15
string(16) "2016-03-29 08:19"
Output for 5.6.14
string(16) "2016-04-02 10:16"
Output for 5.6.13
string(16) "2016-04-15 14:32"
Output for 5.6.12
string(16) "2016-04-20 04:57"
Output for 5.6.11
string(16) "2016-04-23 11:29"
Output for 5.6.10
string(16) "2016-04-25 13:24"
Output for 5.6.9
string(16) "2016-04-27 18:32"
Output for 5.6.8
string(16) "2016-04-30 03:16"
Output for 5.5.35
string(16) "2016-05-22 18:14"
Output for 5.5.34
string(16) "2016-04-11 07:17"
Output for 5.5.33
string(16) "2016-03-09 04:28"
Output for 5.5.32
string(16) "2016-03-17 14:02"
Output for 5.5.31
string(16) "2016-03-21 01:03"
Output for 5.5.30
string(16) "2016-04-01 10:12"
Output for 5.5.29
string(16) "2016-04-17 04:56"
Output for 5.5.28
string(16) "2016-04-21 08:09"
Output for 5.5.27
string(16) "2016-04-22 10:04"
Output for 5.5.26
string(16) "2016-04-26 16:05"
Output for 5.5.25
string(16) "2016-04-28 22:53"
Output for 5.5.24
string(16) "2016-05-24 05:39"
Output for 5.4.8 - 5.4.17
string(16) "2015-10-09 01:25"
Output for 5.4.7
string(16) "2015-10-27 03:17"
Output for 5.4.6
string(16) "2015-10-27 04:47"
Output for 5.4.5
string(16) "2015-10-27 04:53"
Output for 5.4.4
string(16) "2015-10-27 06:19"
Output for 5.4.3
string(16) "2015-10-27 07:59"
Output for 5.4.2
string(16) "2015-10-27 09:41"
Output for 5.4.1
string(16) "2015-10-27 11:29"
Output for 5.3.29
string(16) "2015-10-31 07:30"
Output for 5.3.28
string(16) "2015-10-31 09:37"
Output for 5.3.27
string(16) "2015-11-02 08:38"
Output for 5.3.26
string(16) "2015-11-02 10:38"
Output for 5.3.25
string(16) "2015-11-02 11:54"
Output for 5.3.24
string(16) "2015-11-02 13:17"
Output for 5.3.23
string(16) "2015-11-02 13:25"
Output for 5.3.22
string(16) "2015-11-02 14:48"
Output for 5.3.21
string(16) "2015-11-02 16:19"
Output for 5.3.20
string(16) "2015-11-02 17:25"
Output for 5.3.19
string(16) "2015-11-02 18:33"
Output for 5.3.18
string(16) "2015-11-02 19:43"