Not signed in (Sign In)
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorfelipex
    • CommentTimeFeb 28th 2008 edited
     
    Hi!

    I am new in Akelos (it seems to be a excellent tool), but when I was starting the follow error appered:

    Warning: Call-time pass-by-reference has been deprecated - argument passed by value; 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. However, future versions may not support this any longer. in C:\Arquivos de programas\Apache Software Foundation\Apache2.2\htdocs\akelos\lib\AkObject.php on line 66

    I know I can solve this changing the line
    allow_call_time_pass_reference = Off
    in php.ini file.

    But I was worried about one setence:
    "However, future versions may not support this any longer."

    Is anyone worried about this too?

    Bye
    •  
      CommentAuthorbermi
    • CommentTimeFeb 29th 2008
     

    Hi Felipe and welcome to the Akelos community.

    We need to implicitly assign objects using an ampersand to avoid duplicating objects on PHP4.

    If PHP5 raises a non-notice error in the future we will need to start a PHP5-only branch, but I prefer to keep a PHP4/PHP5 branch and the start a PHP6-only one with native unicode support and other goodies.

    • CommentAuthorfelipex
    • CommentTimeMar 2nd 2008
     
    OK bermi!

    The answer is satisfactory to me, so I have very interst to use Akelos in my next project.
    Good luck for me!
    Good luck for us!
    • CommentAuthorconradwt
    • CommentTimeMay 24th 2008 edited
     
    Hi, the php.ini directive, allow_call_time_pass_reference, doesn't exist in PHP >= 5.0.0. Thus, there isn't a way to set this value to Off unless you're using PHP <= 4.0.0. Please take a look at the following reference:

    http://us3.php.net/manual/en/ini.core.php

    Thus, my option now is to correct all of these warning messages within the PHP file(s). I'll try to spend sometime this weekend to correct
    these PHP files and move on from there.

    -Conrad
    • CommentAuthorKaste
    • CommentTimeMay 24th 2008
     

    actually you can set

    allow_call_time_pass_reference = On
    

    in your php.ini. as of now it has been deprecated and "is likely to be unsupported in future versions of PHP/Zend."

Add your comments
    Username Password
  • Format comments as