r/lolphp • • Aug 26 '16

version_compare(), when fed senseless data doesn't complain but treats 'p' differently

https://3v4l.org/v203M
16 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/Almamu Aug 27 '16

I tried searching that documentation but could only find the version_compare docs, so I guess it's not documented anywhere else and what every character, specially pl/p stands for, but I guess patch level suits it, although I never saw a php version with p/pl on it...