CGI scripts in C open a shell space everytime it is run, that slows it down a bit. But while it executes, its really fast.
A hello world program in PHP would consume less resources than the one in C. But if it does more complicated jobs and also if system operations are involved, C can beat PHP i believe.
__________________
|