Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61412 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18274 invoked from network); 18 Jul 2012 16:45:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2012 16:45:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:64077] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/C0-39169-118E6005 for ; Wed, 18 Jul 2012 12:45:06 -0400 Received: by yenl12 with SMTP id l12so2034229yen.29 for ; Wed, 18 Jul 2012 09:45:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UCro11WwzeGG0ISjUzoTTRjbAQKCOTJ9UMDWuJgWkVU=; b=QQ/9UXFjJdV4ejcUkhgqepPDsBCQ1nvwPR9EPiXy8DEsbYBVh1NF6YUOgci1lVg3XK 0Ot3w41Kk8uuIo8Ll8pozZ6pawtd7gZl9f6Z2/eIOHuDspwWLFx4+rTLSdIkSJWoeCDC 5gyUo875UpT/oz7Monvki2Hn4+WX9CGP7B697Kx9aPIonQGLmNrEABMyUzLqtVpUPKZL eglcI+HM8m104fGYCJpQ8jm4HdO5SQ0ZZg3zoJduxzJA0TVeNPg0raakr3BT5jqi4tB3 Ir5gHa52XSHRk4hQOQE84CYLDABHdyQPg3ZXsWQkl75s0viI0nBKysrVHXNa/2OP7Ueh pqng== MIME-Version: 1.0 Received: by 10.101.11.3 with SMTP id o3mr1021383ani.31.1342629902959; Wed, 18 Jul 2012 09:45:02 -0700 (PDT) Received: by 10.146.192.27 with HTTP; Wed, 18 Jul 2012 09:45:02 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Jul 2012 17:45:02 +0100 Message-ID: To: Kris Craig Cc: PHP internals list Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Docs: php.ini vs. parse_ini_file() From: hannes.magnusson@gmail.com (Hannes Magnusson) On Wed, Jul 18, 2012 at 1:19 AM, Kris Craig wrote: > I just noticed something that I hadn't really thought about before. I > couldn't remember the name of the function for parsing INI files so I did a > quick search. It took me straight to the page for php.ini directives. I > had to select "online documentation" from the dropdown and try again, this > time navigating down to the third result. > > Not overly cumbersome, of course, but I started thinking that maybe this > could be more difficult for someone who might be newer to PHP. I also > tried a Google search for 'php ini' (no quotes) to see what I'd get, and > the first 15 results (all of the first page and the top half of the second) > were for php.ini stuff. The 16th result was finally the parse_ini_file() > function. A lot of newbies in particular use Google as their first stop > when trying to find PHP functions for doing stuff, so this could give some > people the impression that PHP doesn't even have an INI parsing function. > > > Of course, most of this we really have no control over, but I would like to > propose adding a link to parse_ini_file() on the php.ini man pages (perhaps > something along the lines of, "Are you looking for....?"). I can make the > edits myself but I'd like to see what y'all think first. > I don't understand why on earth your are mailing the PHP *internal developer mailinglist* with this matter? If you have any improvement suggestions for the documentations: https://edit.php.net -Hannes