ZF-3723: B.4.6.1. elseif/else-if: example use discouraged form

Issue Type: Docs: Improvement Created: 2008-07-23T07:50:28.000+0000 Last Updated: 2009-03-09T11:03:41.000+0000 Status: Resolved Fix version(s): Reporter: Qwerty Qwerty (pavel.zubkou) Assignee: Wil Sinclair (wil) Tags: Related issues: Attachments:


Now example in section B.4.6.1 use elseif form, but text says that "elseif" strongly discouraged in favor of the "else if" combination.


Posted by Wil Sinclair (wil) on 2008-11-25T16:08:44.000+0000

Where did you see that elseif is discouraged? It doesn't appear in our coding standards. Please reopen with more details if I'm missing something.

Posted by Michael Kliewe (mkliewe) on 2009-03-09T11:03:40.000+0000

I think it is the last sentence here: B.4.6.1. If/Else/Elseif

Use of the "elseif" construct is permitted but strongly discouraged in favor of the "else if" combination."

Have you found an issue?

See the Overview section for more details.


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

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