• Custom User Avatar

    Hello,
    tell me how do you validate an empty array in PHP?
    Because I can't do it with its different solutions:

    • array();
    • $array=[];
    • (array)$array;

    Except if there is an error in the verification...
    Thanks in advance !