Disable errors in PHP

Posted by spacemonkey on Stack Overflow See other posts from Stack Overflow or by spacemonkey
Published on 2009-11-05T16:14:35Z Indexed on 2010/05/09 21:18 UTC
Read the original article Hit count: 141

Filed under:
|

How to disable errors just for particular php function, and in the same time to know that the error occurred? For instance, I use a php function parse_url, to parse an array of urls, sometimes it returns an error, what I want to do is to parse next url once error occurs, and not to show it(error) on the screen.

© Stack Overflow or respective owner

Related posts about php

Related posts about error-handling