From: jorgen at webstores dot nl
Operating system: Windows XP
PHP version: 4.3.2RC1
PHP Bug Type: Unknown/Other Function
Bug description: Using a string as an Array parameter
<?php
$var = 'ABC';
echo ($var[0]); // Displays 'A'
echo ($var[1]); // Displays 'B'
echo ($var[2]); // Displays 'C'
echo join(" ", $var); // Wont work
?>
Do you get my point? One can call a 'string' variable as an Array, but one
can not use that same 'string' as an Array parameter. Seems a little bit
odd to me...
Because I want to display: 'ABC' as 'A B C', would this be very handy.
Kind regards,
Jorgen Horstink
--
Edit bug report at http://bugs.php.net/?id=22892&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22892&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22892&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22892&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22892&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22892&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22892&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22892&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22892&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22892&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22892&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22892&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22892&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22892&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22892&r=gnused