mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
20 lines
418 B
Plaintext
20 lines
418 B
Plaintext
|
--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====
|