2
Test function posix_ttyname() by substituting argument 1 with float values.
4
Marco Fabbri mrfabbri@gmail.com
5
Francesco Fullone ff@ideato.it
6
#PHPTestFest Cesena Italia on 2009-06-20
11
echo "*** Test substituting argument 1 with float values ***\n";
15
$variation_array = array(
17
'float -10.5' => -10.5,
18
'float 12.3456789000e10' => 12.3456789000e10,
19
'float -12.3456789000e10' => -12.3456789000e10,
24
foreach ( $variation_array as $var ) {
25
var_dump(posix_ttyname( $var ) );
29
*** Test substituting argument 1 with float values ***