3v4l.org

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