ID: 14585
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Operating System: Windows 2000 SP2
PHP Version: 4.1.0
New Comment:

Let's close it then

Previous Comments:
------------------------------------------------------------------------

[2001-12-19 01:58:21] [EMAIL PROTECTED]

Ooops, poor me, $a = &$b; does not give any warnings. Sorry.

------------------------------------------------------------------------

[2001-12-19 01:48:13] [EMAIL PROTECTED]

Thanks for the quick reply!

> What are you trying to reach with this?
Err... suppress the warning that would otherwise arise ($a = &$b; when 
error_reporting=E_ALL)

> It would be even more nice if it gives a nice E_NOTICE
> message too (@ can't be used on
> reference assignments or something similar).
I thought @ was there to shut up E_NOTICE :D


------------------------------------------------------------------------

[2001-12-18 13:35:51] [EMAIL PROTECTED]

IMO, it should silently ignore any @. Simply saying this is a parse error is a bit 
rude, IMO. 
It would be even more nice if it gives a nice E_NOTICE message too (@ can't be used on 
reference assignments or something similar).

------------------------------------------------------------------------

[2001-12-18 13:11:42] [EMAIL PROTECTED]

What are you trying to reach with this?

------------------------------------------------------------------------

[2001-12-18 13:07:20] [EMAIL PROTECTED]

<?php
$a = @&$b;
?>


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14585&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to