3 // Set the encoding to something more "challenging."
4 $ret = mb_internal_encoding('UTF-8');
6 echo "Couldn't set encoding.";
10 // Dump out the settings / encoding for future reference.
11 $val = ini_get("mbstring.func_overload");
13 echo " func_overload: " . $val . "\n";
14 echo " mb_internal_encoding(): " . mb_internal_encoding() . "\n";
17 require_once('Crypto.php');
19 Crypto::RuntimeTest();
20 echo "TEST PASSED!\n";
22 } catch (CryptoTestFailedException $ex) {
23 echo "TEST FAILED!\n";
26 } catch (CannotPerformOperationException $ex) {