Revision 20116,
353 bytes
checked in by nanasess, 13 years ago
(diff) |
- svn properties を再設定
- 再設定用のスクリプト追加
|
-
Property svn:eol-style set to
LF
-
Property svn:keywords set to
Id
|
Line | |
---|
1 | --TEST-- |
---|
2 | Function -- str_shuffle |
---|
3 | --SKIPIF-- |
---|
4 | <?php if (function_exists('str_shuffle')) { echo 'skip'; } ?> |
---|
5 | --FILE-- |
---|
6 | <?php |
---|
7 | require_once 'PHP/Compat.php'; |
---|
8 | PHP_Compat::loadFunction('str_shuffle'); |
---|
9 | |
---|
10 | $string = str_shuffle('ab'); |
---|
11 | if ($string == 'ab' || |
---|
12 | $string == 'ba' || |
---|
13 | $string == 'aa' || |
---|
14 | $string == 'bb') { |
---|
15 | |
---|
16 | echo "true"; |
---|
17 | } |
---|
18 | ?> |
---|
19 | --EXPECT-- |
---|
20 | true |
---|
Note: See
TracBrowser
for help on using the repository browser.