mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
15 lines
249 B
PHP
15 lines
249 B
PHP
--TEST--
|
|
Check for uv_loadavg
|
|
--FILE--
|
|
<?php
|
|
$avg = uv_loadavg();
|
|
|
|
echo "count: " . count($avg) . PHP_EOL;
|
|
echo (int)is_float($avg[0]) . PHP_EOL;
|
|
echo (int)is_float($avg[1]) . PHP_EOL;
|
|
echo (int)is_float($avg[2]) . PHP_EOL;
|
|
--EXPECT--
|
|
count: 3
|
|
1
|
|
1
|
|
1 |