mirror of
https://github.com/php/php-src.git
synced 2024-10-19 07:22:40 +00:00
20 lines
418 B
PHP
20 lines
418 B
PHP
--TEST--
|
|
posix_getrlimit(): Basic tests
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
|
|
if (!function_exists('posix_getrlimit')) die('skip posix_getrlimit() not found');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
echo "Basic test of POSIX posix_getrlimit function\n";
|
|
var_dump(posix_getrlimit());
|
|
|
|
?>
|
|
===DONE====
|
|
--EXPECTF--
|
|
Basic test of POSIX posix_getrlimit function
|
|
array(%d) {
|
|
%a
|
|
}
|
|
===DONE====
|