LGV_TZ_Lookup 1.4.2
Time zone lookup for PHP applications and HTTP clients
Loading...
Searching...
No Matches
server.php File Reference

Verify the built-in server test report and performance summaries without a database server. More...

Go to the source code of this file.

Functions

 call_server (string $query, bool $cli)
 Exercise the report with known lookup results, including one optional failure.
 reportCheck (bool $value, string $label)
 Assert one report property.

Variables

 $calls
 $checks
 $config
 $expectedLookups
foreach($test_locations_param_array as $case) $forceFailure
 $summary
const __CONFIG_FILE_
 finally
 try

Detailed Description

© Copyright 2023-2026, Little Green Viper Software Development LLC. MIT License; see LICENSE.

Definition in file server.php.

Function Documentation

◆ call_server()

call_server ( string $query,
bool $cli )

Definition at line 20 of file server.php.

References $calls, $expectedLookups, $forceFailure, and call_server().

Here is the call graph for this function:

◆ reportCheck()

reportCheck ( bool $value,
string $label )

Definition at line 29 of file server.php.

References $checks, and reportCheck().

Referenced by reportCheck().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ $calls

$calls

Definition at line 16 of file server.php.

Referenced by call_server().

◆ $checks

$checks

Definition at line 17 of file server.php.

◆ $config

$config

Definition at line 43 of file server.php.

Referenced by updateRun(), and updateSettings().

◆ $expectedLookups

$expectedLookups

Definition at line 11 of file server.php.

Referenced by call_server().

◆ $forceFailure

foreach ( $test_locations_param_array as $case) $forceFailure

Definition at line 15 of file server.php.

Referenced by call_server().

◆ $summary

$summary

Definition at line 35 of file server.php.

◆ __CONFIG_FILE_

const __CONFIG_FILE_

Definition at line 45 of file server.php.

Referenced by call_server(), and test_server().

◆ finally

finally

Definition at line 56 of file server.php.

◆ try

try

Definition at line 46 of file server.php.