title: php-cli on IBMi error/notice reporting
body: <p>We have developed a PHP script to build PDF's and send emails which then get called from an RPG program using <code>QP2SHELL</code>.  For our developer users the errors go to the standard PHP error log, but for our customer's users it's printing on their default printer.  Our developer profiles use <code>*WRKSTN</code> as the printer, and of course the users have an actual printer device.  Is there a way to prevent this from printing through either RPG or PHP?  We are comfortable with suppressing all logs because we have our own logging methods in place.  I have tried in PHP setting <code>error_reporting(0);</code> which seemed to have no effect.</p>