Re: @Listing - causing pasre error

From: Date: Tue, 10 Apr 2001 14:13:25 +0000
Subject: Re: @Listing - causing pasre error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48031@lists.php.net to get a copy of this message
> I want to write to a given file using the code below. Somehow I get the > parse error. I thnk it has something to do with --- @Listing ---- > Is this a setting in my php.ini which is wrong or is the code maybe wrong (I > copied it out of a php text book.) What is this @Listing thing supposed to do? The @ character is used to swallow errors/warnings from a function call. The way you are using it is completely invalid. It is documented here: http://www.php.net/manual/en/language.operators.errorcontrol.php -Rasmus

« previous php.general (#48031) next »