Re: [patch] expose PHP version details as constants

From: Date: Sun, 10 Feb 2008 08:39:28 +0000
Subject: Re: [patch] expose PHP version details as constants
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-35344@lists.php.net to get a copy of this message
Hello, Is there any chance that dirname(__FILE__) being exposed as a constant, i.e. __DIRNAME__? On Feb 9, 2008 9:42 PM, Pierre Joye <pierre.php@gmail.com> wrote: > Hi Marcus, > > On Feb 9, 2008 2:39 PM, Marcus Boerger <helly@php.net> wrote: > > Hello Pierre, > > yeah nice idea. I am wondering if you might want to add the cvs tag, > too? > > E.g.: PHP_TAG = 'PHP_5_3' > > > Oh right, nice idea :) It would be nice to have it as well. The idea > is to ease the tests writing and configuration detections. > > Cheers, > -- > Pierre > http://blog.thepimp.net | > http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Best regards, Jingcheng Zhang Room 304, Dormitory 26 of Yuquan Campus, Zhejiang University P.R.China

« previous php.internals (#35344) next »