if ( substr(PHP_OS, 0, 3) == 'WIN' ) {
die('skip no symlinks on Windows');
}
-if ( substr(PHP_OS, 0, 3) == 'MAC' ) {
- die('skip Not valid for MacOS');
-}
// Skip if being run by root (files are always readable, writeable and executable)
$filename = dirname(__FILE__)."/symlink_link_linkinfo_is_link6_check_root.tmp";
--TEST--
Test function getservbyname() by substituting argument 2 with emptyUnsetUndefNull values.
---SKIPIF--
-<?php
-if(PHP_OS == 'Darwin') {
- die("skip.. Mac OS X is fine with NULLs in getservbyname");
-}
-?>
--FILE--
<?php
--TEST--
Test function getservbyname() by substituting argument 2 with boolean values.
---SKIPIF--
-<?php
-if(PHP_OS == 'Darwin') {
- die("skip.. Mac OS X is fine with NULLs in getservbyname");
-}
-?>
--FILE--
<?php
--SKIPIF--
<?php
if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
-?>
-if ( strtoupper( substr(PHP_OS, 0, 3) ) == 'MAC' ) {
+
+if (PHP_OS_FAMILY === 'Darwin') {
die('skip Do not run on MacOS');
}
+?>
--INI--
precision=14
--FILE--
Test ceil() - basic function test for ceil()
--INI--
precision=14
---SKIPIF--
-if (strtolower(PHP_OS) == 'darwin') {
- die('SKIP OSX does weird things with -0 so this test doesn't work there');
-}
--FILE--
<?php
/* Prototype : float ceil ( float $value )
time_nanosleep — Delay for a number of seconds and nanoseconds
--SKIPIF--
<?php
-if (strpos(strtoupper(PHP_OS), 'WIN') !== false) die("skip Test is not valid for Windows");
if (!function_exists('time_nanosleep')) die("skip");
?>
--CREDITS--