I had a customer report a wierd behavior related to PHP-#38146
I did var_dump(phpversion()) and I get:
string(14) "5.2.0-8+etch15"
What the heck is the -8, and the +etch15, some sort of Debian related extension of PHP? Related to hardened PHP or something? Does this mean they are essentially running a 5.2.0 build?
This section of Debian’s documentation might answer some of your questions : 5.6.12 Version (quoting) :
And (there is more on that page, only quoting parts of it) :
In your case, with “5.2.0-8+etch15” :
5.2.0” is the upstream_version8+etch15” is the debian_revisionWhich means, as you guessed, that you are running PHP 5.2.0.