note 114798 added to class.yaf-config-ini
| From: | flowithwind at gmail dot com | Date: | Tue, 08 Apr 2014 07:03:16 +0000 |
| Subject: | note 114798 added to class.yaf-config-ini | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199212@lists.php.net to get a copy of this message | ||
when i use Yaf_Config_ini with these lines:
type.18.text=abc
type.8.text=ddf
type.0.text=fjdsklf
I can not found a way to get config value:
$config->type->18->text
$config->type[18]->text
$config->type['18']->text
$config->get("type.18.text")
all of above codes return NULL.
How can I get the config value?
----
Server IP: 72.52.91.14
Probable Submitter: 125.34.72.126
----
Manual Page -- http://php.net/manual/en/class.yaf-config-ini.php
Edit -- https://master.php.net/note/edit/114798
Del: integrated -- https://master.php.net/note/delete/114798/integrated
Del: useless -- https://master.php.net/note/delete/114798/useless
Del: bad code -- https://master.php.net/note/delete/114798/bad+code
Del: spam -- https://master.php.net/note/delete/114798/spam
Del: non-english -- https://master.php.net/note/delete/114798/non-english
Del: in docs -- https://master.php.net/note/delete/114798/in+docs
Del: other reasons-- https://master.php.net/note/delete/114798
Reject -- https://master.php.net/note/reject/114798
Search -- https://master.php.net/manage/user-notes.php