ID:               41641
 User updated by:  asnyder at mddev dot com
 Reported By:      asnyder at mddev dot com
-Status:           Bogus
+Status:           Open
-Bug Type:         Documentation problem
+Bug Type:         Scripting Engine problem
 Operating System: Linux Fedora Core 4
 PHP Version:      5.2.3
 Assigned To:      helly
 New Comment:

First of all, I don't appreciate your snotty attitude.  Second, if you
actuallyread the post, you would realize this is not the same issue. In
that post they were actually modifying a value, in my post, I'm simply
using the __get, __set as magic methods in order to call a different
function. This is VERY different. It's ok for the call to Set and not
raise the notice. If you look at the functions there's nothing in danger
of being modifed incorrectly. Please read before you post an incorrect
response. 

I know its hard from that pedestool your on, but sometimes it's best to
come down, and discuss things with other people. I would like to think
myself as educated in the ways of PHP, and might consider fixing this
myself, and submitting it to the repository. I was hoping to save myself
the trouble, and let someone more experienced with the php internals
work on it, but if you won't fix it, I will.


Previous Comments:
------------------------------------------------------------------------

[2007-08-17 20:12:26] [EMAIL PROTECTED]

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Same as bug #38102.

------------------------------------------------------------------------

[2007-07-18 14:26:49] [EMAIL PROTECTED]

Oops, wrong id, see bug #42030

------------------------------------------------------------------------

[2007-06-25 19:49:07] asnyder at mddev dot com

Ok, HOW is this code, or code like it "WRONG"? The code has the desired
effect. The purpose of the code is to allow the user to call a function
via the __set, __get without having to actually call the actual
function. For instance, if one would want to have properties. Regardless
of what you think the code should be, the code has the effect that the
developer wanted, thus the code is not wrong, it's just confusing to
you.

What EXACTLY is wrong with this code? What effect is it having that is
not the desired effect?

------------------------------------------------------------------------

[2007-06-25 19:43:22] [EMAIL PROTECTED]

>But it DOES have an affect.
But the code is STILL wrong, that's what the warning is trying to tell
you.

------------------------------------------------------------------------

[2007-06-25 19:39:07] asnyder at mddev dot com

But it DOES have an affect. It did change the SomeVariable value of the
actual object regardless of the __get returning by value. In these
situations it should NOT trigger the warning. Run the example, and store
values in the SomeVariable, you'll see that the actual value DOES get
changed. Lets not just assume things without atually reading and running
the example. If you were in this situation you would most definately not
want it to throw this warning. Realize that much of the Web 2.0 movement
using php relise on the __get, and __set methods, and in throwing this
warning higly discourages it's use, even when the application of it,
such as my example is perfectly legitimate and valid.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41641

-- 
Edit this bug report at http://bugs.php.net/?id=41641&edit=1

Reply via email to