first commit

This commit is contained in:
root
2020-02-19 16:42:35 +01:00
commit d668d90f82
2224 changed files with 334338 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<?php
require(__DIR__ . '/../vendor/autoload.php');
$jsonfile = __DIR__ . '/../Tests/user_agents.json';
$uas = json_decode(file_get_contents($jsonfile), true);
foreach( $uas as $key => &$val ) {
$val = parse_user_agent($key);
}
echo json_encode($uas);