cvs: php-src(PHP_5_2) /ext/standard/tests/general_functions intval.phpt
| From: | Antony Dovgal | Date: | Sun, 27 May 2007 14:30:07 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard/tests/general_functions intval.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-44486@lists.php.net to get a copy of this message | ||
tony2001 Sun May 27 14:30:07 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard/tests/general_functions intval.phpt
Log:
fix test
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/intval.phpt?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/intval.phpt
diff -u php-src/ext/standard/tests/general_functions/intval.phpt:1.1.2.1
php-src/ext/standard/tests/general_functions/intval.phpt:1.1.2.2
--- php-src/ext/standard/tests/general_functions/intval.phpt:1.1.2.1 Fri May 25 13:44:23 2007
+++ php-src/ext/standard/tests/general_functions/intval.phpt Sun May 27 14:30:06 2007
@@ -1,5 +1,9 @@
--TEST--
-Test intval() function.
+Test intval() function
+--SKIPIF--
+<?php
+if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only");
+?>
--FILE--
<?php
/* Prototype: int intval( mixed $var [.int $base] );