Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
--TEST-- Test function posix_ttyname() by substituting argument 1 with boolean values. --C..
Decoded Output download
*** Test substituting argument 1 with boolean values ***
Did this file decode correctly?
Original Code
--TEST--
Test function posix_ttyname() by substituting argument 1 with boolean values.
--CREDITS--
Marco Fabbri [email protected]
Francesco Fullone [email protected]
#PHPTestFest Cesena Italia on 2009-06-20
--EXTENSIONS--
posix
--FILE--
<?php
echo "*** Test substituting argument 1 with boolean values ***\n";
$variation_array = array(
'lowercase true' => true,
'lowercase false' =>false,
'uppercase TRUE' =>TRUE,
'uppercase FALSE' =>FALSE,
);
foreach ( $variation_array as $var ) {
var_dump(posix_ttyname( $var ) );
}
?>
--EXPECT--
*** Test substituting argument 1 with boolean values ***
bool(false)
bool(false)
bool(false)
bool(false)
Function Calls
None |
Stats
MD5 | 2ba37d28fa122b46b361462b7e637a21 |
Eval Count | 0 |
Decode Time | 85 ms |