php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2894 bug with each()
Submitted: 1999-12-02 16:15 UTC Modified: 2000-02-12 17:58 UTC
From: vvtk at stealthcomp dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Latest CVS (02/12/1999) OS: RedHat 6.0
Private report: No CVE-ID: None
 [1999-12-02 16:15 UTC] vvtk at stealthcomp dot com
example script:

<?
class Test{
function one(){
...
}
}

$TEST=new Test();
?>

when I write follow construction
$val=each($TEST->one());
then result document contain no data (size=0)





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-12 17:58 UTC] andi at cvs dot php dot net
This should be fixed in the latest CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 19:01:34 2024 UTC