mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Use common.inc instead of common.php for ease of use (rm -f *.php for failed
test files)
This commit is contained in:
parent
68f4e7c328
commit
9d2edd0fd8
@ -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');
|
||||
|
@ -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');
|
||||
|
||||
|
@ -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');
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?php
|
||||
//$debug = true;
|
||||
ini_set('include_path','.');
|
||||
include_once('common.php');
|
||||
include_once('common.inc');
|
||||
|
||||
|
||||
// Set order to "auto"
|
||||
|
@ -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
|
||||
|
||||
|
@ -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');
|
||||
|
@ -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');
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
//$debug=true;
|
||||
ini_set('include_path','.');
|
||||
include_once('common.php');
|
||||
include_once('common.inc');
|
||||
|
||||
|
||||
// Test string
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
//$debug=true;
|
||||
ini_set('include_path','.');
|
||||
include_once('common.php');
|
||||
include_once('common.inc');
|
||||
|
||||
|
||||
// Test string
|
||||
|
@ -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を使っています。日本語は面倒臭い。';
|
||||
|
@ -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を使っています。日本語は面倒臭い。';
|
||||
|
@ -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を使っています。日本語は面倒臭い。';
|
||||
|
@ -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==');
|
||||
|
@ -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==');
|
||||
|
@ -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==');
|
||||
|
@ -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を使っています。日本語は面倒臭い。';
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user