xref: /php-uv/tests/999-uv_cwd.phpt (revision 9a0624ec)
1--TEST--
2Check for uv_cwd
3--FILE--
4<?php
5$cwd = uv_cwd();
6
7$expected = getcwd();
8
9if ($cwd == $expected) {
10  echo "OK" . PHP_EOL;
11} else {
12  echo "FAILED: expected {$expected}, but {$cwd}" . PHP_EOL;
13
14}
15--EXPECT--
16OK