Parse error: syntax error, unexpected '=', expecting ')' in ...../sites/all/modules/mapi/API/hooks.inc on line 7
and also row 126;
I see problem was on row 7
function mapi_invoke_extensions($op, $name = null, &$data = null, $read = null) {
&$data not want the &
on row 126
function mapi_invoke_hook($hook, $op, &$data1, &$data2, &$data3 = null) {
idem:
not want the & ;
now I tested with no the &;
is possible to work equal?
Comments
Comment #1
rhys commentedThis is unfortunately a problem with PHP 4. I'll be uploading hopefully in a week a drupal 6 version that can be easily ported back to drupal 5, so that we have some way to use this. It has changed quite substantially since I got back to work on it in the last couple of weeks.
Comment #2
alb commentedok; butI noticed tat also module mmedia have a API/hooks.inc that use &$media = null
so problems is also for those module regards compatibility with php4.x;
other ustions but where I can see an example of use of mmedia with images?
thanks
Comment #3
rhys commentedAgain, I'll be fixing the d5 version, as soon as the d6 version becomes official.
Comment #4
rhys commentedClosing old versions of issues, as the Drupal versions themselves are outdated.