~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to ext/bcmath/tests/bcpow.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
bcpow() function
 
3
--SKIPIF--
 
4
<?php if(!extension_loaded("bcmath")) print "skip"; ?>
 
5
--INI--
 
6
bcmath.scale=0
 
7
--FILE--
 
8
<?php
 
9
echo bcpow("1", "2"),"\n";
 
10
echo bcpow("-2", "5", 4),"\n";
 
11
echo bcpow("2", "64"),"\n";
 
12
?>
 
13
--EXPECT--
 
14
1
 
15
-32
 
16
18446744073709551616