note 93558 deleted from language.operators.errorcontrol by danbrown
| From: | danbrown@php.net | Date: | Wed, 16 Sep 2009 15:15:43 +0000 |
| Subject: | note 93558 deleted from language.operators.errorcontrol by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160618@lists.php.net to get a copy of this message | ||
Note Submitter: traynor at gmx dot de
----
How about this:
<?php
$result = @function ($argument);
if (isset ($result))
{
...do this if the function was successful
} else
{
...do something else
}
?>