php-reports
php-reports copied to clipboard
Only variable should passed by reference in PHP 7
I got this issue when using php-reports in PHP 7
Only variable should passed by reference in PhpReports.php on line 73 Only variable should passed by reference in PhpReports.php on line 208 Only variable should passed by reference in PhpReports.php on line 440
Thanks for the attention.
Same here. I tried to contact with author, but I didn't get any answer. Right now seems broken for PHP7
Hi. Here I solved just changing some reference parameters inside variable.
Example in PhpReports.php:
THIS: $ext = array_pop(explode('.',$report));
INTO THIS: $array_temp = explode('.',$report); $ext = array_pop($array_temp);
Also in array_keys (line 74), explode (line 230 and 445) and self::$config['environments'](aproximately line 73). Sorry, I just altered my phpreports.php. So this line numbers maybe are somewhat inaccurate, but what interest is the commands.
Best Whishes.
superb thanks for ur help love u ....