The Phper of a blog program like WordPress can see a lot of strange PHP syntax, such as: for a part of Phper have not seen what these things are? Are those blogging developers doing their own scripting language for PHP? not also, in fact these are all PHP syntax, but not commonly used, these are PHP Process control alternative syntax. Here is a detailed look at the alternative syntax for PHP process c
alternative syntax is an uncommon and sometimes important concept in PHP programming.
Many friends have this question: what does the colon and endif after else mean? Google a bit to understand that this is the PHP alternative syntax.
where the colon (:) equivalent to the left curly brace ({), endif equivalent less right operand curly braces (});
Let me give you an example:
The above statement is equivale
Here is a detailed talk about PHP Process Control alternative syntax. What is an alternative syntax?In short, it is the alternative writing of some grammar.Do the syntax in PHP have alternative syntax?Process Control (including If,while,foreach,switch) These statements have alterna
This article mainly introduces the alternative syntax in PHP. The alternative syntax in PHP is often used in template code writing. for example, this syntax is widely used in wordpress templates, if you need it, you can refer to today's wordpress code, which contains some rare Alternative php syntax,
The code is as follows:
'. _ ('Pages:', 'thebox'), 'after'
ready to do a wordpress theme, the results see the following syntax: This is to know that PHP has a less common alternative syntax: according to http://www.jb51.net/article/23252.htmis there an alternative syntax for those grammars in PHP?Process Control (including If,while,forforeach,switch) has alternative syntax for several statements. the basic form of
We often see a lot of strange php syntax in a WordPress-Class blog program template, such as: PHP endif;? > For a considerable part of the PHP enthusiasts have never seen, what is these things? Are those blogging developers doing their own PHP template language? Not also. In fact, these are PHP syntax, just not used very often, these are PHP process control of the alternative syntax.Here we give you a specific word on PHP process Control
Alternative syntax in PHP (colon, endif, endwhile, endfor), endwhileendforWe often see many strange PHP syntaxes In the templates of blog programs such as wordpress, such as: Which of the following statements in PHP have alternative syntaxes?Process control (including if, while, for, foreach, switch) statements have alternative syntax.The basic form of
Alternative syntax in PHP
Today I read the wordpress code, which contains some rare alternative php syntax,
'' . __( 'Pages:', 'thebox' ), 'after' => '' ) ); ?>
What do the colons and endif after else represent? I have never met a cainiao, so I just googled it to understand that this is an alternative syntax for php,
Colon (:) is equivalent to left cu
Phper will see a lot of strange PHP syntax, such as: for a part of Phper have not seen these things at all? Are those blogging developers doing their own scripting language for PHP? not also, in fact these are all PHP syntax, but not commonly used, these are PHP Process control alternative syntax. Here is a detailed look at the alternative syntax for PHP process control. What is an
We often see a lot of strange php syntax in a wordpress-like blog program template, such as:
The
Empty
For a considerable part of the PHP enthusiasts have never seen, what are these things? Is it the blogging developer's own template language for PHP?
Non-also, in fact, these are PHP syntax, but not commonly used, these are PHP process control of the alternative syntax.
Here we give you a detailed talk about PHP Process Control
we often see a lot of strange php syntax in the wordpress template of a blog program, such as:if(Empty($GET _[' A ']):? >endif;?>for a lot of PHP enthusiasts have never seen Ah, what are these things? Are those blog developers doing their own php-like template language? Non-also, in fact, these are PHP syntax, but not commonly used, these are PHP process control of the alternative syntax. Here we will give you a detailed talk about PHP Process Control
This article mainly introduces several functions abandoned by jQuery and their substitution functions. We must pay attention to them during project development and share them with you for your reference. Earlier in order to better browser compatibility, has been the use of jQuery-1.7.2 version; but with the rapid development of the major browsers and technology, even the new version of bootstrap is the need to introduce the version of jQuery-1.9 or above, representing the commonly used jQuery-1.
PHP provides alternative syntaxes for process control, including if, while, for, foreach, and switch. The basic form of the alternative syntax is to replace left curly braces ({) with colons (:) and right curly braces (}) with endif;, endwhile;, endfor;, endforeach; and endswitch ;. PHP provides alternative syntaxes for process control, including if, while, for,
This article mainly introduces the alternative syntax in PHP, interested in the reference of friends, I hope to be helpful to everyone.
What is an alternative syntax?In short, it is some kind of grammatical alternative notation.
What syntax in 2.PHP has an alternative syntax?
if, while, for, Forforeach, swi
Alternative syntax in PHP
Today looked at the WordPress code, there are some rare php substitution syntax,
→ ', ' thebox '));?>
'. __ (' Pages: ', ' Thebox '), ' after ' + ') ');?>
What does the colon and endif after else mean? Rookie one, have not seen, so on Google a bit, just understand that this is the substitution of PHP syntax,
The colon (:) equivalent to the left curly brace ({), endif equivalent less right operand cur
This article mainly introduces the alternative syntax in PHP, which is a common but important usage in PHP programming, if you need it, you can refer to the alternative syntax. it is a very important concept that is not often seen in PHP programming. Today, this article demonstrates the usage of this concept in the form of instances.
Check the wordpress code, which shows some rare
Alternative syntax in PHP (colon, endif, Endwhile, ENDfor)reprinted October 07, 2012 09:48:10
Label:
PHP/
WordPress/
Html
16096
We often see a lot of strange php syntax in the wordpress template of a blog program, such as:[PHP]View PlainCopy
if (empty ($GET _[' A ')):?>
"Red" > Empty
endif;?>
For a considerable part of the PHP enthusiasts have never seen, what are these things? In fa
Macro alternative solution in C ++
Macro is a god in the C language and can play with various tricks. It is also because of this that it will cause a lot of troubles to ordinary programmers. Since macros only work in the pre-compilation phase, the compiler cannot detect the bugs. As a new C ++ programmer, it is better to stay away from them.
C ++ provides some alternative solutions for macros.
1. Constant
This article mainly introduces detailed information about alternative JavaScript writing methods. For more information, see JavaScript as a web scripting language!
JavaScript is used by millions of web pages to improve design, validate forms, detect browsers, create cookies, and more applications.
JavaScript is the most popular scripting language on the Internet.
JavaScript is easy to use! You will love it!
JavaScript is an interpreted scripting lan
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.