As far as I know you can limit SMTP outgoing mails, but you cannot limit mails sent out by php mail function. What you can do to restrict to send out from scripts emails which use mail function and allow only SMTP.
So this means that with PHP you can send out limited number of mails (limited by you or server admin) through SMTP. If is not SMTP you cannot limit.