PHP error - can't use method return value in write context

Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=Zpryo0_jm0I



Duration: 1:02
6,545 views
10


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'..!!! :)




Other Videos By Ambar Hasbiyatmoko


2016-05-17Postgresql error : column "address" contains null values when trying to add column
2016-04-30Postgresql - Change error message to English or Italian
2016-04-27Java console - How to Connect Java to Mysql from command line (cmd)
2016-04-26Wamp error - localhost & phpmyadmin forbidden on google chrome
2016-04-24Mysql workbench problem - Error Code 1175 When update query
2016-04-24Codeigniter tutorial - Upload file with codeigniter framework on Centos 7
2016-04-23PHP - Display all errors PHP on Ubuntu 14.04
2016-04-22Centos 7 problem - users is not in the sudoers file. This incident will be reported
2016-04-21Install Centos(dvd ISO) and set GNOME Desktop - (virtualbox)
2016-04-20Codeigniter problem - The upload destination folder does not appear to be writable
2016-04-18PHP error - can't use method return value in write context
2016-04-17Pgadmin problem(delete database) - ERROR: database "test" is being accessed by other users (Ubuntu)
2016-04-16Centos 7 - Install php and mysql from terminal
2016-04-15Centos 7 - Install GNOME Desktop in minimal Centos 7 64bit
2016-04-14Centos7 - Enable internet connection in *minimal centos7 64bit
2016-04-14Virtualbox - Install minimal Centos 7 64 bit (without GUI)
2016-04-13Codeigniter Error : Call to undefined function base_url()
2016-04-07ERMaster (Eclipse) problem - Cannot Export to DB (Postgresql)
2016-03-30PHP problem - Confirm Form Resubmission
2016-03-26Install latest Postgresql + Pgadmin from .run file - Ubuntu
2016-03-16Postgresql error : convert field character varying to integer



Tags:
php
error
empty
framework
codeigniter
xampp
if
mysql
database
windows