mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
14 lines
247 B
PHP
14 lines
247 B
PHP
--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
|