Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once('ArcemuBugReportTypeFieldParser.inc');
- $parser =
- new ArcemuBugReportTypeFieldParser("<26>14</26><1>3.3.5</1><37>0</37><2>12340</2><3>Jun 24 2010</3><4>Test Realm</4><5>enUS</5><6>Rhon</6><7>80</7><9>Male</9><11>Eastern Kingdoms</11><13>Trade District</13><19>Arcemu_FeedbackUI, AtlasLoot, AtlasLoot_BurningCrusade, AtlasLoot_Crafting, AtlasLoot_OriginalWoW, AtlasLoot_WorldEvents, AtlasLoot_WrathoftheLichKing, AtlasLootFu, Prat-3.0, Prat-3.0_Libraries, TitanAmmo, TitanBag, TitanClock, TitanCoords, TitanGoldTracker, TitanLootType, TitanPerformance, TitanRegen, TitanRepair, TitanVolume, TitanXP, Titan</19><23>7</23><39>0</39><40>055003003C524832248A72</40><20>Prat-3.0_HighCPUUsageModules</20><24>1</24><41>Mrr Grrrrl!</41><8>Human</8><10>Warrior</10><12>Stormwind City</12><21>3022030123335100030012000000000305050005025010050100000000203000000000000000000000000</21><25>4</25><43>Walla, Stormwind City</43><42>7590AA454050A01422,`,System Default,Primary Sound Capture Driver,Primary Sound Driver</42><38>0</38><0>0</0><18>62, 75</18><22>10588:0:0:0:0 0:0:0:0:0 42949:0:0:0:0 38:0:0:0:0 48685:0:0:0:0 0:0:0:0:0 39:0:0:0:0 0:0:0:0:0 0:0:0:0:0 0:0:0:0:0 0:0:0:0:0 0:0:0:0:0 42991:0:0:0:0 10587:0:0:0:0 0:0:0:0:0 47515:0:0:0:0 0:0:0:0:0 15995:0:0:0:0 45574:0:0:0:0 23162:0:0:0:0 23162:0:0:0:0 23162:0:0:0:0 23162:0:0:0:0</22>");
- $success = $parser->Parse();
- if( $success == false ){
- echo "Borat execute!";
- }else{
- $arr = $parser->GetArray();
- ksort( $arr );
- foreach( $arr as $key => $value ){
- echo "Key: $key Value: $value<br>";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement