\r
--SKIPIF--\r
<?php\r
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
+ die('skip windows only test');\r
+}\r
$cmd = "mklink.exe /?";\r
$ret = @exec($cmd, $output, $return_val);\r
if (count($output) == 0) {\r
die("mklink.exe not found in PATH");\r
}\r
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
- die('skip windows only test');\r
-}\r
?>\r
--FILE--\r
<?php\r
bool(true)\r
bool(true)\r
bool(true)\r
-bool(true)
\ No newline at end of file
+bool(true)
\r
--SKIPIF--\r
<?php\r
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
+ die('skip windows only test');\r
+}\r
$cmd = "mklink.exe /?";\r
$ret = @exec($cmd, $output, $return_val);\r
if (count($output) == 0) {\r
die("mklink.exe not found in PATH");\r
}\r
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
- die('skip windows only test');\r
-}\r
?>\r
--FILE--\r
<?php\r
I am included.\r
bool(true)\r
bool(true)\r
-bool(true)
\ No newline at end of file
+bool(true)
\r
--SKIPIF--\r
<?php\r
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
+ die('skip windows only test');\r
+}\r
$cmd = "mklink.exe /?";\r
$ret = @exec($cmd, $output, $return_val);\r
if (count($output) == 0) {\r
die("mklink.exe not found in PATH");\r
}\r
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
- die('skip windows only test');\r
-}\r
?>\r
--FILE--\r
<?php\r
[1] => ..\r
[2] => a.php\r
[3] => b.php\r
-)
\ No newline at end of file
+)
\r
--SKIPIF--\r
<?php\r
+if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
+ die('skip windows only test');\r
+}\r
$cmd = "junction.exe /?";\r
$ret = @exec($cmd, $output, $return_val);\r
if (count($output) == 0) {\r
die("junction.exe not found in PATH");\r
}\r
-if(substr(PHP_OS, 0, 3) != 'WIN' ) {\r
- die('skip windows only test');\r
-}\r
?>\r
--FILE--\r
<?php\r
[1] => ..\r
[2] => a.php\r
[3] => b.php\r
-)
\ No newline at end of file
+)