3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo date(DATE_W3C, '2013-02-18');
Output for 5.1.3 - 5.6.28, 7.0.0 - 7.1.0
Notice: A non well formed numeric value encountered in /in/uFYmQ on line 2 1970-01-01T01:33:33+01:00
Output for hhvm-3.10.0 - 3.12.0
1970-01-01T01:33:33+01:00
Output for 5.1.1 - 5.1.2
Notice: A non well formed numeric value encountered in /in/uFYmQ on line 2 1970-01-01T01:33:33+0100
Output for 5.1.0
Notice: Use of undefined constant DATE_W3C - assumed 'DATE_W3C' in /in/uFYmQ on line 2 Notice: A non well formed numeric value encountered in /in/uFYmQ on line 2 ThuAMCETE_013C
Output for 4.4.1 - 4.4.9, 5.0.5
Notice: Use of undefined constant DATE_W3C - assumed 'DATE_W3C' in /in/uFYmQ on line 2 ThuAMCETE_013C
Output for 4.3.0 - 4.4.0, 5.0.0 - 5.0.4
Notice: Use of undefined constant DATE_W3C - assumed 'DATE_W3C' in /in/uFYmQ on line 2 ThuAMCETE_13C