Throw E_STRICT notice when mktime called with no arguments. #4611
commitbf58c9d99f8470807d0165844415fa56098f88b0
authorThomas Colomb <thomas.colomb@dailymotion.com>
Mon, 10 Aug 2015 16:59:50 +0000 (10 09:59 -0700)
committerhhvm-bot <hhvm-bot@fb.com>
Mon, 10 Aug 2015 17:32:16 +0000 (10 10:32 -0700)
treee83684be6dd1015f74c3f60b41a816ba5b8c1564
parent0d52a262e4abdc9d88c507f12ed1ac0fb2932a08
Throw E_STRICT notice when mktime called with no arguments. #4611

Summary: Fix for #4611
Closes https://github.com/facebook/hhvm/pull/5809

Reviewed By: @jwatzman

Differential Revision: D2284445
hphp/runtime/ext/datetime/ext_datetime.cpp
hphp/test/slow/ext_datetime/4611.php [new file with mode: 0644]
hphp/test/slow/ext_datetime/4611.php.expectf [new file with mode: 0644]