summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_times_basic.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/tests/posix_times_basic.phpt')
-rw-r--r--ext/posix/tests/posix_times_basic.phpt24
1 files changed, 12 insertions, 12 deletions
diff --git a/ext/posix/tests/posix_times_basic.phpt b/ext/posix/tests/posix_times_basic.phpt
index 5da6434b14..ad37834fd9 100644
--- a/ext/posix/tests/posix_times_basic.phpt
+++ b/ext/posix/tests/posix_times_basic.phpt
@@ -1,23 +1,23 @@
--TEST--
-Test posix_times() function : basic functionality
+Test posix_times() function : basic functionality
--SKIPIF--
-<?php
- if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+<?php
+ if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
?>
--FILE--
-<?php
- echo "Basic test of POSIX times function\n";
-
+<?php
+ echo "Basic test of POSIX times function\n";
+
$times = posix_times();
-
- var_dump($times);
-
-
+
+ var_dump($times);
+
+
if ($times == FALSE) {
$errno= posix_get_last_error();
- var_dump(posix_strerror($errno));
+ var_dump(posix_strerror($errno));
}
-
+
?>
===DONE====
--EXPECTF--