I use file_get_contents()to request another part of my PHP application. It’s convenient for me to create a “POST” or even a multipart request to simulate downloading files with this, but I can’t figure out how to do bind processing file_get_contents()in my existing xdebug session (which works since I can handle the request).
I tried passing the cookie XDEBUG_SESSIONfrom the currently processing request, but it does not seem to do what I want.
source
share