<?php
//	require('shm_f.inc');//2.1394
	require('shm.inc');//0.9688

	$s = time() + microtime();

	$x = 0;
	while($x < 10000) {
		$obj = new counter();

		$id = (isset($_GET['id']) && preg_match("/^[0-9]{1,7}$/",$_GET['id'])) ? $_GET['id'] : 0;

		if(!$id) {
			exit;
		}

		$obj->count($id);
		$x++;
	}
	$e = time() + microtime();
	echo sprintf("%d\nTIME:%.4f",$obj->getCount(), time() + microtime() - $s);

