xref: /PHP-7.1/ext/standard/tests/math/log_error.phpt (revision d44f4cb1)
1--TEST--
2Test log() - wrong params test log()
3--INI--
4precision=14
5--FILE--
6<?php
7log();
8log(36,4,true);
9log(36, -4);
10?>
11--EXPECTF--
12Warning: log() expects at least 1 parameter, 0 given in %s on line %d
13
14Warning: log() expects at most 2 parameters, 3 given in %s on line %d
15
16Warning: log(): base must be greater than 0 in %s on line %d
17