PHP error – can’t use method return value in write context



I get error : “can’t use method return value in write context” when using ’empty’ function.

The problem caused by your PHP version is 5.4 or earlier. To solving the problem, you must always set ‘var’ inside ’empty’ parameter, not a ‘function’..!!! 🙂

, , , , , , , , , , , , , ,

1 thought on “PHP error – can’t use method return value in write context

Leave a Reply

Your email address will not be published. Required fields are marked *