]> granicus.if.org Git - php/commitdiff
.php files are in .cvsignore here
authorfoobar <sniper@php.net>
Sun, 14 Jul 2002 00:22:52 +0000 (00:22 +0000)
committerfoobar <sniper@php.net>
Sun, 14 Jul 2002 00:22:52 +0000 (00:22 +0000)
18 files changed:
ext/mbstring/tests/002.inc
ext/mbstring/tests/003.inc
ext/mbstring/tests/004.inc
ext/mbstring/tests/005.inc
ext/mbstring/tests/006.inc
ext/mbstring/tests/008.inc
ext/mbstring/tests/009.inc
ext/mbstring/tests/010.inc
ext/mbstring/tests/011.inc
ext/mbstring/tests/012.inc
ext/mbstring/tests/013.inc
ext/mbstring/tests/014.inc
ext/mbstring/tests/015.inc
ext/mbstring/tests/016.inc
ext/mbstring/tests/017.inc
ext/mbstring/tests/018.inc
ext/mbstring/tests/019.inc
ext/mbstring/tests/common.php [deleted file]

index 241b78393e66c23bbf46703101b87e787cc34eb9..6b16ca8d46d2880b6be842800c3952a8adec05da 100644 (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');
index 675140726cb1e4b5d19d866116925522ab174a3e..b6a6d3e9a4c114ba15ed705876deaa2dad84e65d 100644 (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');
 
index 271a348b584ee520e99e40e6eede19f3cd2ea409..421bb5a681568a97ff436756c3356109ba817077 100644 (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');
index 5d486eb2a72f0f3085cb560cebc30840a0d72131..88edb11131241f10d2fb57f143c4d45ecb48c3a8 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 //$debug = true;
 ini_set('include_path','.');
-include_once('common.php');
+include_once('common.inc');
 
 
 // Set order to "auto"
index 749b019990f4275019166f1e0d35708df43c90e6..80422d0a6c7cf2024c495af72fd3712a80e2eb98 100644 (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
 
index 5a52473dd4e185c937f1fdbfb5d7421388925690..035f459d6c5fb65f2fc6417624deda0104afd06c 100644 (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');
index efdb9f85039476e4c6e10aa7c3b9c8689ddbc4cd..2eb2f9d1c899093afb1eaca67b4060d84e69daed 100644 (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');
index 2f6ccc406f3f23e4c58fc65f5a0974dc2b48f530..dc50d3fcff6cef2fb026e850d1224ad60e1f5f00 100644 (file)
@@ -3,7 +3,7 @@
 
 //$debug=true;
 ini_set('include_path','.');
-include_once('common.php');
+include_once('common.inc');
 
 
 // Test string
index ae8b75d5da2b690d7d64bfda99c62595f464a2ad..43ebf82dbec7a33aad9692720f092f22afd631fd 100644 (file)
@@ -3,7 +3,7 @@
 
 //$debug=true;
 ini_set('include_path','.');
-include_once('common.php');
+include_once('common.inc');
 
 
 // Test string
index 18a9b6d91fca905d734d78f68312250a096f7561..d6dad9a90371fcbcc6df2a401545a695db13d38f 100644 (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¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ­¤¤¡£';
index ed6406687e8f11fed1e0a044560cc13c512bca9e..97da70c7dc2befe81cbe6e2d9558ecb7cefaaf04 100644 (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¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ­¤¤¡£';
index afcbae28b8edfa7ae75cf5163dd5a0277d5812ba..0e714e7abfe64991e12ee13c658687358d1a5cce 100644 (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¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ­¤¤¡£';
index ac497edef39748ece674811c071168d247ea1d47..ca7f9dedd3fb120f9e30e36ae16f7dcb829d7854 100644 (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==');
index bea679e50272dc0fdc9049a50eaf052f49a5cc48..ccc88e27b6afd704cb784dd72bbf3c1961d98303 100644 (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==');
index c897c93b3973e44ae894cd476376e19f66c73af8..fd4f5b2d08a3e2401e2b40af2a262635a8e69828 100644 (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==');
index b328a71ea1a1ba8ce95b523f5238f067da76a8da..3d9acfe383bd405c00ba8b9da36bc930a44b8f45 100644 (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¤ò»È¤Ã¤Æ¤¤¤Þ¤¹¡£ÆüËܸì¤ÏÌÌÅݽ­¤¤¡£';
index 556d02d6aaaf606cf091129c97afba6d2207fcb3..8de98f47784b2fdafdb4c6ad626f3bb8fe81e3c1 100644 (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');
diff --git a/ext/mbstring/tests/common.php b/ext/mbstring/tests/common.php
deleted file mode 100644 (file)
index d4d1d9a..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-/*
- * Common definition and Settings
- */
-
-// Custom Error Hanlder for testing
-function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
-       global $debug;
-       
-       $err_type = array (
-                               1       => "Error",                     // E_ERROR
-                               2       => "Warning",                   // E_WARINING
-                               4       => "Parsing Error",     // E_PARSE
-                               8       => "Notice",                    // E_NOTICE
-                               16      => "Core Error",                // E_CORE_ERROR
-                               32      => "Core Warning",              // E_CORE_WARNING
-                               64      => "Compile Error",     // E_COMPILE_ERROR
-                               128 => "Compile Warning",       // E_COMPILE_WARNING
-                               256 => "User Error",            // E_USER_ERROR
-                               512 => "User Warning",          // E_USER_WARMING
-                               1024=> "User Notice"            // E_USER_NOTICE
-                               );
-       
-       if (!empty($debug)) {
-               printf("%s: %s (%d)\n", $err_type[$err_no], $err_msg, $linenum);
-       }
-       else {
-               printf("ERR: %s\n",$err_type[$err_no]);
-       }
-}
-
-set_error_handler('test_error_handler');
-
-
-// Var def for testing
-$t_ary = array(
-               's1' => 'ÆüËܸìEUC-JP¤Îʸ»úÎó',
-               's2' => 'English Text'
-               );
-
-class tc
-{
-       var $s1 = 'ÆüËܸìEUC-JP¤Îʸ»úÎó';
-       var $s2 = 'English Text';
-
-       function tc() 
-       {
-       }
-}
-
-$t_obj = new tc;
-
-?>
\ No newline at end of file