MantisBT - AChecker
View Issue Details
0005097ACheckerCheckspublic2012-11-20 21:052018-03-08 13:24
andrewlorien 
greg 
normalcrashhave not tried
closedfixed 
PHP Version 5.4.4-9debian
1.1 
1.4 
7ca78d788f154525a3a9651dbbc287484e1ca536
0005097: Call-time pass-by-reference has been deprecated in BasicChecks.class.php on line 700
(actually i have AChecker V1.3, but your "product version" select box only goes up to 1.1)

AChecker crashes on PHP > 5.4 when calling /checker/index.php with error message
Call-time pass-by-reference has been deprecated in BasicChecks.class.php on line 700
Install PHP > 5.4
Complete AChecker installation steps
After the final step, error!
pass by reference is gone completely in 5.4:
http://php.net/manual/en/migration54.incompatible.php [^]

fixed by removing the & in the line reported (it is referenced properly in the function definition):
BasicChecks::find_all_headers($e->children(), $header_array);
No tags attached.
Issue History
2012-11-20 21:05andrewlorienNew Issue
2013-11-14 10:49gregSVN Revision# => 7ca78d788f154525a3a9651dbbc287484e1ca536
2013-11-14 10:49gregNote Added: 0006538
2013-11-14 10:49gregStatusnew => resolved
2013-11-14 10:49gregFixed in Version => 1.4
2013-11-14 10:49gregResolutionopen => fixed
2013-11-14 10:49gregAssigned To => greg
2018-03-08 13:24cindyStatusresolved => closed

Notes
(0006538)
greg   
2013-11-14 10:49   
Removed pass-by-reference "&" for compatibility with PHP5.4