Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61255 invoked from network); 19 Oct 2016 13:26:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2016 13:26:59 -0000 X-Host-Fingerprint: 176.248.3.153 unknown Received: from [176.248.3.153] ([176.248.3.153:20813] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/48-14749-3A477085 for ; Wed, 19 Oct 2016 09:26:59 -0400 Message-ID: <94.48.14749.3A477085@pb1.pair.com> To: internals@lists.php.net References: <20161019104501.453BD5FAB8@mx.zeyos.com> <9C.27.14749.EF177085@pb1.pair.com> Date: Wed, 19 Oct 2016 14:26:56 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <9C.27.14749.EF177085@pb1.pair.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 176.248.3.153 Subject: Re: [PHP-DEV] Exploit fully packed array/hash property From: ajf@ajf.me (Andrea Faulds) Hi again, Andrea Faulds wrote: >Second, do you know if any other PHP functions > do a similar check to JSON's php_json_determine_array_type for whether > an array is free of string keys and consecutively indexed? I wonder if > that could be abtracted into a zend_hash.c function. It seems Dmitry was way ahead of me here. My bad. :) -- Andrea Faulds https://ajf.me/