This file contains 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 | |
/** | |
* @param string $value Raw MIME header field | |
* @return string UTF-8 subject | |
**/ | |
function decode_header_field( $value ) | |
{ | |
if ( preg_match( "/^\\=\\?([a-z0-9-]+)\\?([QB])\\?(.*)\\?\\=\$/i", $value, $sub ) ) | |
{ |
This file contains 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 | |
/** | |
* Note: from PHP 7.0 and up, rand() is identical to mt_rand(). | |
* In order to test both functions, run this file on PHP 5.6 or below. | |
*/ | |
$date = 'Tue, 21 Feb 2018 11:21:40 +0100'; | |
$hash = '$1$Wp8cWAg7$stCx1RGCLwwZmYJi9eKRI0'; |
This file contains 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
" This is my personal .vimrc file. | |
" | |
" This line should not be removed as it ensures that various options are | |
" properly set to work with the Vim-related packages available in Debian. | |
runtime! debian.vim | |
" Source a global configuration file if available |
OlderNewer