Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81861 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66193 invoked from network); 5 Feb 2015 05:07:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2015 05:07:30 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.50 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.192.50 mail-qg0-f50.google.com Received: from [209.85.192.50] ([209.85.192.50:64832] helo=mail-qg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/C1-51979-09AF2D45 for ; Thu, 05 Feb 2015 00:07:29 -0500 Received: by mail-qg0-f50.google.com with SMTP id j5so4733457qga.9 for ; Wed, 04 Feb 2015 21:07:26 -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=s5/rrUUCqOO/G6em0yruDqnPZcXlZkwU6u2Uy6TUvG0=; b=ZYKhoDEdDbNieXclZ5PJxN2+tNyriGJ/AoRD5JMFJpMo8W8gxZmcJeWZCDVot40c9p 2fp0mpgP4tPigjq0+Mg4S996us/O0+LjMYTtEOU52EKTC4WzCGK5qegxY6wVJt5CW4Qk Qwq7ixkRMIe6hRn1qbUqN3kFmqPW9crcDflu8p3vWKMICI3hfHp1aHOWKfzDDNfo+tSG Aq2TNTChYOcTWf0Jnt4NoFCejEK8eI6vj85ISZpWJWWe2cfdJVnu24BjKsv8/NMKn8pc HrWB1wNfvdcbjiIQS1yzayLOqQnUc7ay59/xRgbxwQkfjoaM4V1FSC6x1Kz0IVwcKK5H W3ww== X-Received: by 10.229.192.5 with SMTP id do5mr4738416qcb.12.1423112845882; Wed, 04 Feb 2015 21:07:25 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.229.28.72 with HTTP; Wed, 4 Feb 2015 21:06:45 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Feb 2015 14:06:45 +0900 X-Google-Sender-Auth: YWJJCRI9tIg5iJBvPlzre_OQy9M Message-ID: To: reeze Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11337bfca77b51050e5047e4 Subject: Re: [PHP-DEV] Re: [RFC][DISCUSSION] script() and script_once() From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11337bfca77b51050e5047e4 Content-Type: text/plain; charset=UTF-8 Hi Reeze, On Thu, Feb 5, 2015 at 1:38 PM, reeze wrote: > The name seems ambiguous , how about "require_script/once" to match > "do_sth" pattern? I thought so at first, too. How about alternative way that turn 'require' into non embedded mode by INI switch? > Since script()/script_once() is almost copy of require()/require_once(), it could be > INI option. > > require_embed = On/Off Almost all users use 'require' only for script today, I guess. I should have included this option in RFC. I'll do that now. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11337bfca77b51050e5047e4--