Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73873 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8189 invoked from network); 4 May 2014 15:14:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 May 2014 15:14:05 -0000 Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 74.125.82.175 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 74.125.82.175 mail-we0-f175.google.com Received: from [74.125.82.175] ([74.125.82.175:50616] helo=mail-we0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 13/10-05809-B3956635 for ; Sun, 04 May 2014 11:14:04 -0400 Received: by mail-we0-f175.google.com with SMTP id q58so6414142wes.20 for ; Sun, 04 May 2014 08:14:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=Z6geCe1FPVK5Ouuk3FR5evmhXOyZ586d8n0972PbyLQ=; b=bcUCjtJJkqZQQIK23+wi/5HYC5n21xjvOUaqaUVokKG6sGJH5SEbWCKf0Gan6Ry+KZ ECUTzAncKGo62ZVvBr4uVhVMgzFVrAJnoLAlMmZVMYAnzKSlLd9d77ELF/X8RmlW22oe JtR5sw2ijYsci8kumRWKVuKiCOPpBQtV61zsy+/N4xkCPmXFq87gAvtffIv7nfenW8L3 o5q7lY0yaA3Lewbxlx6ahBcDLbw1pc8EaZ6E/OB4XnP6UWJ+aEK5MAID9zAyLFjspN7q mcy53sAevb4j0Old+b+79+6v5FNBoN5E2MhtgcKBYOuPLT3UH53cbZiiaOQXUieSXRyP jvCw== X-Gm-Message-State: ALoCoQnMEi110164vC3xM5YXnMZwwt0/ySgtI8iR1VCjr8D6+OdP9bF/mT6Knt04y2agyf86xLAL X-Received: by 10.194.78.4 with SMTP id x4mr266769wjw.58.1399216440699; Sun, 04 May 2014 08:14:00 -0700 (PDT) Received: from [192.168.1.6] (host-92-20-152-166.as13285.net. [92.20.152.166]) by mx.google.com with ESMTPSA id cw2sm12320573wjb.39.2014.05.04.08.13.59 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 04 May 2014 08:13:59 -0700 (PDT) Message-ID: <1399216437.14925.0.camel@localhost.localdomain> To: Aaron Lewis Cc: internals@lists.php.net Date: Sun, 04 May 2014 16:13:57 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-2.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Is it possible to get the variable name from the HashTable structure? From: pthreads@pthreads.org (Joe Watkins) On Sun, 2014-05-04 at 20:21 +0800, Aaron Lewis wrote: > Hi, > > So PHP uses HashTable to store variables like $_POST, > > From a HashTable structure, can I get the array name? > > -- > Best Regards, > Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ > Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 > https://gist.github.com/krakjoe/50603be7ffb1ae6e9156 Cheers Joe