由于当前月/年是2012年1月,为什么以下代码将在2011年12月而不是2011年11月返回?
echo date("F Y", strtotime("-2 months"));
这是在PHP 5.3.0上,如果它有所作为.
php
php ×1