From: Jason Greene Date: Mon, 11 Nov 2002 03:45:04 +0000 (+0000) Subject: add test function for log() X-Git-Tag: php-4.3.0RC1~124 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e2a312f2e5ef9619245bdf42f920c406cbf7d65;p=php add test function for log() # It is difficult to test an approximation of an approximation, but I # believe this test should be close enough to verify the function is working # correctly. --- diff --git a/ext/standard/tests/math/log.phpt b/ext/standard/tests/math/log.phpt new file mode 100644 index 0000000000..344c72fa0d --- /dev/null +++ b/ext/standard/tests/math/log.phpt @@ -0,0 +1,21 @@ +--TEST-- +log() tests +--POST-- +--GET-- +--FILE-- + ($x - 2))) { + $count++; + } + else { + print "$x : $x2\n"; + } +} +print $count . "\n"; +--EXPECT-- +On failure, please mail result to php-dev@lists.php.net +200