Bug #65074 [NEW]: Array to string conversion
From: ayalarcam at gmail dot com
Operating system: All
PHP version: 5.4.16
Package: *General Issues
Bug Type: Bug
Bug description:Array to string conversion
Description:
------------
# Array to string conversion problem, in multiples functions show notice,
(asort,
array_diff, array_diff_assoc, etc.)
Test script:
---------------
$a = [1,2,3,4 => [1,2]];
$b = [1,3];
// show notice
print_r(array_diff($a, $b));
--
Edit bug report at https://bugs.php.net/bug.php?id=65074&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65074&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65074&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65074&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65074&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65074&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65074&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65074&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65074&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65074&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65074&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65074&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65074&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65074&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65074&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65074&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65074&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65074&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65074&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65074&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65074&r=mysqlcfg
Thread (2 messages)
- ayalarcam at gmail dot com