ID: 8514
Updated by: stas
Old-Status: Feedback
Status: Closed
Bug Type: Scripting Engine problem
Assigned To: 

No feedback, closing.

Previous Comments:

[2001-01-09 10:25:24] [EMAIL PROTECTED]
Could you please provide example of the faulty code?


[2001-01-02 06:28:42] [EMAIL PROTECTED]
According to doc, to return references I need the following:

function &IReturnRef() AND $myvar = &IReturnRef();
(ampersand in BOTH places!)

Upto 4.03pl1, it worked quite well w/o ampersand in the call... Now in 4.0.4 it works, 
too BUT CHANGES OTHER VARS (vars totally unrelated to the function call!). I've yet to 
find out, when and which vars it touches... It seems to be the vars defined just 
before the call or the var used with the last call of the same function.

May I suggest that:
a) there's an error msg, if I call such a function w/o ampersand
   (hey, we're all human and forget things now and then)
b) the behaviour is changed such that an ampersand in EITHER place
   returns a reference (this would be REALLY nice!)


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to