PHP CALL-TIME PASS带扩展名的参考

I have read this: CALL-time-pass-reference but I do not know how I can fix this because the call is a function in an extension yaz.so. I could install the phpyaz done from here: phpyaz before I had to install yaz as described here: manual compile of yaz.

But I have in link 2 the program part:

    //if (!yaz_ccl_parse($session, $ccl_query, &$ccl_result)){
    // ERROR in 7.2 define yaz_ccl_parse($session, $ccl_query, $ccl_result)
    if (!yaz_ccl_parse($session, $ccl_query, $ccl_result))
    {
    die("The query could not be parsed.");
    } else{ ...

As I read in 1 the call should be done without the & in call and should be included in the definition. But the function is in the extension. yaz.so How can there a workaround that I need not to change the extension?

Thanks Walter