Home » File Formats » File_Passwd » Bug #3701
Saving result file
Details
| Submitted | 2005-03-04 10:30 UTC |
|---|---|
| From | firmanw at gmail dot com |
| Status | Bogus |
| Package | File_Passwd |
| PHP Version | 4.3.10 |
| Roadmaps | (Not assigned) |
Comments
[2005-03-04 10:30 UTC] firmanw at gmail dot com
Description:
------------
Saving result file error when creating for the first time.
Reproduce code:
---------------
require_once 'File/Passwd.php';
$oPasswd =& File_Passwd::factory('CVS');
$oPasswd->addUser('firman', 'mypass', 'firman');
$oPasswd->save();
Expected result:
----------------
PHP raise error:
Notice: Uninitialized string offset: 0 in E:\www\htdocs\PEAR\pear\Console\Getopt.php on line 123
Result file not saved
Actual result:
--------------
No PHP error and file has saved.