]> granicus.if.org Git - php/commitdiff
Fixing 32 bit specific
authorZoe Slattery <zoe@php.net>
Wed, 6 Feb 2008 09:28:01 +0000 (09:28 +0000)
committerZoe Slattery <zoe@php.net>
Wed, 6 Feb 2008 09:28:01 +0000 (09:28 +0000)
ext/standard/tests/math/hexdec_basic.phpt
ext/standard/tests/math/octdec_basic.phpt

index d1da7371415b778ab457cf5804bf23eac1195e0b..1c42ae7e406eee8de281078761751330ed31b5f7 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Test hexdec() - basic function test hexdec()
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
+?>
 --FILE--
 <?php
 $values = array(0x123abc,
index 5412bd8bab3f6d110645e1c78d6b8b42298f3e55..8fd57ecfef7d9e18c2aef2310a06f04bf0ac5510 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Test octdec() - basic function test octdec()
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
+?>
 --FILE--
 <?php
 $values = array(01234567,