mirror of
https://github.com/php/php-src.git
synced 2024-10-21 08:22:42 +00:00
20 lines
332 B
Plaintext
20 lines
332 B
Plaintext
|
--TEST--
|
||
|
Test pow() - wrong params test pow()
|
||
|
--INI--
|
||
|
precision=14
|
||
|
--FILE--
|
||
|
<?php
|
||
|
pow();
|
||
|
pow(36);
|
||
|
pow(36,4,true);
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
|
||
|
Warning: pow() expects exactly 2 parameters, 0 given in %s line 2
|
||
|
|
||
|
Warning: pow() expects exactly 2 parameters, 1 given in %s line 3
|
||
|
|
||
|
Warning: pow() expects exactly 2 parameters, 3 given in %s line 4
|
||
|
|
||
|
|