设为首页 收藏本站
查看: 614|回复: 0

[经验分享] PHP Options and Information [PHP手册学习]

[复制链接]

尚未签到

发表于 2017-3-4 06:57:45 | 显示全部楼层 |阅读模式
  PHP Options and Information
  http://cn.php.net/manual/en/ref.info.php
  assert_options — 设置/获取的各种断言标记 { mixed assert_options ( int $what [, mixed $value ] )}
  assert — 检查断言是否不正确 { bool assert ( mixed $assertion )}
  『 assert_options、assert要结合一起用』
  dl — Loads a PHP extension at runtime { bool dl ( string $library )}
  extension_loaded — Find out whether an extension is loaded { bool extension_loaded ( string $name )}
  gc_collect_cycles — Forces collection of any existing garbage cycles { int gc_collect_cycles ( void )}
  gc_enable — 激活循环引用收藏家 { void gc_enable ( void )}
  gc_disable — 停用循环引用收藏家 { void gc_disable ( void )}
  gc_enabled — Returns status of the circular reference collector { bool gc_enabled ( void )}
  get_cfg_var — 获取一个PHP配置选项的值 { string get_cfg_var ( string $option )}
  ini_set — Sets the value of a configuration option { string ini_set ( string $varname , string $newvalue )}
  ini_get — Gets the value of a configuration option { string ini_get ( string $varname )}
  ini_get_all — Gets all configuration options { array ini_get_all ([ string $extension [, bool $details = true ]] )}
  ini_restore — Restores the value of a configuration option { void ini_restore ( string $varname )}
  ini_alter — 别名 ini_set()
  get_current_user — Gets the name of the owner of the current PHP script { string get_current_user ( void )}
  get_defined_constants — 返回一个与所有的常量和它们的值的名称关联数组 { array get_defined_constants ([ bool $categorize = false ] )}
  get_extension_funcs — Returns an array with the names of the functions of a module { array get_extension_funcs ( string $module_name )}
  get_included_files — Returns an array with the names of included or required files { array get_included_files ( void )}
  get_loaded_extensions — 返回一个与所有模块的编译和载入名称的数组 { array get_loaded_extensions ([ bool $zend_extensions = false ] )}
  get_required_files — 别名 get_included_files()
  get_magic_quotes_gpc — Gets the current configuration setting of magic_quotes_gpc { int get_magic_quotes_gpc ( void )}
  get_magic_quotes_runtime — 获取当前活动配置magic_quotes_runtime设置 { int get_magic_quotes_runtime ( void )}
  getenv — Gets the value of an environment variable { string getenv ( string $varname )}
  putenv — Sets the value of an environment variable { bool putenv ( string $setting )} eg:putenv("UNIQID=$uniqid");
  #apache_getenv() - Get an Apache subprocess_env variable
  #Superglobals
  getlastmod — 获取修改时间的最后一页 { int getlastmod ( void )}
  getmygid — Get PHP script owner's GID
  getmyinode — Gets the inode of the current script
  getmypid — Gets PHP's process ID
  getmyuid — Gets PHP script owner's UID
  getopt — 获取命令行参数列表选项 { array getopt ( string $options [, array $longopts ] )}
  getrusage — 获取当前资源使用 { array getrusage ([ int $who = 0 ] )}
  set_magic_quotes_runtime — 设置当前活动配置设置的 magic_quotes_runtime { bool set_magic_quotes_runtime ( bool $new_setting )}
  magic_quotes_runtime — Alias of set_magic_quotes_runtime()
  main — Dummy for main
  #html_errors
  #display_errors
  memory_get_peak_usage — 返回PHP所分配的内存峰值 { int memory_get_peak_usage ([ bool $real_usage = false ] )}
  memory_get_usage — 返回的内存量分配到PHP { int memory_get_usage ([ bool $real_usage = false ] )}
  #memory_limit
  php_ini_loaded_file — 检索路径加载的php.ini文件 { string php_ini_loaded_file ( void )}
  php_ini_scanned_files — 返回的列表.ini文件解析从额外的INI目录 { string php_ini_scanned_files ( void )}
  php_sapi_name — Returns the type of interface between web server and PHP { string php_sapi_name ( void )}
  php_uname — 返回有关操作系统上运行的PHP { string php_uname ([ string $mode = "a" ] )}
  phpcredits — Prints out the credits for PHP
  php_logo_guid — Gets the logo guid { string php_logo_guid ( void )}
  phpinfo — Outputs information about PHP's configuration
  phpversion — Gets the current PHP version { string phpversion ([ string $extension ] )}
  restore_include_path — 恢复价值的include_path配置选项 { void restore_include_path ( void )}
  set_include_path — Sets the include_path configuration option { string set_include_path ( string $new_include_path )}
  get_include_path — 获取当前的include_path配置选项 { string get_include_path ( void )}
  set_time_limit — Limits the maximum execution time { void set_time_limit ( int $seconds )}
  sys_get_temp_dir — 返回目录使用的临时文件路径 { string sys_get_temp_dir ( void )}
  version_compare — Compares two "PHP-standardized" version number strings { mixed version_compare ( string $version1 , string $version2 [, string $operator ] )}
  zend_logo_guid — Gets the Zend guid
  zend_thread_id — Returns a unique identifier for the current thread
  zend_version — Gets the version of the current Zend engine { string zend_version ( void )}

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-349897-1-1.html 上篇帖子: PHP学习笔记-1-PHP版本问题 下篇帖子: PHP加速软件
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表