mirror of
https://github.com/php/php-src.git
synced 2024-12-16 13:26:19 +08:00
22 lines
425 B
PHP
22 lines
425 B
PHP
--TEST--
|
|
Test parameter validation in posix_mkfifo().
|
|
--CREDITS--
|
|
Till Klampaeckel, till@php.net
|
|
TestFest Berlin 2009
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('posix')) {
|
|
die('SKIP The posix extension is not loaded.');
|
|
}
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
posix_mkfifo(null);
|
|
var_dump(posix_mkfifo(null, 0644));
|
|
?>
|
|
===DONE===
|
|
--EXPECTF--
|
|
Warning: posix_mkfifo() expects exactly 2 parameters, 1 given in %s on line %d
|
|
bool(false)
|
|
===DONE===
|