Use common.inc instead of common.php for ease of use (rm -f *.php for failed

test files)
This commit is contained in:
Yasuo Ohgaki 2002-03-18 06:03:53 +00:00
parent 68f4e7c328
commit 9d2edd0fd8
17 changed files with 17 additions and 17 deletions

View File

@ -2,7 +2,7 @@
// TODO:
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// EUC-JP
$r = mb_internal_encoding('EUC-JP');

View File

@ -2,7 +2,7 @@
// TODO: This is not a real test.... Need to change so that it does real testing
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
$ini = ini_get('mbstring.http_input');

View File

@ -2,7 +2,7 @@
//TODO: Add more encoding. Wrong paramter type test.
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// Set HTTP output encoding to ASCII
$r = mb_http_output('ASCII');

View File

@ -1,7 +1,7 @@
<?php
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// Set order to "auto"

View File

@ -1,7 +1,7 @@
<?php
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// Note: It does not return TRUE/FALSE for setting char

View File

@ -3,7 +3,7 @@
//$debug=true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
$str = mb_preferred_mime_name('sjis-win');

View File

@ -3,7 +3,7 @@
//$debug=true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// restore detect_order to 'auto'
mb_detect_order('auto');

View File

@ -3,7 +3,7 @@
//$debug=true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// Test string

View File

@ -3,7 +3,7 @@
//$debug=true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// Test string

View File

@ -1,7 +1,7 @@
<?php
// TODO: Add more encodings
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// EUC-JP
$euc_jp = '0123この文字列は日本語です。EUC-JPを使っています。日本語は面倒臭い。';

View File

@ -1,7 +1,7 @@
<?php
// TODO: Add more encodings
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// EUC-JP
$euc_jp = '0123この文字列は日本語です。EUC-JPを使っています。日本語は面倒臭い。';

View File

@ -2,7 +2,7 @@
// TODO: Add more encoding
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// EUC-JP
$euc_jp = '0123この文字列は日本語です。EUC-JPを使っています。日本語は面倒臭い。';

View File

@ -2,7 +2,7 @@
// TODO: Add more tests
//$debug = true; // Uncomment this line to view error/warning/notice message in *.out file
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// SJIS string (BASE64 encoded)
$sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');

View File

@ -2,7 +2,7 @@
// TODO: Add more tests
//$debug = true; // Uncomment this line to view error/warning/notice message in *.out file
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// SJIS string (BASE64 encoded)
$sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');

View File

@ -2,7 +2,7 @@
// TODO: Add more tests
//$debug = true; // Uncomment this line to view error/warning/notice message in *.out file
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// SJIS string (BASE64 encoded)
$sjis = base64_decode('k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg==');

View File

@ -2,7 +2,7 @@
// TODO: Add more encoding, strings.....
//$debug = true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// EUC-JP
$euc_jp = '0123この文字列は日本語です。EUC-JPを使っています。日本語は面倒臭い。';

View File

@ -3,7 +3,7 @@
//$debug=true;
ini_set('include_path','.');
include_once('common.php');
include_once('common.inc');
// restore detect_order to 'auto'
mb_detect_order('auto');