php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11246 hw_incollections() misbehaving
Submitted: 2001-06-01 18:58 UTC Modified: 2007-04-04 20:10 UTC
From: torben@php.net Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.0 Latest CVS (2001-06-01) OS: Linux 2.2.14/Mandrake 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: torben@php.net
New email:
PHP Version: OS:

 

 [2001-06-01 18:58 UTC] torben@php.net
Using 1 for the last parameter to hw_incollections() simply results in the entire array given as the 
collection_ids parameter being returned, regardless of what the actual object/collection relationships
may be. Using 0 as the last parameter works as expected.


$arr = hw_incollections($hw_link, array(25, 169, 189), array(148, 218), 1);
print_r($arr);

$arr = hw_incollections($hw_link, array(0), array(148, 218), 1);
print_r($arr);

$arr = hw_incollections($hw_link, array(25, 169, 189), array(148, 218, 88495), 1);
print_r($arr);

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-25 09:07 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately your version of PHP is too old -- the problem
might already be fixed. Please download a new PHP
version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 16:01:29 2024 UTC