php-src/ext/standard/tests/strings/str_shuffle.phpt

16 lines
250 B
Plaintext
Raw Normal View History

2002-10-09 10:53:27 +00:00
--TEST--
Testing str_shuffle.
--FILE--
<?php
2003-12-22 23:45:53 +00:00
/* Do not change this test it is a README.TESTING example. */
2002-10-09 10:53:27 +00:00
$s = '123';
var_dump(str_shuffle($s));
var_dump($s);
?>
--EXPECTF--
string(3) %s
2006-06-20 19:49:44 +00:00
string(3) "123"
--UEXPECTF--
2006-11-09 01:07:31 +00:00
unicode(3) "%s"
2006-06-20 19:49:44 +00:00
unicode(3) "123"