phpunit - Replacement for xdebug_get_headers() function in PHP
Get the solution ↓↓↓I have a huge project and tests are taking very long. I want to speed up things by switching fromXDebug
toPCOV
. I see a giant speed gain, but I have one problem. In a few places in my tests, I usexdebug_get_headers()
to test headers (obviously). With PCOV this function is not available, so I'm looking for ideas for replacement.
I triedheaders_list()
but it won't work on CLI. How I can make it work? Possibly without doing a huge rewrite.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: a non-numeric value encountered in
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.