Learn C or C++ for php extensions
I have been programming for a while now in php and want to broaden my knowledge of programming by learning another language whilst hopefully in the process getting better at php also.
One way to do this would be to look at writing extensions for php which would be in c or c++.
Can anyone say which language would be better to focus on for this task?
I know the languages are very similar and that c++ allows for object orientated code but would c be faster and more suited to php extensions?