Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60979 invoked from network); 11 Aug 2016 22:17:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Aug 2016 22:17:55 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.52 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.52 mail-wm0-f52.google.com Received: from [74.125.82.52] ([74.125.82.52:35617] helo=mail-wm0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/70-56950-299FCA75 for ; Thu, 11 Aug 2016 18:17:55 -0400 Received: by mail-wm0-f52.google.com with SMTP id f65so16795718wmi.0 for ; Thu, 11 Aug 2016 15:17:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=4MQ2RCFV5EEv4NrSiE9bb7gnXAu/W/radXFznu7+GeE=; b=aGwK0dOeMsqzkdMgo3lD5Ks00qP53rD8avjzxagtMmux5oJRfo+e5W0dX3N2dErghR kNS8Ep6TcJkHGFYw7Rzr+htK7ZpLuWiH+n5tcZmHzEvEk2qDDam59Df4MQzc5Tj9FakQ Zdv6JgJ6ZYLkkWuBrpi+o1KpxGfWBWJe62z5HOxRJ9+BV1a0rCFjIpecD15duUeprPiD LiGrqS3KJXJMaxzHCpkYm9/z/uoafHxA1iAC95XaX3i+zUGM5n2lTgzrRsj/2HR9AMg7 KeGMQ0OvqoO+iMri/DMWJU1Xt2PvK6cBIGMCcAFIk+X8SL7ezgJ2zSxFxC7xnh3PpA3Z mExQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=4MQ2RCFV5EEv4NrSiE9bb7gnXAu/W/radXFznu7+GeE=; b=QsCpPGoYnxTW30JBxe1yiszfYfd45KHrJnN3/Wnl/JhqUkictUiN0sX1tW170vq0Pn LSoCDF5NoF0yobK/FmRrLETMk/3HjqY9lG0gdowfZBgb5j/o8sJF9J54lqp3Z2Eo+IPP fKZ7rSaX6xJvEOTaANWkgeDegZDaX6bMRiYYUL547eCLjenl87hBDPPPcMczSorAZKdI +aQHerkgAJvi5j22PhpkUbY0UNpsPYfITaEfD629veMiier7odvbE43HZSy3pw5xAzql M8mojn88BwqdU+vT5b2YQl63L68JiLW2to8aty2evx1HlHhiSQug+vOPz5EJNg0K6Yzp vGDw== X-Gm-Message-State: AEkooutUv3qqwC1kT/82PsiSp27EByjVRLIM8VIhJRzMngAfES6t93EyE9NXr2mJ4wJp+w== X-Received: by 10.194.96.205 with SMTP id du13mr13213211wjb.89.1470953871324; Thu, 11 Aug 2016 15:17:51 -0700 (PDT) Received: from [192.168.1.5] ([95.148.161.240]) by smtp.googlemail.com with ESMTPSA id m62sm1699272wmm.24.2016.08.11.15.17.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 15:17:50 -0700 (PDT) To: internals@lists.php.net References: <10fbcb03-5de8-4d9a-da1c-7e2bf77937cb@lsces.co.uk> <5657afc7-7569-5fc4-4a5a-27ed786c4fa5@gmail.com> <0825c173-5cb4-7f65-cf34-b45ca30919a3@lsces.co.uk> <8646c3ad-b929-cb0b-bad4-52a0a7160d16@gmail.com> <11ce571b-964b-5a3e-9f2f-3f69a8bc20b4@lsces.co.uk> Message-ID: <7d9db8d5-ae7a-4123-14f4-f76fb6d764c5@gmail.com> Date: Thu, 11 Aug 2016 23:17:50 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <11ce571b-964b-5a3e-9f2f-3f69a8bc20b4@lsces.co.uk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Simple variable handling. From: rowan.collins@gmail.com (Rowan Collins) On 11/08/2016 21:19, Lester Caine wrote: > No ... add more than just validation rules. Include facilities such as > escape rules, display rules and variable specific material such as error > messages. > > Just how the rules are enforced needs to be flexible and such things as > 'required' will vary how the results are interpreted. OK, so, again, you've mentioned plenty of the *why*, but what do you picture to be the *how*? When would these various rules be applied? What might the code look like that relied on them? You've mentioned a lot about flexibility, and that the feature could be used in multiple styles, but some concrete examples of how *you* would use it might help define what the feature needs to do (and not do). Regards, -- Rowan Collins [IMSoP]