mirror of
https://github.com/php/php-src.git
synced 2024-10-02 23:36:16 +00:00
20 lines
470 B
PHP
20 lines
470 B
PHP
--TEST--
|
|
Test function posix_ctermid() by calling it more than or less than its expected arguments
|
|
--SKIPIF--
|
|
<?php
|
|
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
|
?>
|
|
--CREDITS--
|
|
Marco Fabbri mrfabbri@gmail.com
|
|
Francesco Fullone ff@ideato.it
|
|
#PHPTestFest Cesena Italia on 2009-06-20
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump( posix_ctermid( 'foo' ) );
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: posix_ctermid() expects exactly 0 parameters, 1 given in %s on line %d
|
|
NULL
|