Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #18940

Re: parse-ini-file: INI_SCANNER_RAW scanner mode

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "J.O. Aho" <user@example.net>
Newsgroups comp.lang.php
Subject Re: parse-ini-file: INI_SCANNER_RAW scanner mode
Date Fri, 20 May 2022 10:23:35 +0200
Lines 21
Message-ID <jep1g7Fop7hU1@mid.individual.net> (permalink)
References <t67fk9$1rs6$1@gioia.aioe.org>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net Sv9rCGOD4mwmTsK+LnZe9w8u0baHGaB1hQ8l3n6D63fqAcSOxt
Cancel-Lock sha1:/QzUFWsMMHCkXI+ja3tVdaVUmgg=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0
Content-Language en-US-large
In-Reply-To <t67fk9$1rs6$1@gioia.aioe.org>
Xref csiph.com comp.lang.php:18940

Show key headers only | View raw


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

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

parse-ini-file: INI_SCANNER_RAW scanner mode Fx ROOM <naso@tata.new> - 2022-05-20 09:22 +0200
  Re: parse-ini-file: INI_SCANNER_RAW scanner mode "J.O. Aho" <user@example.net> - 2022-05-20 10:23 +0200
    Re: parse-ini-file: INI_SCANNER_RAW scanner mode Fx ROOM <naso@tata.new> - 2022-05-20 13:25 +0200

csiph-web