svn: /php/php-src/trunk/ext/standard/tests/general_functions/ bug47859.phpt
| From: | Jani Taskinen | Date: | Tue, 04 Aug 2009 02:24:47 +0000 |
| Subject: | svn: /php/php-src/trunk/ext/standard/tests/general_functions/ bug47859.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60004@lists.php.net to get a copy of this message | ||
jani Tue, 04 Aug 2009 02:24:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=286777
Log:
- fix test
Changed paths:
U php/php-src/trunk/ext/standard/tests/general_functions/bug47859.phpt
Modified: php/php-src/trunk/ext/standard/tests/general_functions/bug47859.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/general_functions/bug47859.phpt 2009-08-04 02:17:33 UTC
(rev 286776)
+++ php/php-src/trunk/ext/standard/tests/general_functions/bug47859.phpt 2009-08-04 02:24:47 UTC
(rev 286777)
@@ -1,5 +1,5 @@
--TEST--
-Bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning
+Bug #47859 (parse_ini_file() does not like asterisk (*) in key in the beginning)
--FILE--
<?php
var_dump(parse_ini_string('*key = "*value"'));
@@ -13,30 +13,30 @@
?>
--EXPECT--
array(1) {
- ["*key"]=>
- string(6) "*value"
+ [u"*key"]=>
+ unicode(6) "*value"
}
array(1) {
- ["-key"]=>
- string(6) "-value"
+ [u"-key"]=>
+ unicode(6) "-value"
}
array(1) {
- ["_key"]=>
- string(6) "_value"
+ [u"_key"]=>
+ unicode(6) "_value"
}
array(1) {
- ["key*"]=>
- string(6) "value*"
+ [u"key*"]=>
+ unicode(6) "value*"
}
array(1) {
- ["key.*.*"]=>
- string(9) "value.*.*"
+ [u"key.*.*"]=>
+ unicode(9) "value.*.*"
}
array(1) {
- ["*.*.key"]=>
- string(9) "*.*.value"
+ [u"*.*.key"]=>
+ unicode(9) "*.*.value"
}
array(1) {
- ["k*e*y"]=>
- string(7) "v*a*lue"
+ [u"k*e*y"]=>
+ unicode(7) "v*a*lue"
}