3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php assert(date('d',strtotime('last day of april')) == "30"); assert(date('d',strtotime('last Day of april')) == "30"); // will raise warning assert(date('d',strtotime('Last Day of april')) == "30");
Output for 5.5.18 - 5.5.38, 5.6.1 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.3.0 - 5.5.16, 5.6.0
Warning: assert(): Assertion failed in /in/AiQ7o on line 5
Output for 4.3.2 - 5.2.17
Warning: assert(): Assertion failed in /in/AiQ7o on line 2 Warning: assert(): Assertion failed in /in/AiQ7o on line 3 Warning: assert(): Assertion failed in /in/AiQ7o on line 5
Output for 4.3.0 - 4.3.1
Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/AiQ7o on line 2 Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/AiQ7o on line 3 Warning: assert() [http://www.php.net/function.assert]: Assertion failed in /in/AiQ7o on line 5