https://bugzilla.wikimedia.org/show_bug.cgi?id=41098

--- Comment #6 from Aaron Schulz <[email protected]> 2012-10-17 21:56:16 
UTC ---
(In reply to comment #3)
> That backtrace seems useless, try running them with
> https://gerrit.wikimedia.org/r/#/c/28387/ to get a better one.

The trace is the same code path according to nikerabbit. Chad and I were
confused be this but it makes sense technically:
"If an object is converted to an array, the result is an array whose elements
are the object's properties. The keys are the member variable names, with a few
notable exceptions: integer properties are unaccessible; private variables have
the class name prepended to the variable name; protected variables have a '*'
prepended to the variable name."

...thus it does NOT make an array with just that object (which PHP does do for
primitives but not objects). This pattern is used in a lot of code so I well
have to grep through it all to audit it later.

The fix for the job code is in https://gerrit.wikimedia.org/r/28450.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to