xref: /php-src/ext/standard/tests/math/log_error.phpt (revision bb6f3740)
1--TEST--
2Test log() - wrong params test log()
3--INI--
4precision=14
5--FILE--
6<?php
7try {
8    log(36, -4);
9} catch (ValueError $exception) {
10    echo $exception->getMessage() . "\n";
11}
12?>
13--EXPECT--
14log(): Argument #2 ($base) must be greater than 0
15