reverse-print-r icon indicating copy to clipboard operation
reverse-print-r copied to clipboard

Could NOT find closing bracket of "Object"

Open dawinaj opened this issue 10 months ago • 0 comments

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 \ns at the end - they probably dont display on Windows, but are nevertheless present...

test.txt

dawinaj avatar Mar 28 '24 15:03 dawinaj