I've a problem with module that is OK with PHP 5 but not with PHP 7...
I know thats is this line which is in cause:
$this->$_GET ['load_function']($params);
I put here a sample of the code:
$params = array('method' => $_GET ['load_function'],'reload_after'=>Tools::getValue('reload_after'),'js_callback'=>Tools::getValue('js_callback')); $this->_preLoadFunctionProcess($params); $this->$_GET ['load_function']($params);
Is there someone which could help me to change this code and that will be OK with PHP7. Thank you...
正如PHP Doc所说,这些方法可能有效:
$this->{$_GET['load_function']}($params);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.