Discover make first letter capital in php, include the articles, news, trends, analysis and practical advice about make first letter capital in php on alibabacloud.com
1. Understanding PHP Code Identification
It is very easy to write PHP code in the page, such as the following code:
Just as you can write JavaScript scripting languages that need to be written between tags, you can write PHP code in the
Code Specification for PHP development
In the process of writing PHP, more and more feel the importance of standardization, today on the network to see predecessors write articles, special turn to learn. The original address is: http://blog.csdn.net/
PHP Date-time function date ()1, year-month-day
Copy Code code as follows:
echo Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Capital Y represents a four-digit year, while lowercase y represents a
PHP framework is now a very popular thing. Many friends will choose a PHP framework or template for developing applications and websites. Let's take a look at how the PHP framework is implemented. PHP framework is now a very popular thing. Many
PHP Date-time function date ()
1, year-month-day
echo Date (' y-m-j ');
2007-02-6
echo Date (' y-n-j ');
07-2-6
Capital Y represents a four-digit year, while lowercase y represents a two-digit number for the year;
Lowercase m represents the number
Copyright belongs to the original all ..... .....
Go PHP Coding Specification
In a more detailed explanation of the program in the preparation of the issues to be noted.
But the norm is just a habit, not a compulsion, and you can totally disobey
Why do we have to develop our own coding standards?
When we write code, a good coding code, for us to be able to play a lot of the effect of no intention. At least there will be the benefits:
1, improve our coding efficiency. Uniform code is
PHP Regular Expression full manual, regular expression full manual
Full Manual of regular expressions for PHP
Objective
Regular expressions are cumbersome, but powerful, learned applications will give you an absolute sense of accomplishment in
Basic knowledge
CharacterPOSIX Extended Regular Expression functionsPerl-compatible Regular expression functionsFrom the message verification.
The format of the message:
Tenssun@163.com
Where Tenssun is the user name, 163.com is the server name
Array: "Focus 1" implode (delimited, arr) concatenate the array value data by the specified character For example: $arr =array (' 1 ', ' 2 ', ' 3 ', ' 4 '); $str =implode ('-', $arr); Explode ([delimited],arr) splits a string by the specified
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.