Fatal error: Can’t use function return value in write context in

Stubmled across this odd PHP error when I was testing out some new features on a staging server.

Fatal error: Can’t use function return value in write context in

As it turns out empty function only accepts variables as input in versions prior to 5.5…

So if you see the above make sure you are correctly calling functions for your version of php.

// PHP //

Comments & Questions

Add Your Comment