Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54959 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36560 invoked from network); 26 Aug 2011 00:53:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2011 00:53:07 -0000 X-Host-Fingerprint: 212.159.110.144 mwgray.force9.co.uk Received: from [212.159.110.144] ([212.159.110.144:9616] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/82-22704-17EE65E4 for ; Thu, 25 Aug 2011 20:53:06 -0400 Message-ID: <8A.82.22704.17EE65E4@pb1.pair.com> To: internals@lists.php.net References: <4C.43.20800.655C65E4@pb1.pair.com> <4E56E662.90804@oracle.com> In-Reply-To: <4E56E662.90804@oracle.com> Date: Fri, 26 Aug 2011 01:52:59 +0100 Lines: 40 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-Posted-By: 212.159.110.144 Subject: Re: [PHP-DEV] transversing associative arrays from C From: ang.usenet@gmail.com ("Aaron Gray") "Christopher Jones" wrote in message news:4E56E662.90804@oracle.com... > > > On 08/25/2011 05:16 PM, Aaron Gray wrote: >> "Chris Stockton" wrote in message >> news:CALKFbxvsUq-zQyYtdXi3a9tcciEH6xzZ9Y-kByqVa8kpC4-NiQ@mail.gmail.com... >>> Hello, >>> >>> On Thu, Aug 25, 2011 at 2:57 PM, Aaron Gray >>> wrote: >>>> Hi, >>>> >>>> I am working on a C extension module for PHP and am wondering about an >>>> API >>>> issue. >>>> >>>> I can see how to add to an associative array :- >>>> >>> >>> Most everything you need to know about manipulating arrays can be >>> found in ext/standard/array.c >> >> Where's that in the SVN source tree ? >> >> Aaron > > http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/ext/standard/ Chris, How much can I access as a PHP plugin dll or shared object ? Thinking about it what I really want to do is see if a key exists in an array and get its type to see if it is BOOL and that it is TRUE. Many thanks, Aaron