15 lines
247 B
Plaintext
15 lines
247 B
Plaintext
|
|
--TEST--
|
||
|
|
Test log() - wrong params test log()
|
||
|
|
--INI--
|
||
|
|
precision=14
|
||
|
|
--FILE--
|
||
|
|
<?php
|
||
|
|
try {
|
||
|
|
log(36, -4);
|
||
|
|
} catch (ValueError $exception) {
|
||
|
|
echo $exception->getMessage() . "\n";
|
||
|
|
}
|
||
|
|
?>
|
||
|
|
--EXPECT--
|
||
|
|
log(): Argument #2 ($base) must be greater than 0
|