includes/normal/Utf8Test.php File Reference

Go to the source code of this file.

Functions

 testLine ($test, $line, &$total, &$success, &$failed)

Variables

if(php_sapi_name()!= 'cli') $in = fopen( "UTF-8-test.txt", "rt" )
if(!$in) $columns = 0
while(false!==($line=fgets($in)))
if(!$columns) 
$ignore
 $exceptions
 $longTests
 $sectionTests = array( '3.4' )
 $section = NULL
 $test = ''
 $failed = 0
 $success = 0
 $total = 0
while(false!==($line=fgets($in))) if ($failed)


Function Documentation

testLine ( test,
line,
&$  total,
&$  success,
&$  failed 
)

Definition at line 123 of file Utf8Test.php.

References $columns, $exceptions, $failed, $ok, $success, $test, $total, $verbose, and print.


Variable Documentation

if (!$in) $columns = 0

Definition at line 46 of file Utf8Test.php.

Referenced by testLine().

$exceptions

Initial value:

 array(
        # Tests that should mark invalid characters due to using long
        # sequences beyond what is now considered legal.
        '2.1.5', '2.1.6', '2.2.4', '2.2.5', '2.2.6', '2.3.5',

        # Literal 0xffff, which is illegal
        '2.2.3' )

Definition at line 68 of file Utf8Test.php.

Referenced by testLine(), and wfIsBadImage().

$failed = 0

Definition at line 86 of file Utf8Test.php.

Referenced by SquidUpdate::purge(), TestRecorder::reportPercentage(), and testLine().

while (false!==($line=fgets($in))) if (!$columns) $ignore

if (php_sapi_name()!= 'cli') $in = fopen( "UTF-8-test.txt", "rt" )

Definition at line 38 of file Utf8Test.php.

$longTests

Initial value:

 array(
        # These tests span multiple lines
        '3.1.9', '3.2.1', '3.2.2', '3.2.3', '3.2.4', '3.2.5',
        '3.4' )

Definition at line 76 of file Utf8Test.php.

$section = NULL

$sectionTests = array( '3.4' )

Definition at line 82 of file Utf8Test.php.

$success = 0

$test = ''

$total = 0

while (false!==($line=fgets($in))) if($failed)

Definition at line 113 of file Utf8Test.php.


Generated on Sat Sep 5 02:08:07 2009 for MediaWiki by  doxygen 1.5.9