Issues

ZF2-130: preg_match() expects parameter 2 to be string, array given in ZendFramework/library/Zend/Validator/EmailAddress.php on line 315

Issue Type: Bug Created: 2012-01-06T09:53:15.000+0000 Last Updated: 2012-02-24T12:09:09.000+0000 Status: Resolved Fix version(s): Reporter: atul atri (atul@nimbuzz.com) Assignee: Adam Lundrigan (adamlundrigan) Tags: - Zend\Validator

Related issues: Attachments:

Description

If we enable mxRecord checking for email address this error occurs.

Comments

Posted by Adam Lundrigan (adamlundrigan) on 2012-02-23T15:44:34.000+0000

Could you please provide some sample code which reproduces your issue? The Zend\Validate\EmailAddress component contains some unit tests which test the MX record-checking functionality, and they pass when I run against master:

<pre class="highlight">
[webadmin@spiral tests]$ phpunit --filter MX Zend/Validator/EmailAddressTest
PHPUnit 3.6.7 by Sebastian Bergmann.
Time: 0 seconds, Memory: 6.75Mb
OK (2 tests, 10 assertions)

Posted by atul atri (atul@nimbuzz.com) on 2012-02-24T07:02:49.000+0000

Seems like it is fixed on Jan 06, 2012 by cgdangelo :)

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts