#25170 [Opn->Fbk]: Segmentation Fault str_suffle
| From: | derick@php.net | Date: | Wed, 20 Aug 2003 09:43:15 +0000 |
| Subject: | #25170 [Opn->Fbk]: Segmentation Fault str_suffle | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46297@lists.php.net to get a copy of this message | ||
ID: 25170
Updated by: derick@php.net
Reported By: s dot masugata at digicom dot dnp dot co dot jp
-Status: Open
+Status: Feedback
Bug Type: Strings related
Operating System: Solaris 2.6
PHP Version: 4.3.3RC4
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-08-20 04:37:57] s dot masugata at digicom dot dnp dot co dot jp
Description:
------------
Segmentation Fault str_suffle.
http://www.php.net/manual/en/function.str-shuffle.php
FreeBSD 4.8-RELEASE:No problem.
Linux 2.2.14-5.0:No problem.
SunOS 5.6 Generic_105181-23 sun4u :Those with a problem.
Reproduce code:
---------------
<?php
$str = 'abcdef';
$shuffled = str_shuffle($str);
// This will print something like: bfdaec
print $shuffled;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25170&edit=1