--TEST--
bcscale related problem on 64bits platforms
--SKIPIF--
-<?php if(!extension_loaded("bcmath")) print "skip"; ?>
+<?php if(!extension_loaded("bcmath")) die("skip");
+if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
--FILE--
<?php
$var48 = bcscale(634314234334311);
--TEST--\r
Test curl_version() function : usage variations - test values for $ascii argument\r
--SKIPIF--\r
-<?php if (!extension_loaded("curl")) exit("skip curl extension not loaded"); ?>\r
+<?php if (!extension_loaded("curl")) exit("skip curl extension not loaded");\r
+if (PHP_INT_SIZE != 8) die('skip 64-bit only'); ?>\r
--FILE--\r
<?php\r
\r
--TEST--
Test exif_tagname() function : usage variations - different types for index argument
--SKIPIF--
-<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
+<?php if (!extension_loaded('exif')) print 'skip exif extension not available';
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
+?>
--FILE--
<?php
if(!function_exists('imagecreatetruecolor')) {
die('skip imagecreatetruecolor function is not available');
}
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
if(!function_exists('imagecreatetruecolor')) {
die('skip imagecreatetruecolor function is not available');
}
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
Warning: imagecolorallocate() expects parameter 4 to be long, resource given in %s on line %d
NULL
-===DONE===
\ No newline at end of file
+===DONE===
--TEST--
Bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values)
--SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+<?php if( !extension_loaded( 'intl' ) ) die('skip');
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
+?>
--FILE--
<?php
--TEST--
grapheme() str[i]pos limits
--SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+<?php if( !extension_loaded( 'intl' ) ) die('skip');
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
+?>
--FILE--
<?php
var_dump(grapheme_stripos(1,1,2147483648));
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip'; ?>
+<?php if (PHP_INT_SIZE != 8) die('skip 64-bit only'); ?>
--FILE--
<?php
--TEST--
datefmt_get_locale_code()
--SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+<?php if( !extension_loaded( 'intl' ) ) die('skip');
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
+?>
--FILE--
<?php
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
<?php if(version_compare(INTL_ICU_VERSION, '4.8') < 0) print 'skip'; ?>
+<?php if (PHP_INT_SIZE != 8) die('skip 64-bit only'); ?>
--FILE--
<?php
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_encode_mimeheader') or die("skip mb_encode_mimeheader() is not available in this build");
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_split') or die("skip mb_split() is not available in this build");
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
Warning: mb_split() expects parameter 3 to be long, resource given in %s on line %d
bool(false)
-Done
\ No newline at end of file
+Done
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_stripos') or die("skip mb_stripos() is not available in this build");
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_strpos') or die("skip mb_strpos() is not available in this build");
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
<?php
extension_loaded('mbstring') or die('skip');
function_exists('mb_strripos') or die("skip mb_strripos() is not available in this build");
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
--SKIPIF--
<?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
string(39) "and I know that it descends down on me
"
}
-===DONE===
\ No newline at end of file
+===DONE===
<?php
if (!extension_loaded("zlib")) {
print "skip - zlib extension not loaded";
-}
+}
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
--SKIPIF--
<?php
if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');
+if (PHP_INT_SIZE != 8) die('skip 64-bit only');
?>
--FILE--
<?php
as it turns around
and I know that it descends down on me
int(176)
-===DONE===
\ No newline at end of file
+===DONE===