xref: /PHP-5.3/ext/standard/tests/math/pow_error.phpt (revision a111cabe)
1--TEST--
2Test pow() - wrong params test pow()
3--INI--
4precision=14
5--FILE--
6<?php
7pow();
8pow(36);
9pow(36,4,true);
10?>
11--EXPECTF--
12
13Warning: pow() expects exactly 2 parameters, 0 given in %s line 2
14
15Warning: pow() expects exactly 2 parameters, 1 given in %s line 3
16
17Warning: pow() expects exactly 2 parameters, 3 given in %s line 4
18
19
20