Req #14640 [Com]: Support "{@$foo}" and "{@$foo['bar']}" syntax

From: Date: Wed, 09 Feb 2022 13:16:12 +0000
Subject: Req #14640 [Com]: Support "{@$foo}" and "{@$foo['bar']}" syntax
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239579@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=14640&edit=1 ID: 14640 Comment by: linajulie09 at gmail dot com Reported by: mfischer at guru dot josefine dot at Summary: Support "{@$foo}" and "{@$foo['bar']}" syntax Status: Wont fix Type: Feature/Change Request Package: Scripting Engine problem Operating System: Any PHP Version: 4.1.0 Block user comment: N Private report: N New Comment: Amazing code info. You can find and book cheap flights tickets and best holiday packages here: https://dreamworldtravel.co.uk Previous Comments: ------------------------------------------------------------------------ [2022-01-29 12:40:36] dsnou849 at gmail dot com Thanks for the post, I'll try to sort this out later when I've handed in all my essays and dissertations because my study is starting to piss me off. I will most likely seek help from uk coursework help https://www.essaygeeks.co.uk/coursework/ who will help me with my written work, I want to quickly deal with this problem ------------------------------------------------------------------------ [2012-05-24 02:01:26] lijingyan922 at gmail dot com Your blog is very informative and useful. You have written it very well. I have bookmarked your blog. Your blog written in very good, I like it very much, I will often come to.Thank you to let me see your blog, I love you blog style, very cool.Your blog too good, I will soon come back again, to keep at it.Your website is very beautiful, you do something great!!Your essay is good, I like it very much. Excellent Blog! I really admire your thinking and the way you have put these information in this post. ------------------------------------------------------------------------ [2010-12-29 11:59:44] jani@php.net Hell no, rather get rid of @ altogether. ------------------------------------------------------------------------ [2003-08-11 16:10:48] destes at ix dot netcom dot com what sorts of errors aren't being suppressed now? If the variable doesn't exist, nothing is output, and in a function context, FALSE is returned. I don't see the need... perhaps you could explain it? ------------------------------------------------------------------------ [2001-12-21 08:21:43] mfischer at guru dot josefine dot at $ php -q <? error_reporting(E_ALL); echo "{@$array['key']}"; ?> <br /> <b>Parse error</b>: parse error, expecting T_STRING' or T_VARIABLE' or `T_NUM_STRING' in <b>-</b> on line <b>2</b><br /> -(2) : Parse error - parse error, expecting T_STRING' or T_VARIABLE' or `T_NUM_STRING' $ php -q <? error_reporting(E_ALL); echo "{@$foo}\n"; ?> <br /> <b>Warning</b>: Undefined variable: foo in <b>-</b> on line <b>2</b><br /> -(2) : Warning - Undefined variable: foo {@} Would be nice to support the @ operator in those cases too. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=14640&edit=1

« previous php.bugs (#239579) next »