-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.php
More file actions
28 lines (21 loc) · 900 Bytes
/
test.php
File metadata and controls
28 lines (21 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
require "sidclib.php";
$testACCID = new sidc('[U:1:76213643]');
$testSID32 = new sidc('STEAM_0:1:38106821');
$testSID64 = new sidc('76561198036479371');
echo PHP_EOL.'-->AccountID/Steam3 ([U:1:76213643]) input test: '.PHP_EOL;
echo $testACCID->steamid.PHP_EOL;
echo $testACCID->steam3.PHP_EOL;
echo $testACCID->communityid.PHP_EOL.PHP_EOL;
echo '-->SteamID/SteamID32 (STEAM_0:1:38106821) input test: '.PHP_EOL;
echo $testSID32->steamid.PHP_EOL;
echo $testSID32->steam3.PHP_EOL;
echo $testSID32->communityid.PHP_EOL.PHP_EOL;
echo '-->SteamID64/CommunityID (76561198036479371) input test: '.PHP_EOL;
echo $testSID64->steamid.PHP_EOL;
echo $testSID64->steam3.PHP_EOL;
echo $testSID64->communityid.PHP_EOL.PHP_EOL;
echo '-->Array output test: '.PHP_EOL;
var_dump($testSID32->getArr());
echo PHP_EOL.'-->JSONSerialization output test: '.PHP_EOL;
echo json_encode($testSID32).PHP_EOL.PHP_EOL;