Technically if you're receiving warnings and notices, your code is not working fine. It's kind of like a car in that case - it may be driving, but if the check engine light is on, it is not working fine, and something needs to be checked out/fixed to ensure optimal operation
That having been said, you can try adding this to the PHP files causing the warnings/notices to appear in your error_logs:
Code:
// Turn off all error reporting
error_reporting(0);
A bit of advise on this however. I would strongly recommend actually fixing the warning/notice instead; PHP has a habit of sometimes changing the way specific functions operate when a later version comes out, and in some cases they actually remove Deprecated functions entirely. A warning now could turn into a full-stop error later if the function is updated during a PHP update.
If you do opt to put the error_reporting(0) in your code, write down or save somewhere what files you did this with - it will hide all errors, including ones that cause the PHP script to stop execution altogether. If a function is changed as mentioned above, you won't see the error until you remove or comment-out the error_reporting line.
See
http://php.net/manual/en/function.error-reporting.php for more details; I'm not good with PHP but I think there's a way to have it only show the errors that are actually preventing execution, but all I know personally is how to shut them off entirely (which I don't recommend).