Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28338 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96871 invoked by uid 1010); 14 Mar 2007 15:39:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 96856 invoked from network); 14 Mar 2007 15:39:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Mar 2007 15:39:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=zoe.slattery@googlemail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=zoe.slattery@googlemail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 64.233.182.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: zoe.slattery@googlemail.com X-Host-Fingerprint: 64.233.182.187 nf-out-0910.google.com Linux 2.4/2.6 Received: from [64.233.182.187] ([64.233.182.187:42637] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C9/D1-12858-84718F54 for ; Wed, 14 Mar 2007 10:39:54 -0500 Received: by nf-out-0910.google.com with SMTP id l35so287127nfa for ; Wed, 14 Mar 2007 08:39:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=JKP5iJDE4ugAu3r23Y4Vose1bZmC+J1dvO+GrA4qMDMU4eVgP/4U8OgJ5jTZhoeyvNU7iERRzNa4B7klrbdaJRHftJsBey2yukUnAci4h0EEz/8z1an/1AhZ4T5+OwffRpvG5U4ixdGSmO5M+S8NP1SDEQK1KNy2jbGn7NY5dm4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=grZNBz+sx3DKk6RI4AMcFBrBrU44LL27hmv2RFJOOcRb21AJMvs8vCzBHoyaf9wVMvPOozxXp7y8AHP1UQGhUxSMVPHA1brHey13IvwJ14raAsTG1v4FdzIHTLs19Oye2wd4tLIvZvbGyy0PKa9t7bzxG56dkZ/NrOJSAsvChmo= Received: by 10.78.157.8 with SMTP id f8mr1265725hue.1173886790016; Wed, 14 Mar 2007 08:39:50 -0700 (PDT) Received: from ?9.20.176.171? ( [195.212.29.75]) by mx.google.com with ESMTP id b36sm21230711ika.2007.03.14.08.39.48; Wed, 14 Mar 2007 08:39:49 -0700 (PDT) Message-ID: <45F8173F.3010902@googlemail.com> Date: Wed, 14 Mar 2007 15:39:43 +0000 User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: php.ini and PHPT From: zoe.slattery@googlemail.com (Zoe Slattery) 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