PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject_FormBuilder » Bug #2356

Call time pass by reference error

Details

Submitted2004-09-17 14:35 UTC
Fromasnagy at webitecture dot org
Assignedjustinpatrin
StatusDuplicate
PackageDB_DataObject_FormBuilder
PHP Version4.3.7
OSLinux
Roadmaps(Not assigned)

Comments

[2004-09-17 14:35 UTC] asnagy at webitecture dot org

Description:
------------
This is my first time playing with FB and as soon as I tried a very simple example, i got a Call time pass by reference warning:

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 /usr/share/pear/DB/DataObject/FormBuilder.php on line 1592

[2004-10-14 19:03 UTC] michael at synthesyssolutions dot com

I've found simply removing the & before $obj on line 1592 removes the Warning without any adverse effects. However, this is the only way I can remove the warning, so is there any chance this can be fixed in a new release?