It is no longer necessary to add a reference & symbol in the parameter in the call function of PHP
Just add & when defining the parameters of the function
So try to change the code
For example, function test(&$a)
When calling test(“aaaa”) without adding ampersand
Read More:
- Error: call-time pass-by-reference has been removed
- [Solved] has been blocked by CORS policy: Response to preflight request doesn‘t pass access control check: No
- [PHP] Solve PHP Call to undefined function ldap_connect()
- How to Solve PHP Fatal error: Namespace declaration statement has to be the very first statement
- PHP encryption 3DES error Call to undefined function: mcrypt_module_open() solution
- [Solved] WordPress Upgrade PHP 5.6 to 7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- [Solved] laravel proc_get_status() has been disabled for security reasons
- Workman Run Error: stream_socket_server() has been disabled for security reasons
- How to Solve phpExcel Error: ERR_INVALID_RESPONSE
- How to solve Magento 500 internal server errors
- How to Solve opcache error: zend_mm_heap corrupted
- [PHP] Solve the 500 error problem-nginx and fpm have no error logs
- How to Solve PHP Error: no package’oniguruma’ found
- [PHP] Solve the problem that the new version of Chrome’s same-site policy cannot record cookies across domains
- [PHP] Solve the limitation of uploading files in nginx php 413 Request Entity Too Large
- [PHP] __autoload function will be called when class_exists does not exist
- Using $this when not in object context in (How to Fix)
- [PHP]json_encode Chinese JSON_UNESCAPED_UNICODE returns null in php5.3
- PHP parse error: syntax error, unexpected ‘use’
- [PHP] Array to string conversion error when sending data in post