putenv(string $assignment): bool

 

向服务器环境添加分配。 环境变量仅在当前请求期间存在。 在请求结束时,环境被恢复到原来的状态。  

成功返回true,失败返回false。

 

示例

设置环境变量

1
2
3
<?php
    putenv("UNIQID=$uniqid");
?>

 

文章来源:https://www.liqingbo.cn/blog-1777.html

上一篇:没有了

下一篇:atan

相关文章

  • __construct

  • zip_read

  • zip_open

  • zip_entry_read

  • zip_entry_open

  • zip_entry_name

  • zip_entry_filesize

  • zip_entry_compressionmethod

  • zip_entry_compressedsize

  • zip_entry_close

  • zip_close

  • xpath

  • xml_set_unparsed_entity_decl_handler

  • xml_set_processing_instruction_handler

  • xml_set_object

  • xml_set_notation_decl_handler

  • xml_set_external_entity_ref_handler

  • xml_set_element_handler

  • xml_set_default_handler

  • xml_set_character_data_handler