Skip to content

Xdebug 3 not included in phpinfo()

I have a problem with Xdebug on Mac OS using Big Sur. Below, I will explain what is happening. When I run phpinfo() – I don’t see a Xdebug section at all. When I run commands such as xdebug_call_file() it throws a PHP Fatal error: Uncaught Error: Call to undefined function error. Here are all the …

how to fix this php json response?

I get this result from my PHP: {“risultato”:”1″,”ris”:[{“pda”:”763,41″,”num1″:”86,86″,”num2″:”21,18″,”num3″:”178603,201535″}]} What I need to do if I want to return the result li…

php foreach loop don’t work when I want to traverse json file

My foreach loop dont work. It brings me only 1st item info when i use $arr in my foreach loop but when i change that to $value it gives me nothing 🙁 Here is one of my elements in json file. I want to print all names and iso_a2 codes Answer I didn’t read, that it is a list of