PHP study NOTE _ PHP Tutorial

Source: Internet
Author: User
PHP learning notes. Collect some knowledge points encountered during PHP learning. 1. reset () returns the internal pointer of array to the first unit and the value of the first array unit. 2. PHP does not get G. here, we collect some knowledge points encountered during PHP learning.
1. reset () returns the internal pointer of array to the first unit and the value of the first array unit. 2. PHP does not get the GPL license, but its own license allows redistribution of code and/or binary files. 3. internally, PHP stores the data and types of variables separately. Type is stored in a separate table. Whenever an expression contains different types, PHP automatically determines what the programmer wants to do, changes the type in the table, and automatically evaluates the expression. 4, === operator (yes, there are three equal signs ). The difference is that this operator compares the values and types of data at the same time. 5. user-defined functions are expensive in terms of CPU and memory resources. This is mainly because PHP is interpreted and loose.
6. do not fold automatically...>/textarea> Auto fold...>/textarea>
7. you may often encounter a failure in searching for multi-threaded library files in a script program. Check whether MIT-pthreads has been installed in the system. if not, install the software. Linux users must install LINUXThreads. These library files are critical to the multi-thread running mode of MySQL (that is, running multiple versions of MySQL itself.
8, The environment variables are not hashed into the $ HTTP_ENV_VARS []. To access; environment variables, you can use getenv () instead.
9. Applet is a small program written in Java. It can be embedded in HTML like an image. :
DHTML is similar to the scripting language, and HTML code representing the page content is generated after being interpreted by the browser. The only difference is that DHTML can have some additional features, such as making pages work and precisely locating text and images with absolute coordinates.
10. in 1997, The World Wide Web Consortium issued The HTML4 standard and published The first standard CSS1 for style sheets.
The definition of CSS consists of three parts: selector, properties, and value ). The basic format is as follows: selector {property: value}

11. The following describes several common events (for more information, see onClick: click an event. (It is generated when the mouse is pressed and then released .) OnDblClick: Double-click the event. (When the mouse is pressed, released, and pressed again .) OnMouseDown: click the event. (This is generated when you press the mouse .) OnMouseUp: The Mouse release event. (The mouse starts from the press state to the pop-up .) OnMouseMove: Move the mouse. (Move the mouse over a specific element .) OnMouseOver: the mouse goes through the event. (That is, a pointer is generated when it moves from outside to an element .) OnMouseOut: indicates the mouse exit event. (It is generated when the mouse leaves a specific element .) OnLoad: load events. (Generated when the image or page ends loading .) OnUnload: uninstall the event. (Generated when a visitor leaves the page .) OnScroll: scroll bar event. (This is generated when a visitor uses a scroll to move up or down .)
12, L is a leap year if it is a leap year is 1, otherwise it is 0 if ($ I = 2) {if (date ("L") = true) {$ TotalDay = 29;} else {$ TotalDay = 28 ;}}
13, : Tells thebrowser to load http://www.htmlhelp.com/10 seconds after the current completed enthas finished loading.
14. php installation: CGI and modules
# ScriptAlias/php/"c:/php/" # AddType application/x-httpd-php. php # Action application/x-httpd-php "c:/php/php.exe" LoadModule php4_module "c:/php/sapi/php4apache2. dll "AddType application/x-httpd-php. php

Bytes. 1. reset () returns the internal pointer of array to the first unit and the value of the first array unit. 2. PHP does not get G...

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.