That's not what it does. `php --version` may well not report the php version that's actually running.

[flagged]