Issues

ZF-8307: Zend_Reflection_Doctype_Tag_Param regex does not account for PHP 5.3 style namespaces

Issue Type: Bug Created: 2009-11-15T15:56:37.000+0000 Last Updated: 2009-11-19T13:04:35.000+0000 Status: Resolved Fix version(s): - 1.9.6 (24/Nov/09)

Reporter: Avi Block (blocka) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Reflection

Related issues: Attachments: - patch_zf8307.diff

Description

If I have a param like this

<pre class="highlight"> the regex used:

ignores everything after the backslash I would suggest changing it to:

<pre class="highlight">
#^@(\w+)\s+([\w|\\\]+)(?:\s+(\$\S+))?(?:\s+(.*))?#s

Comments

Posted by Benjamin Eberlei (beberlei) on 2009-11-16T03:44:52.000+0000

Fixed formatting.

Posted by Benjamin Eberlei (beberlei) on 2009-11-18T14:15:32.000+0000

The patch fixues the issue, however i have no write access to svn on this machine so i dump it here for pickup tommorrow.

Posted by Benjamin Eberlei (beberlei) on 2009-11-19T13:04:35.000+0000

fixed in trunk and merged into the 1.9 release branch.

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