no, facebook was initially written in PHP but as it grew they realized it sucked and invented HHVM / Hip Hop to transpile the php to C++.
I've found developing PHP7 applications relatively easy and stress free with the combination of static analysis tools & PHP7 typehinting.
(They don't write C++ code, they still write PHP)