Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81860 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62373 invoked from network); 5 Feb 2015 04:38:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 04:38:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=reeze.xia@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=reeze.xia@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.173 as permitted sender) X-PHP-List-Original-Sender: reeze.xia@gmail.com X-Host-Fingerprint: 209.85.212.173 mail-wi0-f173.google.com Received: from [209.85.212.173] ([209.85.212.173:43509] helo=mail-wi0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/61-51979-CC3F2D45 for ; Wed, 04 Feb 2015 23:38:37 -0500 Received: by mail-wi0-f173.google.com with SMTP id r20so36230502wiv.0 for ; Wed, 04 Feb 2015 20:38:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=2C4+dvm2/Xu1eO0stDibMsZUtdSsc2+vCujSOdVPmE0=; b=zPyjOFQXKaalB1IoTSrzhAe7zOUK+9Eo1+DcQ3u51LFkSE79FxMx4EHTr6xnFIUKUv XGvlyoAwte4ANp5mqK2MuWw+fHibzTz/x+TnHe6LBKKEGuVRPCaxxMSvzOlDyI8ci2s3 GaadVRxPNBUTrNa3JGqCVDScMWt/NNO+GFO8NHUN7n+p0xZiabj4ZnFnHABY6uSg3Rd3 J5KPHzZlpVCxynV3S6MxTuidl2wwk5+YVgYyJoSwVWI5s+eNhaMOzXgRHCA7KlKAoSa2 a4Cleme23OfKyytqUgPlIbtPCc8r7HdZDok51Rpd9ibelkErgN6HemhR5VKfmzBNiPWo mUqw== X-Received: by 10.180.90.234 with SMTP id bz10mr11336442wib.79.1423111113190; Wed, 04 Feb 2015 20:38:33 -0800 (PST) MIME-Version: 1.0 Sender: reeze.xia@gmail.com Received: by 10.195.12.163 with HTTP; Wed, 4 Feb 2015 20:38:13 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Feb 2015 12:38:13 +0800 X-Google-Sender-Auth: 6vmJ7mvVn02ctKhio5daektnKuc Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=f46d043be0a060b163050e4fe0a4 Subject: Re: [PHP-DEV] Re: [RFC][DISCUSSION] script() and script_once() From: reeze@php.net (reeze) --f46d043be0a060b163050e4fe0a4 Content-Type: text/plain; charset=ISO-8859-1 The name seems ambiguous , how about "require_script/once" to match "do_sth" pattern? On 5 February 2015 at 10:03, Yasuo Ohgaki wrote: > Hi all, > > On Thu, Feb 5, 2015 at 10:53 AM, Yasuo Ohgaki wrote: > > > I would like to discuss my "must have it in PHP 7" item. > > > > PHP RFC: script() and script_once() > > https://wiki.php.net/rfc/script_and_script_once > > > > Since script()/script_once() is almost copy of require()/require_once(), it > could be > INI option. > > require_embed = On/Off > > This allows existing PHP script to be secure without rewriting. If many of > you like > this, I'll change the RFC. > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > --f46d043be0a060b163050e4fe0a4--