PHP Learning Notes

Source: Internet
Author: User

Strpos ($str 1, $str 2[$offset]), str1 search str2, return the first occurrence of the position, the head is 0;

echo ' ipconfig '; equivalent to echo shell_exec (' ipconfig ');

echo @ (3/0);

&&,| |, short-circuit priority highest

echo Date ("Y year M D Day H:i:s");

echo Date ("y-m-d h:i:s");

echo Date ("Y/m/d h:i:s", Time ())

echo Date ("Y/m/d h:i:s", Time () +24*3600)

echo Date (' W ');

Date_default_timezone_get (); Get the current default time zone

Date_default_timezone_set (); Set time zone/PRC Asia/shanghai

echo ini_get (' Date.timezone '); Ini_set (' Date.timezone ', ' PRC ')

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/73/3F/wKiom1X4K9rSQqGQAAGVpFw1orQ188.jpg "title=" PHP pre-defined variable. jpg "alt=" wkiom1x4k9rsqqgqaagvpfw1orq188.jpg "/>

PHP Learning Notes

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.