summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_getpgid_variation.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/tests/posix_getpgid_variation.phpt')
-rw-r--r--ext/posix/tests/posix_getpgid_variation.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_getpgid_variation.phpt b/ext/posix/tests/posix_getpgid_variation.phpt
index b9c92b539a..f96bca29a3 100644
--- a/ext/posix/tests/posix_getpgid_variation.phpt
+++ b/ext/posix/tests/posix_getpgid_variation.phpt
@@ -2,6 +2,7 @@
Test posix_getpgid() function : variation
--SKIPIF--
<?php
+PHP_INT_SIZE == 4 or die("skip - 32-bit only");
if((!extension_loaded("posix")) || (!function_exists("posix_getpgid"))) {
print "skip - POSIX extension not loaded or posix_getpgid() does not exist";
}
@@ -95,6 +96,8 @@ Arg value -10.5
valid output
Arg value 101234567000
+
+Warning: posix_getpgid() expects parameter 1 to be long, double given in %s on line %d
valid output
Arg value 1.07654321E-9