|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2019-02-11 07:35 UTC] laruence@php.net
  [2019-02-11 07:35 UTC] laruence@php.net
 
-Status: Open
+Status: Closed
  [2019-02-11 08:37 UTC] nikic@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
Description: ------------ If ini string has numeric sections and INI_SCANNER_TYPED options is used, then i get segmentation fault. But if numeric sections are enclosed in quotes (["0"], ["1"], etc) then no problem occurs. Test script: --------------- var_dump( parse_ini_string( <<<INI [0] a = 1 b = "2" c = true [1] a = 0 b = "abc" c = false INI, TRUE, INI_SCANNER_TYPED ) ); Expected result: ---------------- array(2) { [0] => array(3) { 'a' => int(1) 'b' => string(1) "2" 'c' => bool(true) } [1] => array(3) { 'a' => int(0) 'b' => string(3) "abc" 'c' => bool(false) } } Actual result: -------------- Segmentation fault