diff options
author | valmat <ufabiz@gmail.com> | 2014-04-14 16:46:18 +0600 |
---|---|---|
committer | valmat <ufabiz@gmail.com> | 2014-04-14 16:46:18 +0600 |
commit | 2d2d03270beebdddd0f6be972a7c80b397ebe896 (patch) | |
tree | 34508a6775d2caffdb97b10ebf6b774a71db7172 /tests/php/phpt/variables/011-value-casting-operators.phpt | |
parent | 6b5506dfe7b0f5ac9ce923c1d9cdd2ebc4c72a7c (diff) |
fixed for 32-bit architecture OS
Diffstat (limited to 'tests/php/phpt/variables/011-value-casting-operators.phpt')
-rw-r--r-- | tests/php/phpt/variables/011-value-casting-operators.phpt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/php/phpt/variables/011-value-casting-operators.phpt b/tests/php/phpt/variables/011-value-casting-operators.phpt index 3fe6817..27e92c7 100644 --- a/tests/php/phpt/variables/011-value-casting-operators.phpt +++ b/tests/php/phpt/variables/011-value-casting-operators.phpt @@ -1,13 +1,15 @@ --TEST-- -Test Php::Value casting operators +Test Php::Value casting operators (64bit OS only) --DESCRIPTION-- The Php::Value class has casting operators to cast the object to almost every thinkable native type. native_value_casting - repeats the behavior of c++ functions TestVariables\value_casting the output of each of these functions should be the same +Skip if the current OS is not 64-bit architecture. + --SKIPIF-- -<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?> +<?php if (!extension_loaded("extension_for_tests") || 'x86_64' != php_uname('m') ) print "skip"; ?> --FILEEOF-- <?php @@ -148,5 +150,4 @@ Test 83: Test 26: long:26 string:26 - bool:Yes - + bool:Yes
\ No newline at end of file |