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 get_cfg_var() by substituting argument 1 with boolean values. --CRE..
Decoded Output download
*** Test substituting argument 1 with boolean values ***
Did this file decode correctly?
Original Code
--TEST--
Test function get_cfg_var() by substituting argument 1 with boolean values.
--CREDITS--
Francesco Fullone [email protected]
#PHPTestFest Cesena Italia on 2009-06-20
--INI--
session.use_cookies=0
session.serialize_handler=php
session.save_handler=files
--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(get_cfg_var( $var ) );
}
?>
--EXPECT--
*** Test substituting argument 1 with boolean values ***
bool(false)
bool(false)
bool(false)
bool(false)
Function Calls
None |
Stats
MD5 | d1603721d65972aba29331d33aa1376b |
Eval Count | 0 |
Decode Time | 89 ms |