php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #4884 array merging(concat) with +
Submitted: 2000-06-08 01:22 UTC Modified: 2001-08-28 04:27 UTC
From: waldschrott at kiffen dot de Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.0.0 Release OS: all
Private report: No CVE-ID: None
 [2000-06-08 01:22 UTC] waldschrott at kiffen dot de
if one array is not initialized eg. $array+=error_returning_func();
I think $array should be converted to $array=array() automatically if the other one is initialized...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-28 04:27 UTC] sander@php.net
Why not use $array[]=error_returning_func(); ????

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 28 17:01:31 2024 UTC