• parse-ini-file: INI_SCANNER_RAW scanner mode

    From Fx ROOM@21:1/5 to All on Fri May 20 09:22:48 2022
    https://www.php.net/manual/en/function.parse-ini-file.php
    "If INI_SCANNER_RAW is supplied, then option values will not be parsed."

    That is?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From J.O. Aho@21:1/5 to Fx ROOM on Fri May 20 10:23:35 2022
    On 20/05/2022 09.22, Fx ROOM wrote:
    https://www.php.net/manual/en/function.parse-ini-file.php
    "If INI_SCANNER_RAW is supplied, then option values will not be parsed."

    That is?

    Yes, the setting value ain't parsed,

    say you have a row like:

    setting_name = "Less is \"more\""

    INI_SCANNER_NORMAL -> Less is "more"

    INI_SCANNER_RAW -> Less is \"more\"


    --

    //Aho

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Fx ROOM@21:1/5 to All on Fri May 20 13:25:45 2022
    Il 20/05/22 10:23, J.O. Aho ha scritto:

    On 20/05/2022 09.22, Fx ROOM wrote:
    https://www.php.net/manual/en/function.parse-ini-file.php
    "If INI_SCANNER_RAW is supplied, then option values will not be parsed."

    That is?

    Yes, the setting value ain't parsed,

    say you have a row like:

    setting_name = "Less is \"more\""

     INI_SCANNER_NORMAL -> Less is "more"

     INI_SCANNER_RAW -> Less is \"more\"



    thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)