Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // check for multiple things being empty
- public static function mempty()
- {
- foreach(func_get_args()[0] as $key => $arg)
- {
- if(empty($arg))
- {
- echo $key;
- die('empty');
- return $key;
- }
- else
- {
- continue;
- }
- }
- //return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement