コード例 #1
0
<?php

/**
 * Location detection
 * Test case: Determine the optimal approach to locate a user 
 *
 * @version     $Id: location.php 40 2011-02-09 14:10:00Z biyi $
 * @package     Platform
 * @category    Tests
 * @author      Biyi Akinpelu
 * @link        mailto:biyi@entilda.com
 * @copyright   Copyright (C) 2011 Entilda IT Solutions. All rights reserved.
 * @license     GNU/GPL, see LICENSE.php
 * Platform is free software. This version may have been modified pursuant
 * to the GNU General Public License, and as distributed it includes or
 * is derivative of works licensed under the GNU General Public License or
 * other free or open source software licenses.
 * See COPYRIGHT.php for copyright notices and details.
 */
// initilizing platform for self-contained objects
platform_launch_initialize();
system_location();
コード例 #2
0
function benchmark_location_detect()
{
    return system_location();
}