PHP's comparison operator has = = = (equals) loose comparison, = = = = = = = = = = = = = = (equal) Strictly compare, there will be a lot of interesting problems.
When loosely compared, PHP will unify their type, such as character to number,
PHP uses the Mb_string function library to work with Windows related Chinese characters
Yesterday, I wanted to batch the previous download of a heap of files, the key contents of the file with a positive match, centralized processing. One problem
PHP, as a simple and powerful language, can provide many web-applicable language features. Starting from the practice, after the weak type variable principle inquiry, this article continues to lead the thorough understanding PHP kernel.
Recently,
To judge a sticky articlethe Is_sticky () function is used to determine whether an article is a sticky article.
Usage
Is_sticky ($post _id);
Parameters
$post _id
(integer) (optional) The article ID to be judged by default is the
Copy Code code as follows:
/*************by garcon1986*********/
The difference between print and Echo:
1. Echo can enter multiple strings, and print cannot.
print "Hello". " World "; Success
The echo "Hello". World "; Success
Print "Hello"
No more nonsense, straight into the theme.
Recommended Tutorials: How PHP uses the Mpdf class to generate PDFs
1.config.php file, about 67 lines:
2. When in use
Note that +acjk this argument, not the C parameter
$mpdf =new
Using exceptions
PHP5 adds an exception-handling module similar to other languages. The exception generated in the PHP code can be thrown by the throw statement and caught by the catch statement. Code that requires exception handling must be placed
In the Web development will often encounter some simple video playback function, but now the video format is different, and can be dynamically increased, so we have to save the video to the data Oh, okay, let's look at the paragraph I wrote a simple
The plug-in method of the reflection API is based on the functionality of the program that is determined at run time, that is, it allows the creation of optional interface methods and detects this part of the interface method for the first time, and
If you want to implement a video camera in PHP we need to use the Flash plug-in, by Flash took the real photos we then through the PHP $globals [' http_raw_post_data '] to accept the data, and then save the picture on it, I would like to introduce
Because of the need to connect to Oracle, the personal feeling of Phpmydatagrid is still relatively good from two development and page styles. 1. Create Test database and table
Create database ' Guru ';
Use ' Guru '; CREATE TABLE '
1. What is a barcode?
Baidu Encyclopedia definition: bar code (barcode) is a wide range of black and white space, according to a certain number of coding rules, to express a set of information graphics identifier. Common bar code is a large
The use of PHP to develop applications, especially web programs, often need to generate random passwords, such as user registration to generate random passwords, user reset password also need to generate a random password. Random password is a
The + operator appends elements of remaining keys from the right handed array to the left handed, whereas duplicated keys are not overwritten.Today, when I look at the PHP manual again, I know
Copy Code code as follows:
$a = Array ("A"
Due to the Kohana framework in the domestic user less, and the new version with Kohana2. X the difference is too large, plus kohana3 data for more than English. Let a lot of kohana interested in, want to learn students can only hope K sigh. As the
Decimal converts to binary, octal, hexadecimal
From decimal to other transformations, the remainder is read by dividing the number into the number of numbers that are being converted. The connection is OK.
Copy Code code as follows:
/**
Old growing up talking. Pure Memo
For long-running PHP programs, you may need instant output to see what's going on.
Copy Code code as follows:
Header ("Content-type:text/html;charset=utf-8″");
#设置执行时间不限时Set_time_limit (0);
#清除并关闭缓冲,
PHP streams is a built-in core operation, probably rarely used by ordinary developers, it is used for unified file, network, data compression and other types of file operations, and for these types of file operations to provide a common set of
PHP has changed dramatically last year. It seems that everyone has their own ideas about what a good frame should look like, but then again, different frameworks apply to different types of projects, and no framework is omnipotent.
A good PHP
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service