1--TEST-- 2Test function posix_ttyname() by substituting argument 1 with string 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 string values ***\n"; 14 15 16 17$heredoc = <<<EOT 18hello world 19EOT; 20 21$variation_array = array( 22 'string DQ' => "string", 23 'string SQ' => 'string', 24 'mixed case string' => "sTrInG", 25 'heredoc' => $heredoc, 26 ); 27 28 29foreach ( $variation_array as $var ) { 30 var_dump(posix_ttyname( $var ) ); 31} 32?> 33--EXPECT-- 34*** Test substituting argument 1 with string values *** 35bool(false) 36bool(false) 37bool(false) 38bool(false) 39