PHP4 和PHP5的一个细微差别
Submitted by on 2006, July 7, 6:04 PM. 技术
为了这个差别,今天把ZDE都给折腾半死不活了。
echo strtotime('+ month');
PHP4认识而PHP5不认识。
PHP5 必须写成
echo strtotime('+1 month');
或者
echo strtotime('next month');
看来偷懒是没有好下场的。
为了这个差别,今天把ZDE都给折腾半死不活了。
echo strtotime('+ month');
PHP4认识而PHP5不认识。
PHP5 必须写成
echo strtotime('+1 month');
或者
echo strtotime('next month');
看来偷懒是没有好下场的。