In php, how to write verification code if the function has many parameters, each of which is non-empty?

such as the following function,

public function myfunc ($title,$desc,$cecList,$email,$cype,$userId,$userName);

verify every parameter! empty,

what else can you do if you don"t write a bunch of if?

Mar.13,2021

  

Visual array storage is possible, and then iterate through the loop to determine

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bfd567-3238d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bfd567-3238d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?