On Tue, 2005-07-19 at 22:10, Jason Wong wrote: > On Wednesday 20 July 2005 07:32, Marc G. Fournier wrote: > > > Which is? If its: > > Yep. > > > ; at function call time. This method is deprecated and is likely to be > > ; unsupported in future versions of PHP/Zend. The encouraged method of > > ; specifying which arguments should be passed by reference is in the > > function ; declaration. You're encouraged to try and turn this option > > Off and make ; sure your scripts work properly with it in order to > > ensure they will work ; with future versions of the language (you will > > receive a warning each time ; you use this feature, and the argument > > will be passed by value instead of by ; reference). > > allow_call_time_pass_reference = On > > The pass by reference thing works regardless of the above setting. > Enabling the setting disables the warnings and vice-versa. > > > It already is ... > > Are you sure that: > > 1) you're looking at the correct php.ini > 2) the setting is not being changed elsewhere > > If the warning annoys you just tone down the error reporting level. > > > Is there another one I should be looking at? :( > > Not that I'm aware of. This isn't related to allow_call_time_pass_reference. It's a new notice that came with PHP 4.4.0 to inform developers of possible incorrect code. For instance the following will generate it: function &$foo() { return null; } According to internals before 4.4.0 such methods caused the occasional (almost impossible to track down) memory corruption bugs. You're only relief is to tone down the error reporting level (Which will knock out other notices during development but will be great for a production server), or do as I did and install a custom error handler that filters this notice specifically (I have to work with some ezproject code for a client which is disgusting and is filled with all kinds of notices not to mention on one page almost a thousand of this particular breed). Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php