@Girgias @ramsey @woozle @cptwtf @IceWolf
Please refer to my list above.
in php a variable can change it's type, even without conversion. So the IDE/compiler/interpreter never knows the type at compile time.
that is basically a non-existent type system in my book. And that's from 20yrs of practical experience using the language v4->v8.
@Girgias @ramsey @woozle @cptwtf @IceWolf
With regards to "nullptr" and "void*"...
php just doesn't have an equivalent, because php does not allow manual memory management.
Really this is a pointless discussion from my point of view. php and C or C++ are not comparable languages in almost every conceivable way.
A more useful questions might be: When would using either language make sense:
Would I write a server side webapp in C or C++? Prob not. Like using a tank to squash an ant.