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 | |
set_time_limit(0); | |
ini_set('memory_limit',-1); | |
function parse_csv_assoc($str,&$f) { | |
if (empty($f)) { $f = str_getcsv($str); } | |
return @array_combine($f, str_getcsv($str)); | |
} |
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 | |
/******************************************************************************* | |
* Created by: shlomo hassid. | |
* Release Version : 1.1 | |
* Creation Date: 02/04/2018 | |
* | |
* This test will compare checksum methods with php hashing procedures and some | |
* basic ones to -> crc32(), md5(), sha1(), xor(), xor2(), add(). | |
* The text is randomly generated each iteration to avoid caching, the test also | |
* use several text length that will be defferent each iteration. |