php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #27885 reference in this form ( )->
Submitted: 2004-04-06 07:14 UTC Modified: 2004-04-06 09:17 UTC
From: fbn79 at libero dot it Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.0.0RC1 OS: winxp pro
Private report: No CVE-ID: None
 [2004-04-06 07:14 UTC] fbn79 at libero dot it
Description:
------------
Hi.

echo $album->foto( $album->getprincipal() )->getlabelz();

this code works ok...

but if i put () in this way

echo ( $album->foto( $album->getprincipal() ) )->getlabelz();

I think it's must be right even in second way....



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-04-06 09:17 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Nope, that\'s not supposed to work.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC