2
votes
2answers
1k views

Passing variables from PHP to C++

I need to call a program from PHP and pass some vars and/or sets of key-value pairs to it. How do I pass these vars, through arguments to the called function? exec("/path/to/program flag1 flag2 ...
2
votes
1answer
669 views

If everyone thinks that PHP sucks, why no one tries fixing it? [closed]

I'm a junior web developer in the first steps of my professional career. I'm starting off by maintaining projects written in PHP. Wherever I looked, I see people saying that PHP is a bad language and ...