Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88109 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71591 invoked from network); 7 Sep 2015 22:41:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2015 22:41:30 -0000 Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.6 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.6 smtp6-g21.free.fr Received: from [212.27.42.6] ([212.27.42.6:55113] helo=smtp6-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/14-34134-8921EE55 for ; Mon, 07 Sep 2015 18:41:29 -0400 Received: from [127.0.0.1] (unknown [82.232.41.54]) (Authenticated sender: flaupretre@free.fr) by smtp6-g21.free.fr (Postfix) with ESMTPSA id 45C8E82253; Tue, 8 Sep 2015 00:34:04 +0200 (CEST) Cc: "Ferenc Kovacs ; Anthony Ferrara" To: PHP internals Message-ID: <55EE1293.7020404@php.net> Date: Tue, 8 Sep 2015 00:41:23 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Antivirus: avast! (VPS 150907-1, 07/09/2015), Outbound message X-Antivirus-Status: Clean Subject: strict-api - Proposing a tool to check and enforce encapsulation From: francois@php.net (=?UTF-8?Q?Fran=c3=a7ois_Laupretre?=) Hi, I have written a follow-up to my previous 'zstrict' PR. It is now focused on a simple mechanism to detect API violations : https://github.com/php/php-src/pull/1508 This version just implements the mechanism and applies it to the zend_string val/len/h elements. More details in the PR. Please comment first. Then, when we're OK on the feature, we may talk about the target version. Regards François --- L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast. https://www.avast.com/antivirus