1--TEST--
2Test parameter validation in posix_mkfifo().
3--CREDITS--
4Till Klampaeckel, till@php.net
5TestFest Berlin 2009
6--SKIPIF--
7<?php
8if (!extension_loaded('posix')) {
9    die('SKIP The posix extension is not loaded.');
10}
11?>
12--FILE--
13<?php
14posix_mkfifo(null);
15var_dump(posix_mkfifo(null, 0644));
16?>
17===DONE===
18--EXPECTF--
19Warning: posix_mkfifo() expects exactly 2 parameters, 1 given in %s on line %d
20bool(false)
21===DONE===
22