In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the useful functions of php". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn what useful functions php has.
Php interesting functions are: 1, cli_set_process_title function; 2, memory_get_peak_usage function; 3, memory_get_usage function; 4, get_cfg_var function and so on.
This article operating environment: windows7 system, PHP7.1 version, DELL G3 computer
What are the interesting functions of php?
Php has some interesting functions:
Cli_set_process_title ('abcd'); give the current php process a famous name
Echo cli_get_process_title (); gets the name of the current php process
It only works on php-cli.
The memory_get_peak_usage () function returns the peak memory usage
Memory_get_usage () returns the amount of memory currently allocated to the PHP script
Get_cfg_var ('error_reporting'); get the value of the PHP configuration option
Get_current_user () gets the owner name of the current PHP script and the computer user name
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.