Commit:    4bad49e3bcb8851b6bdf7ce8e8405a12d0eec6d0
Author:    Anatol Belski <a...@php.net>         Mon, 19 Aug 2013 11:17:13 +0200
Parents:   cf96aa155ec5e9fbee7af339ca7d4dd98c2086a4
Branches:  PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=4bad49e3bcb8851b6bdf7ce8e8405a12d0eec6d0

Log:
added new glob() test

Changed paths:
  A  ext/standard/tests/file/glob_variation3.phpt


Diff:
diff --git a/ext/standard/tests/file/glob_variation3.phpt 
b/ext/standard/tests/file/glob_variation3.phpt
new file mode 100644
index 0000000..9e1e28b
--- /dev/null
+++ b/ext/standard/tests/file/glob_variation3.phpt
@@ -0,0 +1,19 @@
+--TEST--
+Test glob() function: ensure no platform difference
+--FILE--
+<?php
+$path = dirname(__FILE__);
+
+ini_set('open_basedir', NULL);
+var_dump(glob("$path/*.none"));
+
+ini_set('open_basedir', $path);
+var_dump(glob("$path/*.none"));
+
+?>
+==DONE==
+--EXPECT--
+array(0) {
+}
+bool(false)
+==DONE==


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to