This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local inspect ={ | |
_VERSION = 'inspect.lua 3.1.0', | |
_URL = 'http://github.com/kikito/inspect.lua', | |
_DESCRIPTION = 'human-readable representations of tables', | |
_LICENSE = [[ | |
MIT LICENSE | |
Copyright (c) 2013 Enrique GarcÃa Cota | |
Permission is hereby granted, free of charge, to any person obtaining a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* MD5 | |
converted to C++ class by Frank Thilo ([email protected]) | |
for bzflag (http://www.bzflag.org) | |
based on: | |
md5.h and md5.c | |
reference implemantion of RFC 1321 | |
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function bytelen($str) { | |
if (defined('MB_OVERLOAD_STRING') && (ini_get('mbstring.func_overload') & MB_OVERLOAD_STRING) && extension_loaded('mbstring')) { | |
return mb_strlen($str, '8bit'); | |
} else { | |
return strlen($str); | |
} | |
} |
NewerOlder