<?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");
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