PHP Warning: Call-time pass-by-reference has been deprecated in /var/www/html/vcs_git_dev/modules/versioncontrol/v
CorniI - June 9, 2009 - 17:46
| Project: | Version Control API |
| Version: | 6.x-1.0-rc1 |
| Component: | API module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This warning appears from a fresh git clone(bea19754906245cdaad3099c052a0e7f8779ca90):
( ! ) Warning: Call-time pass-by-reference has been deprecated in /var/www/html/vcs_git_dev/modules/versioncontrol/versioncontrol.module on line 1739

#1
okay there exists a php ini directive to turn it off...
; Whether to enable the ability to force arguments to be passed by reference
; 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
#2
Would someone please hand me the brown paper bag.
Fixed.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.