note 28330 rejected from function.parse-ini-file by nicos
| From: | nicos@php.net | Date: | Thu, 09 Jan 2003 15:10:45 +0000 |
| Subject: | note 28330 rejected from function.parse-ini-file by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41913@lists.php.net to get a copy of this message | ||
Hi All !
I found some problem, that I cant get around:
When I do parse ini file with some variables, for example -
[myvars]
debug=true
and then try to call "extract" to populate local (global) variables with values from
loaded array, all the variables are treated as "strings", this makes $debug =
"1" (on "true") or = "" (empty string, when "false").
How can I control the type of variables parsed from ini file and extracted then ? Is there any way
to do so ?
Thank you,
YZ.