Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How to get all current supported php versions as json or xml?

I would like to display dynamically in an application all current supported php versions to avoid hard code.
Is there an api, tool or link to do that?
I found this for last releases by version but I did not find for supported php versions like on this page.
The best format should be json (xml eventually).
Someone has got this information?

>Solution :

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The source for php.net is available on Github.

Browsing that, I found that a function called get_active_branches is used to generate the supported-versions.php page, and looking for other uses, I found this URL, which outputs it as JSON:

https://www.php.net/releases/active

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading