cvs: php4(PHP_4_2_0) /ext/mbstring/tests 002.inc 003.inc 004.inc 005.inc 006.inc 008.inc 009.inc 010.inc 011.inc 012.inc 013.inc 014.inc 015.inc
016.inc 017.inc 018.inc 019.inc common.inc common.php

From: Date: Sun, 14 Jul 2002 00:22:52 +0000
Subject: cvs: php4(PHP_4_2_0) /ext/mbstring/tests 002.inc 003.inc 004.inc 005.inc 006.inc 008.inc 009.inc 010.inc 011.inc 012.inc 013.inc 014.inc 015.inc
016.inc 017.inc 018.inc 019.inc common.inc common.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-12825@lists.php.net to get a copy of this message
sniper Sat Jul 13 20:22:52 2002 EDT Added files: (Branch: PHP_4_2_0) /php4/ext/mbstring/tests common.inc Removed files: /php4/ext/mbstring/tests common.php Modified files: /php4/ext/mbstring/tests 002.inc 003.inc 004.inc 005.inc 006.inc 008.inc 009.inc 010.inc 011.inc 012.inc 013.inc 014.inc 015.inc 016.inc 017.inc 018.inc 019.inc Log: .php files are in .cvsignore here

Index: php4/ext/mbstring/tests/002.inc diff -u php4/ext/mbstring/tests/002.inc:1.1 php4/ext/mbstring/tests/002.inc:1.1.2.1 --- php4/ext/mbstring/tests/002.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/002.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/003.inc diff -u php4/ext/mbstring/tests/003.inc:1.1.2.1 php4/ext/mbstring/tests/003.inc:1.1.2.2 --- php4/ext/mbstring/tests/003.inc:1.1.2.1 Fri Mar 22 20:12:29 2002 +++ php4/ext/mbstring/tests/003.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/004.inc diff -u php4/ext/mbstring/tests/004.inc:1.1 php4/ext/mbstring/tests/004.inc:1.1.2.1 --- php4/ext/mbstring/tests/004.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/004.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/005.inc diff -u php4/ext/mbstring/tests/005.inc:1.1.2.1 php4/ext/mbstring/tests/005.inc:1.1.2.2 --- php4/ext/mbstring/tests/005.inc:1.1.2.1 Sat Mar 16 02:13:14 2002 +++ php4/ext/mbstring/tests/005.inc Sat Jul 13 20:22:52 2002 @@ -1,7 +1,7 @@ <?php //$debug = true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Set order to "auto" Index: php4/ext/mbstring/tests/006.inc diff -u php4/ext/mbstring/tests/006.inc:1.1.2.1 php4/ext/mbstring/tests/006.inc:1.1.2.2 --- php4/ext/mbstring/tests/006.inc:1.1.2.1 Sat Mar 16 02:13:14 2002 +++ php4/ext/mbstring/tests/006.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/008.inc diff -u php4/ext/mbstring/tests/008.inc:1.1 php4/ext/mbstring/tests/008.inc:1.1.2.1 --- php4/ext/mbstring/tests/008.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/008.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/009.inc diff -u php4/ext/mbstring/tests/009.inc:1.1.2.1 php4/ext/mbstring/tests/009.inc:1.1.2.2 --- php4/ext/mbstring/tests/009.inc:1.1.2.1 Sat Mar 16 02:13:14 2002 +++ php4/ext/mbstring/tests/009.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/010.inc diff -u php4/ext/mbstring/tests/010.inc:1.1.2.1 php4/ext/mbstring/tests/010.inc:1.1.2.2 --- php4/ext/mbstring/tests/010.inc:1.1.2.1 Sat Mar 16 02:13:14 2002 +++ php4/ext/mbstring/tests/010.inc Sat Jul 13 20:22:52 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Test string Index: php4/ext/mbstring/tests/011.inc diff -u php4/ext/mbstring/tests/011.inc:1.1 php4/ext/mbstring/tests/011.inc:1.1.2.1 --- php4/ext/mbstring/tests/011.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/011.inc Sat Jul 13 20:22:52 2002 @@ -3,7 +3,7 @@ //$debug=true; ini_set('include_path','.'); -include_once('common.php'); +include_once('common.inc'); // Test string Index: php4/ext/mbstring/tests/012.inc diff -u php4/ext/mbstring/tests/012.inc:1.1 php4/ext/mbstring/tests/012.inc:1.1.2.1 --- php4/ext/mbstring/tests/012.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/012.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/013.inc diff -u php4/ext/mbstring/tests/013.inc:1.1 php4/ext/mbstring/tests/013.inc:1.1.2.1 --- php4/ext/mbstring/tests/013.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/013.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/014.inc diff -u php4/ext/mbstring/tests/014.inc:1.1.2.1 php4/ext/mbstring/tests/014.inc:1.1.2.2 --- php4/ext/mbstring/tests/014.inc:1.1.2.1 Sat Mar 16 02:13:14 2002 +++ php4/ext/mbstring/tests/014.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/015.inc diff -u php4/ext/mbstring/tests/015.inc:1.1 php4/ext/mbstring/tests/015.inc:1.1.2.1 --- php4/ext/mbstring/tests/015.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/015.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/016.inc diff -u php4/ext/mbstring/tests/016.inc:1.1.2.1 php4/ext/mbstring/tests/016.inc:1.1.2.2 --- php4/ext/mbstring/tests/016.inc:1.1.2.1 Sat Mar 16 02:13:14 2002 +++ php4/ext/mbstring/tests/016.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/017.inc diff -u php4/ext/mbstring/tests/017.inc:1.1 php4/ext/mbstring/tests/017.inc:1.1.2.1 --- php4/ext/mbstring/tests/017.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/017.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/018.inc diff -u php4/ext/mbstring/tests/018.inc:1.1 php4/ext/mbstring/tests/018.inc:1.1.2.1 --- php4/ext/mbstring/tests/018.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/018.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/019.inc diff -u php4/ext/mbstring/tests/019.inc:1.1 php4/ext/mbstring/tests/019.inc:1.1.2.1 --- php4/ext/mbstring/tests/019.inc:1.1 Sat Mar 2 05:44:57 2002 +++ php4/ext/mbstring/tests/019.inc Sat Jul 13 20:22:52 2002 @@ -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: php4/ext/mbstring/tests/common.inc +++ php4/ext/mbstring/tests/common.inc <?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; ?>
« previous php.cvs (#12825) next »