Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35345 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18201 invoked by uid 1010); 10 Feb 2008 10:15:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 18185 invoked from network); 10 Feb 2008 10:15:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2008 10:15:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=jan@horde.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jan@horde.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain horde.org designates 213.83.39.131 as permitted sender) X-PHP-List-Original-Sender: jan@horde.org X-Host-Fingerprint: 213.83.39.131 mail.ammma.de Linux 2.4/2.6 Received: from [213.83.39.131] ([213.83.39.131:17942] helo=ammma.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/B4-64922-7AECEA74 for ; Sun, 10 Feb 2008 05:15:04 -0500 Received: from neo.wg.de (hydra.ammma.mil [192.168.110.1]) by ammma.de (8.11.6/8.11.6/AMMMa AG) with ESMTP id m1AAH1831765 for ; Sun, 10 Feb 2008 11:17:01 +0100 Received: from localhost (localhost [127.0.0.1]) by neo.wg.de (Postfix) with ESMTP id E1E532D7C3E for ; Sun, 10 Feb 2008 11:15:27 +0100 (CET) Received: from neo.wg.de ([127.0.0.1]) by localhost (neo.wg.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27583-10 for ; Sun, 10 Feb 2008 11:15:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by neo.wg.de (Postfix) with ESMTP id 20FB82EBAC0 for ; Sun, 10 Feb 2008 11:15:15 +0100 (CET) Received: from 192.168.60.103 ([192.168.60.103]) by neo.wg.de (Horde Framework) with HTTP; Sun, 10 Feb 2008 11:15:14 +0100 Message-ID: <20080210111514.54165ecxih2p5yg4@neo.wg.de> X-Priority: 3 (Normal) Date: Sun, 10 Feb 2008 11:15:14 +0100 To: internals@lists.php.net References: <1323006624.20080209143940@marcus-boerger.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Virus-Scanned: amavisd-new at wg.de Subject: Re: [PHP-DEV] [patch] expose PHP version details as constants From: jan@horde.org (Jan Schneider) Zitat von Jingcheng Zhang : > Hello, > Is there any chance that dirname(__FILE__) being exposed as a constant, > i.e. __DIRNAME__? No. Constants are per request, dirname(__FILE__) is obviously different per file. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/