Geoffrey Young wrote: > > Philippe M. Chiasson wrote: >> [EMAIL PROTECTED] wrote: >>> Author: gozer >>> Date: Wed Oct 31 00:15:30 2007 >>> New Revision: 590575 >>> >>> URL: http://svn.apache.org/viewvc?rev=590575&view=rev >>> Log: >>> Teach Apache::TestConfig to generate valid PHP comments >>> <?php /* */i ?> when generating PHP files from t/conf/*.php.in >> Sorry, there was a typo in the commit message, a php comment will >> look like: >> >> <?php /* */ ?> > > not all php comments, though, right?
The only reason this is neded is to proprely comment out the generated warning about this file being autogenerated. It doesn't _need_ to understand existing comments in the file, just needs to know how to generate a valid comment block. > but I suppose we only care about > *.in files where we have the entire file to work with... > > anyway, are you using the php interface? Yup, working on a project at $work where we use PHP for the front-end, and using A::T to drive it is just goodness. Only problem was I needed a generated PHP config file in t/conf/ with info like @ServerName@, @Port@, etc. -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature