Edit report at https://bugs.php.net/bug.php?id=63598&edit=1
ID: 63598 Updated by: ras...@php.net Reported by: michel dot lecorsier at orange dot fr Summary: Bad function names - parse_str() -Status: Open +Status: Spam Type: Bug Package: *Spelling functions Operating System: Ubuntu PHP Version: 5.4.9 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2012-11-25 17:18:00] michel dot lecorsier at orange dot fr Description: ------------ Some functions have really terrible / mislead Test script: --------------- <?php $str = "first=value&arr[]=foo+bar&arr[]=baz"; parse_str($str); echo $first; // value echo $arr[0]; // foo bar echo $arr[1]; // baz parse_str($str, $output); echo $output['first']; // value echo $output['arr'][0]; // foo bar echo $output['arr'][1]; // baz ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63598&edit=1