reverse-print-r
reverse-print-r copied to clipboard
Could NOT find closing bracket of "Object"
Hello, is this project alive?
I'm trying to parse an external "API" (which itself calls another private API, and then exposes the result stupidly as print_r'ed).
For some requests it works fine, but I found at least one which fails.
Could NOT find closing bracket of "Object" on line 368.
I'm attaching the input. I don't see anything wrong around that line, unless your numbering is somehow different (skipping empty lines?). No multiline strings (as the other open issue suggested).
Edit: I used the function from gist that you upgraded from PHP doc, and it seems like some of the fields have hidden \n
s at the end - they probably dont display on Windows, but are nevertheless present...