Le jeudi 15 octobre 2009 à 11:08 +0200, Lukas Kahwe Smith a écrit : > On 13.10.2009, at 10:34, Samuel ROZE wrote: > > > http://wiki.php.net/rfc/pdonotices > > > I assume that calling noticeInfo() will also purge all currently > stored notices (maybe controllable via some parameter)?
If purge all notices, without parameter, like errorInfo. > For MySQL we would have to throw an error/exception in case there is a > result set open on the same connection. Is it really impossible to query Database if there is another result set opened ? If there's a result set opened seems that there's another query in the same time with the same code ? Is it possible ? I don't think so... > I still believe that it makes sense to add this functionality. > Without it we would have to add database specific solutions for > various drivers. PostgreSQL being the obvious one, but even for MySQL > it would make sense to then at least expose the warning count etc. I still believe into it too ! I'll work about if I've more replies about the RFC. I have got any other replies... Samuel. > regards, > Lukas Kahwe Smith > [email protected] > > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
