Timeline for Why can't I call a (member) function from within a foreach?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 24, 2012 at 7:21 | vote | accept | Kristoffer Nolgren | ||
May 22, 2012 at 14:21 | comment | added | Chip Bennett | For future reference, the critical part of the error message is: Call to a member function... on a non-object. It really doesn't have anything to do with the function itself, but rather with how you're changing how you use the data types (as Eugene explains below). | |
May 22, 2012 at 14:11 | answer | added | Eugene Manuilov | timeline score: 2 | |
May 22, 2012 at 14:04 | history | asked | Kristoffer Nolgren | CC BY-SA 3.0 |