1--TEST--
2Test function posix_ttyname() by substituting argument 1 with int values.
3--CREDITS--
4Marco Fabbri mrfabbri@gmail.com
5Francesco Fullone ff@ideato.it
6#PHPTestFest Cesena Italia on 2009-06-20
7--EXTENSIONS--
8posix
9--FILE--
10<?php
11
12
13echo "*** Test substituting argument 1 with int values ***\n";
14
15
16
17$variation_array = array (
18    'int 12345' => 12345,
19    'int -12345' => -2345,
20    );
21
22
23foreach ( $variation_array as $var ) {
24  var_dump(posix_ttyname( $var  ) );
25}
26?>
27--EXPECT--
28*** Test substituting argument 1 with int values ***
29bool(false)
30bool(false)
31