PHP: Catchable fatal error: Object of class stdClass could not be converted to string [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I get the following dump & error when running the attached code. What I'm confused by is that $procID appears to be returned as a string, but as soon as I attempt to pass it again, its an object? How do I get it to be/stay a string? Thanks. object(stdClass)#2 (1) { ["processId"]=> string(13) "Genesis114001" }