From:             admin at michiganwxsystem dot com
Operating system: CentOS 6.2
PHP version:      5.4.10
Package:          PHP options/info functions
Bug Type:         Bug
Bug description:Fileinfo module causing parse_ini_file to skip 0 in array

Description:
------------
---
>From manual page: http://www.php.net/ref.fileinfo
---
parse_ini_file('/path/to/file', true);
will not read a starting value of 0 when php is built with fileinfo
enabled.
example ini file

[Colors]
0=796E4C
1=E8E661
2=FFFF66
3=FFE533
4=FFCC00


with fileinfo enabled, the array will not contain 0 as the start point, the
array will start at 1, rebuilding php with out fileinfo the array starts at
0
like it should


-- 
Edit bug report at https://bugs.php.net/bug.php?id=63975&edit=1
-- 
Try a snapshot (PHP 5.4):   
https://bugs.php.net/fix.php?id=63975&r=trysnapshot54
Try a snapshot (PHP 5.3):   
https://bugs.php.net/fix.php?id=63975&r=trysnapshot53
Try a snapshot (trunk):     
https://bugs.php.net/fix.php?id=63975&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63975&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63975&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63975&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63975&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63975&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63975&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63975&r=notwrong
Not enough info:            
https://bugs.php.net/fix.php?id=63975&r=notenoughinfo
Submitted twice:            
https://bugs.php.net/fix.php?id=63975&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63975&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63975&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63975&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63975&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63975&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63975&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63975&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63975&r=mysqlcfg

Reply via email to