Menu

#7 Call-time pass-by-reference has been deprecated

open
nobody
Drivers (3)
5
2008-03-13
2008-03-13
Skyzyx
No

I'm getting the following PHP errors:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in [path]/asido/class.driver.php on line 239

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in [path]/asido/class.driver.php on line 545

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in [path]/asido/class.driver.php on line 556

I'm using the php.ini-recommended file, and I wanted to see if this could be resolved.

Discussion

  • Kaloyan K. Tsvetkov

    Logged In: YES
    user_id=1595533
    Originator: NO

    The current release of Asido is for both PHP4 and PHP5, and because of the PHP4 compatibility the "Call-time pass-by-reference" is used. I assume you are using PHP5 and that's why you see those warnings. If you want, you can get the PHP5-only version of Asido from the SVN repository.

     
  • Skyzyx

    Skyzyx - 2008-03-14

    Logged In: YES
    user_id=1125308
    Originator: YES

    Oh. Based on http://asido.info/news/asido-is-pure-php5-now/ I was under the impression that the primary download was the PHP5-only version. I'll dig around in the repository and grab the updated version.

     

Log in to post a comment.