summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_ctermid_error.phpt
blob: a177f545785763c5c7327155386eb8be82b6bf21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--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