3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date=date_create(); date_date_set($date,1975,11,28,05,30); echo date_format($date,"Y/m/d g");
based on C0OMc
Output for 5.2.0 - 5.4.34, 5.6.28, 7.0.14 - 7.1.0
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2014/10/17 11
Output for 7.0.6
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/05/03 5
Output for 7.0.5
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/02 7
Output for 7.0.4
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/10 4
Output for 7.0.3
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/18 5
Output for 7.0.2
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/21 3
Output for 7.0.1
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/23 4
Output for 7.0.0
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/26 6
Output for hhvm-3.12.0
1975/11/28 6
Output for hhvm-3.10.0
1975/11/28 2
Output for 5.6.21
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/05/02 1
Output for 5.6.20
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/09 2
Output for 5.6.19
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/07 5
Output for 5.6.18
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/14 6
Output for 5.6.17
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/19 9
Output for 5.6.16
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/27 7
Output for 5.6.15
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/28 8
Output for 5.6.14
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/01 11
Output for 5.6.13
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/15 3
Output for 5.6.12
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/19 4
Output for 5.6.11
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/22 11
Output for 5.6.10
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/25 1
Output for 5.6.9
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/27 6
Output for 5.6.8
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/29 2
Output for 5.6.7
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/05/25 4
Output for 5.5.35
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/05/22 4
Output for 5.5.34
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/10 8
Output for 5.5.33
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/08 3
Output for 5.5.32
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/16 9
Output for 5.5.31
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/20 12
Output for 5.5.30
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/03/31 10
Output for 5.5.29
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/16 5
Output for 5.5.28
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/20 7
Output for 5.5.27
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/21 10
Output for 5.5.26
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/26 4
Output for 5.5.25
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/04/28 9
Output for 5.5.24
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2016/05/23 4
Output for 5.4.43 - 5.4.45
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2015/09/20 3
Output for 5.4.35 - 5.4.42
Warning: date_date_set() expects exactly 4 parameters, 6 given in /in/Laj9Z on line 4 2015/07/09 10
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function date_create() in /in/Laj9Z on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_create() in /in/Laj9Z on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_create() in /in/Laj9Z on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_create() in /in/Laj9Z on line 3