Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61384 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34003 invoked from network); 18 Jul 2012 00:19:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2012 00:19:58 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.216.170 mail-qc0-f170.google.com Received: from [209.85.216.170] ([209.85.216.170:34972] helo=mail-qc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/90-31146-D2106005 for ; Tue, 17 Jul 2012 20:19:58 -0400 Received: by qcmt36 with SMTP id t36so770562qcm.29 for ; Tue, 17 Jul 2012 17:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=qGAMmiSBZThiPMUKy8KVrsId8QkJTblhvGSRvOOw0Q0=; b=qPRzOCykze62vO9x4vBaRQrThwdIecQytgRXp6/ZxxpZYkIr2MHuntKYLfcck1UnlH Ne2k/orZ+4cvS4LpwEuRdCW/9po8oe/cyh8Znl6YaOI1aXZctZRzYemAfjqH9mGxfwco bz7rgWgwojyg2pvdrTGxTaXY0f9tVoCMBcBJNSd6H6Z5QdkQLy12VK9GLPvHNPOBOrfn jW2PalqdBgDWZkyi7Mnm1dYEAHkArpGSp6pC/o5wOU4S/puDY8pfBrzQ1RTkLZikz2sN ZUoxLirVFFd2O2tVouWPkmoc9b9fbUDQupxE+BmjglzVLwJ1JLV/dfoYIAFhrIgq2jWp Ed5g== MIME-Version: 1.0 Received: by 10.229.135.149 with SMTP id n21mr456622qct.131.1342570795434; Tue, 17 Jul 2012 17:19:55 -0700 (PDT) Received: by 10.229.85.204 with HTTP; Tue, 17 Jul 2012 17:19:55 -0700 (PDT) Date: Tue, 17 Jul 2012 17:19:55 -0700 Message-ID: To: PHP internals list Content-Type: multipart/alternative; boundary=00248c768d8659032104c50f9fe4 Subject: Docs: php.ini vs. parse_ini_file() From: kris.craig@gmail.com (Kris Craig) --00248c768d8659032104c50f9fe4 Content-Type: text/plain; charset=ISO-8859-1 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. --Kris --00248c768d8659032104c50f9fe4--