]> granicus.if.org Git - php/commitdiff
Fixing tests for head and wrong SKIPIF blocks
authorRafael Machado Dohms <rdohms@php.net>
Tue, 29 Sep 2009 14:34:06 +0000 (14:34 +0000)
committerRafael Machado Dohms <rdohms@php.net>
Tue, 29 Sep 2009 14:34:06 +0000 (14:34 +0000)
ext/standard/tests/general_functions/bug49692.phpt

index 418b0e9d036c5f45cbfe05c3b17f1f25b319497a..dbe7c38602732529107ee244492ddb80015b5a05 100644 (file)
@@ -2,10 +2,6 @@
 Bug #49692: parse_ini_file() throws errors when key contains '/' (forward slash)
 --CREDITS--
 Rafael Dohms <rdohms [at] gmail [dot] com>
---SKIPIF--
-<?php 
-       if (!extension_loaded("gd")) die("skip GD not present");
-?>
 --FILE--
 <?php
 
@@ -14,11 +10,11 @@ var_dump(parse_ini_file('bug49692.ini', true));
 ?>
 --EXPECTF--
 array(1) {
-  ["sitemap"]=>
+  [u"sitemap"]=>
   array(2) {
-    ["/home"]=>
-    string(13) "default:index"
-    ["/info"]=>
-    string(12) "default:info"
+    [u"/home"]=>
+    unicode(13) "default:index"
+    [u"/info"]=>
+    unicode(12) "default:info"
   }
 }