How to get phpinfo() variables from php programmatically?

前端 未结 3 2046
轻奢々
轻奢々 2021-02-07 08:04

I am attempting to get a list of dependable(consistent across requests) list of \"hidden\" constants in PHP(as in, the client-side won\'t know about it in most cases without hac

3条回答
  •  一生所求
    2021-02-07 08:15

    Maybe I am late a bit, but basically if you call a shell script problematically to the php.exe

    php -i
    

    then you can parse all the information required

提交回复
热议问题