有可能在一行中做到这一点吗? 这是我的代码
if(!is_null($id)){ return TRUE; } else{ return FALSE; }
谢谢您的帮助 :)
php boolean
boolean ×1
php ×1