summaryrefslogtreecommitdiff
path: root/tests/php/phpt/variables/011-value-casting-operators.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/php/phpt/variables/011-value-casting-operators.phpt')
-rw-r--r--tests/php/phpt/variables/011-value-casting-operators.phpt9
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