3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php setlocale('fr_FR.UTF8'); echo (new Datetime())->format('F j, Y, g:i a');
based on iNE0J
Output for 5.4.7 - 5.4.45, 7.0.20 - 7.2.0
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 September 7, 2015, 3:59 pm
Output for 7.0.6
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 May 3, 2016, 7:42 am
Output for 7.0.5
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 2, 2016, 8:40 pm
Output for 7.0.4
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 10, 2016, 6:53 am
Output for 7.0.3
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 18, 2016, 7:24 am
Output for 7.0.2
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 22, 2016, 1:09 pm
Output for 7.0.1
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 23, 2016, 6:14 pm
Output for 7.0.0
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 26, 2016, 7:55 pm
Output for 5.6.21
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 May 2, 2016, 2:59 am
Output for 5.6.20
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 9, 2016, 7:26 pm
Output for 5.6.19
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 7, 2016, 9:04 am
Output for 5.6.18
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 14, 2016, 10:23 pm
Output for 5.6.17
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 19, 2016, 11:43 am
Output for 5.6.16
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 27, 2016, 9:40 pm
Output for 5.6.15
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 28, 2016, 10:33 pm
Output for 5.6.14
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 2, 2016, 1:08 am
Output for 5.6.13
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 15, 2016, 5:03 am
Output for 5.6.12
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 19, 2016, 6:38 pm
Output for 5.6.11
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 23, 2016, 1:36 am
Output for 5.6.10
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 25, 2016, 3:29 am
Output for 5.6.9
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 27, 2016, 8:26 am
Output for 5.6.8
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 29, 2016, 4:24 pm
Output for 5.6.7
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 May 25, 2016, 9:53 am
Output for 5.5.35
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 May 22, 2016, 6:41 am
Output for 5.5.34
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 10, 2016, 9:55 pm
Output for 5.5.33
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 8, 2016, 5:48 pm
Output for 5.5.32
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 17, 2016, 12:23 am
Output for 5.5.31
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 March 20, 2016, 2:31 pm
Output for 5.5.30
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 1, 2016, 12:41 am
Output for 5.5.29
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 16, 2016, 7:08 pm
Output for 5.5.28
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 20, 2016, 9:44 pm
Output for 5.5.27
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 22, 2016, 12:09 am
Output for 5.5.26
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 26, 2016, 5:54 am
Output for 5.5.25
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 April 28, 2016, 11:57 am
Output for 5.5.24
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 May 23, 2016, 6:53 pm
Output for 5.4.6
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 October 27, 2015, 3:11 am
Output for 5.4.5
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 October 27, 2015, 4:42 am
Output for 5.4.4
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 October 27, 2015, 6:16 am
Output for 5.4.3
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 October 27, 2015, 7:57 am
Output for 5.4.2
Warning: setlocale() expects at least 2 parameters, 1 given in /in/inXph on line 2 October 27, 2015, 9:43 am
Output for 5.3.17 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' or ';' in /in/inXph on line 3
Process exited with code 255.