r/PHPhelp • u/thmsbrss • Dec 30 '25
Machine readable php -i output
Is there a CLI tool that outputs information similar to that from `php -i` in a machine-readable format such as JSON, YAML, or similar?
4
Upvotes
View all comments
Show parent comment
9
u/colshrapnel Dec 30 '25
That's a fair question that can actually help the OP or save time for everyone else. Nowhere it implies "Stupid question", yet there is always a possibility for XY problem. It wouldn't hurt the OP to explain. And the less they are willing, the more the possibility it's indeed X the way you described it.