Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70843 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71534 invoked from network); 23 Dec 2013 00:28:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2013 00:28:09 -0000 Authentication-Results: pb1.pair.com header.from=ingwie2000@googlemail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ingwie2000@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 74.125.83.51 as permitted sender) X-PHP-List-Original-Sender: ingwie2000@googlemail.com X-Host-Fingerprint: 74.125.83.51 mail-ee0-f51.google.com Received: from [74.125.83.51] ([74.125.83.51:34085] helo=mail-ee0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/0E-04050-79387B25 for ; Sun, 22 Dec 2013 19:28:07 -0500 Received: by mail-ee0-f51.google.com with SMTP id b15so2061832eek.38 for ; Sun, 22 Dec 2013 16:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=ADK3zZbnTSwDFV7I4wnF19biUZmU5TSfsQc6W3Cq+FU=; b=ZbSS58D/+myJRtejZts+9DgM+q2LbDJmq71IOriL5O+fXdarISOYTmCPklZqBndZIO MnHSGdgiYazD9ZXs3uSk9oxGiFK8MBKPCDnLF+afg6tgnY7jibDEfRmvQtc3sEr8dmED p9tQRzoiScMIDxtsjr+eAXYcRLFykFXGnFwqyeeYpeCaSwBgZaraV2m2PXdYv29C6zLp rKEfHSCpdWjv9y4GAM3pQa79n1bWRkRzYYHVMly2L4GYuRUN6UL+oHIZE0uU/CTxlp1W 3zuXm+tsOPzVCrgTwWxmLtu6TPg9J5imPeS2frjylQT1UgawRx9yMCRT5hygtSEQje5R g3+w== X-Received: by 10.15.43.10 with SMTP id w10mr18135312eev.13.1387758484547; Sun, 22 Dec 2013 16:28:04 -0800 (PST) Received: from ingwies-air.speedport_w723_v_typ_a_1_00_098 (p5B1539D4.dip0.t-ipconnect.de. [91.21.57.212]) by mx.google.com with ESMTPSA id h48sm40795008eev.3.2013.12.22.16.28.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 22 Dec 2013 16:28:04 -0800 (PST) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Message-ID: <385D731E-A068-4004-9A73-CC90050E1676@googlemail.com> Date: Mon, 23 Dec 2013 01:28:02 +0100 To: php-dev Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) X-Mailer: Apple Mail (2.1822) Subject: Why is require still a function? From: ingwie2000@googlemail.com (Kevin Ingwersen) Hello there. I have seen an implementation of nodejs=92 require function - but it = needed to use a variable-function ($require(string $name)) instead, = because =82require()=91 is given. My questions are: - Why is require still also available as a function? - Why can=92t re re-define something like that? Kind regards, and thanks! ^^=