diff options
Diffstat (limited to 'ext/iconv/tests/iconv_strlen_variation1.phpt')
-rw-r--r-- | ext/iconv/tests/iconv_strlen_variation1.phpt | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ext/iconv/tests/iconv_strlen_variation1.phpt b/ext/iconv/tests/iconv_strlen_variation1.phpt index e3e25aa0dc..d6edf5b86d 100644 --- a/ext/iconv/tests/iconv_strlen_variation1.phpt +++ b/ext/iconv/tests/iconv_strlen_variation1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strlen') or die("skip iconv_strlen() is not available in --FILE-- <?php /* Prototype : int iconv_strlen(string str [, string charset]) - * Description: Get character numbers of a string + * Description: Get character numbers of a string * Source code: ext/iconv/iconv.c */ @@ -45,14 +45,14 @@ $fp = fopen(__FILE__, "r"); $inputs = array( // int data -/*1*/ +/*1*/ 'int 0' => 0, 'int 1' => 1, 'int 12345' => 12345, 'int -12345' => -12345, // float data -/*5*/ +/*5*/ 'float 10.5' => 10.5, 'float -10.5' => -10.5, 'float 12.3456789000e10' => 12.3456789000e10, @@ -60,39 +60,39 @@ $inputs = array( 'float .5' => .5, // null data -/*10*/ +/*10*/ 'uppercase NULL' => NULL, 'lowercase null' => null, - + // boolean data -/*12*/ +/*12*/ 'lowercase true' => true, 'lowercase false' =>false, 'uppercase TRUE' =>TRUE, 'uppercase FALSE' =>FALSE, - + // empty data -/*16*/ +/*16*/ 'empty string DQ' => "", 'empty string SQ' => '', - + // string data -/*18*/ +/*18*/ 'string DQ' => "string", 'string SQ' => 'string', 'mixed case string' => "sTrInG", 'heredoc' => $heredoc, - + // object data -/*21*/ +/*21*/ 'instance of class' => new classA(), - + // undefined data -/*22*/ +/*22*/ 'undefined var' => @$undefined_var, // unset data -/*23*/ +/*23*/ 'unset var' => @$unset_var, // resource variable |