Explanation Needed In PHP - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Explanation Needed In PHP (1086 Views)
| Explanation Needed In PHP by paranorman(op): 5:16pm On Jun 11, 2017 |
//give te script time to execute The code above works just fine because wrote '@' beside the fsockopen() function. Removing the '@' produces error as seen in the screen shots. Why is the @ compulsory? what it actually does? Thanks in anticipation of your replies.
|
| Re: Explanation Needed In PHP by Caustics: 5:19pm On Jun 11, 2017 |
![]() |
| Re: Explanation Needed In PHP by Echatbook: 6:21pm On Jun 11, 2017 |
paranorman:Basically using the @sign will cause all php warnings not to be shown for that particular function.//give te script time to execute |
| Re: Explanation Needed In PHP by nsimageorge(m): 6:48pm On Jun 11, 2017 |
http://php.net/manual/en/language.operators.errorcontrol.php Like Echatbook said, the @silences errors for a function(read the php manual above) If you don't mind me asking what exactly whee you trying to achieve with your function. It would be best to write a bug free code. |
| Re: Explanation Needed In PHP by paranorman(op): 8:09pm On Jun 11, 2017 |
I appreciate your contributions. Thanks |
I Need Online Banking Source Code In PHP, MSQL • Online Banking Source Code In PHP, MSQL • 2 • 3 • 4
Intrested In Being A Tech Cofounder For A Movie Streaming Stratup • Programmer Needed • The New Payment System On Oyerr
