标签: php
如何创建这样的函数:
function timeperiod($start,$end) { if (between start & end) { return true; } else { return false; } } $period = timeperiod('Y-m-d h:i', 'Y-m-d h:i');