Hi - I wonder if anyone could help me with a testing question?
We have written a few additional test cases for string functions which I was about to check-in, then I noticed that the test cases pass OK if I use the php.ini-dist file and fail if I don't specify an file (ie use all default settings).
The difference turns out to the be the use of precision =12 in the php.ini-dist, rather than the the default value of 14.
It's easy enough to work around this and ensure that test cases pass in both environments with an --INI-- section in the test case, however - I wondered if there would be any value in having a php-ini file that was explicitly used for tests?
We had been using the php.ini-dist file because it's slightly easier to be precise about the test environment if you can say what you are using rather than saying "I'm using the default values". I also find it rather too easy to get the wrong php.ini file accidentally :-( so specifying one is easier, even if it only contains default values.
Zoe IBM -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php