xref: /PHP-7.1/ext/standard/tests/math/pow_error.phpt (revision 113213f0)
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--
12Warning: pow() expects exactly 2 parameters, 0 given in %s line 2
13
14Warning: pow() expects exactly 2 parameters, 1 given in %s line 3
15
16Warning: pow() expects exactly 2 parameters, 3 given in %s line 4
17