目录搜索
序言入门指引简介PHP 是什么?PHP 能做什么?简明教程需要些什么?第一个 PHP 页面实用的脚本处理表单在新版本的 PHP 中使用旧的 PHP 代码下一步做什么?安装与配置安装前需要考虑的事项Unix 系统下的安装Unix 系统下的 Apache 1.3.xUnix 系统下的 Apache 2.xUnix 系统下的 Nginx 1.4.xUnix 平台的 Lighttpd 1.4Sun Solaris 上的 Sun、iPlanet 和 Netscape 服务器CGI 和命令行设置针对 HP-UX 平台的安装提示在 OpenBSD 系统下的安装针对 Solaris 的安装提示Debian GNU/Linux 安装说明Mac OS X 系统下的安装使用软件包使用内置的 PHP在 Mac OS X 下编译 PHPWindows 系统下的安装Windows 安装程序(PHP 5.1.0 及更早版本)Windows 安装程序(PHP 5.2 及更新版本)手工安装步骤Microsoft IISMicrosoft IIS 5.1 和 IIS 6.0Microsoft IIS 7.0 及更高版本Microsoft Windows 下的 Apache 1.3.xMicrosoft Windows 下的 Apache 2.xMicrosoft Windows 下的 Sun,iPlanet 和 Netscape 服务器Microsoft Windows 下的 Sambar 服务器Microsoft Windows 下的 Xitami从源程序编译Windows 下安装扩展库PHP 在 Microsoft Windows 下的命令行方式云计算平台上的安装Microsoft AzureAmazon EC2FastCGI 进程管理器(FPM)安装配置PECL 扩展库安装PECL 安装介绍下载 PECL 扩展库在 Windows 上安装 PHP 扩展用 PEAR 编译共享 PECL 扩展库用 phpize 编译共享 PECL 扩展库php-config将 PECL 扩展库静态编译入 PHP还有问题?阅读 FAQ其它问题错误报告运行时配置配置文件.user.ini 文件配置可被设定范围怎样修改配置设定语言参考基本语法PHP 标记从 HTML 中分离指令分隔符注释类型简介Boolean 布尔类型Integer 整型Float 浮点型String 字符串Array 数组Object 对象Resource 资源类型NULLCallback 回调类型本文档中使用的伪类型与变量类型转换的判别变量基础预定义变量变量范围可变变量来自 PHP 之外的变量常量语法魔术常量表达式运算符运算符优先级算术运算符赋值运算符位运算符比较运算符错误控制运算符执行运算符递增/递减运算符逻辑运算符字符串运算符数组运算符类型运算符流程控制简介ifelseelseif/else if流程控制的替代语法whiledo-whileforforeachbreakcontinueswitchdeclarereturnrequireincluderequire_onceinclude_oncegoto函数用户自定义函数函数的参数返回值可变函数内部(内置)函数匿名函数类与对象简介基本概念属性类常量自动加载类构造函数和析构函数访问控制(可见性)对象继承范围解析操作符(::)Static(静态)关键字抽象类对象接口TraitsAnonymous classes重载遍历对象魔术方法Final 关键字对象复制对象比较类型约束后期静态绑定对象和引用对象序列化OOP 变更日志命名空间命名空间概述定义命名空间定义子命名空间在同一个文件中定义多个命名空间使用命名空间:基础命名空间和动态语言特征namespace关键字和__NAMESPACE__常量使用命名空间:别名/导入全局空间使用命名空间:后备全局函数/常量名称解析规则FAQ: things you need to know about namespacesErrorsBasicsErrors in PHP 7异常处理扩展(extend) PHP 内置的异常处理类生成器生成器总览生成器语法Comparing generators with Iterator objects引用的解释引用是什么引用做什么引用不是什么引用传递引用返回取消引用引用定位预定义变量超全局变量$GLOBALS$_SERVER$HTTP_SERVER_VARS$_GET$HTTP_GET_VARS$_POST$HTTP_POST_VARS$_FILES$HTTP_POST_FILES$_REQUEST$_SESSION$HTTP_SESSION_VARS$_ENV$HTTP_ENV_VARS$_COOKIE$HTTP_COOKIE_VARS$php_errormsg$HTTP_RAW_POST_DATA$http_response_header$argc$argv预定义异常ExceptionException::__constructException::getMessageException::getPreviousException::getCodeException::getFileException::getLineException::getTraceException::getTraceAsStringException::__toStringException::__cloneErrorExceptionErrorException::__constructErrorException::getSeverity预定义接口遍历迭代器Iterator::currentIterator::keyIterator::nextIterator::rewindIterator::valid聚合式迭代器IteratorAggregate::getIterator数组式访问ArrayAccess::offsetExistsArrayAccess::offsetGetArrayAccess::offsetSetArrayAccess::offsetUnset序列化Serializable::serializeSerializable::unserializeClosureClosure::__constructClosure::bindClosure::bindTo生成器Generator::currentGenerator::keyGenerator::nextGenerator::rewindGenerator::sendGenerator::throwGenerator::validGenerator::__wakeup上下文(Context)选项和参数套接字上下文选项HTTP context 选项FTP context optionsSSL 上下文选项CURL context optionsPhar 上下文(context)选项MongoDB context optionsContext 参数支持的协议和封装协议file://http://https://ftp://ftps://php://zlib://bzip2://zip://data://glob://phar://ssh2://rar://ogg://expect://安全简介总则以 CGI 模式安装时可能受到的攻击情形一:只运行公开的文件情形二:使用 --enable-force-cgi-redirect 选项情形三:设置 doc_root 或 user_dir情形四:PHP 解释器放在 web 目录以外以 Apache 模块安装时文件系统安全Null 字符问题数据库安全设计数据库连接数据库加密存储模型SQL 注入错误报告使用 Register Globals用户提交的数据魔术引号什么是魔术引号为什么要用魔术引号为什么不用魔术引号关闭魔术引号隐藏 PHP保持更新特点用 PHP 进行 HTTP 认证Cookie会话处理 XForms文件上传处理POST 方法上传错误信息说明常见缺陷上传多个文件对 PUT 方法的支持使用远程文件连接处理数据库持久连接安全模式保安措施和安全模式被安全模式限制或屏蔽的函数PHP 的命令行模式内置Web ServerINI 配置垃圾回收机制引用计数基本知识回收周期(Collecting Cycles)性能方面考虑的因素DTrace 动态跟踪PHP 和 DTrace 介绍使用 PHP 和 DTrace使用 SystemTap 监控 PHP DTrace 静态探针函数参考影响 PHP 行为的扩展APC简介安装/配置需求安装运行时配置资源类型预定义常量APC 函数apc_addapc_bin_dumpapc_bin_dumpfileapc_bin_loadapc_bin_loadfileapc_cache_infoapc_casapc_clear_cacheapc_compile_fileapc_decapc_define_constantsapc_delete_fileapc_deleteapc_existsapc_fetchapc_incapc_load_constantsapc_sma_infoapc_storeAPCIteratorAPCIterator::__constructAPCIterator::currentAPCIterator::getTotalCountAPCIterator::getTotalHitsAPCIterator::getTotalSizeAPCIterator::keyAPCIterator::nextAPCIterator::rewindAPCIterator::validAPCu简介安装/配置需求安装运行时配置资源类型预定义常量APCu 函数apcu_addapcu_cache_infoapcu_casapcu_clear_cacheapcu_decapcu_deleteapcu_entryapcu_existsapcu_fetchapcu_incapcu_sma_infoapcu_storeAPCUIteratorAPCUIterator::__constructAPCUIterator::currentAPCUIterator::getTotalCountAPCUIterator::getTotalHitsAPCUIterator::getTotalSizeAPCUIterator::keyAPCUIterator::nextAPCUIterator::rewindAPCUIterator::validAPD简介安装/配置需求安装Building on Win32运行时配置资源类型预定义常量范例How to use PHP-APD in your scriptsAPD 函数apd_breakpointapd_callstackapd_clunkapd_continueapd_croakapd_dump_function_tableapd_dump_persistent_resourcesapd_dump_regular_resourcesapd_echoapd_get_active_symbolsapd_set_pprof_traceapd_set_session_trace_socketapd_set_session_traceapd_set_sessionoverride_functionrename_functionbcompiler简介安装/配置需求安装运行时配置资源类型预定义常量bcompiler 函数bcompiler_load_exebcompiler_loadbcompiler_parse_classbcompiler_readbcompiler_write_classbcompiler_write_constantbcompiler_write_exe_footerbcompiler_write_filebcompiler_write_footerbcompiler_write_functionbcompiler_write_functions_from_filebcompiler_write_headerbcompiler_write_included_filenameBLENC简介安装/配置需求安装运行时配置资源类型预定义常量Blenc 函数blenc_encrypt错误处理简介安装/配置需求安装运行时配置资源类型预定义常量范例错误处理 函数debug_backtracedebug_print_backtraceerror_clear_lasterror_get_lasterror_logerror_reportingrestore_error_handlerrestore_exception_handlerset_error_handlerset_exception_handlertrigger_erroruser_errorhtscanner简介安装/配置需求安装运行时配置资源类型inclued简介安装/配置需求安装运行时配置资源类型预定义常量范例Example that implements inclued into an applicationinclued 函数inclued_get_dataMemtrack简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageOPcache简介安装/配置需求安装运行时配置资源类型OPcache 函数opcache_compile_fileopcache_get_configurationopcache_get_statusopcache_invalidateopcache_is_script_cachedopcache_reset输出控制简介安装/配置需求安装运行时配置资源类型预定义常量范例基本用法Output Control 函数flushob_cleanob_end_cleanob_end_flushob_flushob_get_cleanob_get_contentsob_get_flushob_get_lengthob_get_levelob_get_statusob_gzhandlerob_implicit_flushob_list_handlersob_startoutput_add_rewrite_varoutput_reset_rewrite_varsPHP 选项/信息简介安装/配置需求安装运行时配置资源类型预定义常量PHP 选项/信息 函数assert_optionsassertcli_get_process_titlecli_set_process_titledlextension_loadedgc_collect_cyclesgc_disablegc_enablegc_enabledgc_mem_cachesget_cfg_varget_current_userget_defined_constantsget_extension_funcsget_include_pathget_included_filesget_loaded_extensionsget_magic_quotes_gpcget_magic_quotes_runtimeget_required_filesget_resourcesgetenvgetlastmodgetmygidgetmyinodegetmypidgetmyuidgetoptgetrusageini_alterini_get_allini_getini_restoreini_setmagic_quotes_runtimemainmemory_get_peak_usagememory_get_usagephp_ini_loaded_filephp_ini_scanned_filesphp_logo_guidphp_sapi_namephp_unamephpcreditsphpinfophpversionputenvrestore_include_pathset_include_pathset_magic_quotes_runtimeset_time_limitsys_get_temp_dirversion_comparezend_logo_guidzend_thread_idzend_versionrunkit简介预定义常量安装/配置需求安装运行时配置资源类型runkit 函数Runkit_SandboxRunkit_Sandbox_Parentrunkit_class_adoptrunkit_class_emancipaterunkit_constant_addrunkit_constant_redefinerunkit_constant_removerunkit_function_addrunkit_function_copyrunkit_function_redefinerunkit_function_removerunkit_function_renamerunkit_importrunkit_lint_filerunkit_lintrunkit_method_addrunkit_method_copyrunkit_method_redefinerunkit_method_removerunkit_method_renamerunkit_return_value_usedrunkit_sandbox_output_handlerrunkit_superglobalsscream简介安装/配置需求安装运行时配置资源类型范例Example that shows the effect of screamuopz简介安装/配置需求安装运行时配置资源类型预定义常量Uopz 函数uopz_backupuopz_composeuopz_copyuopz_deleteuopz_extenduopz_flagsuopz_functionuopz_implementuopz_overloaduopz_redefineuopz_renameuopz_restoreuopz_undefineWeakref简介安装/配置需求安装资源类型WeakRefWeakref::acquireWeakref::__constructWeakref::getWeakref::releaseWeakref::validWeakMapWeakMap::__constructWeakMap::countWeakMap::currentWeakMap::keyWeakMap::nextWeakMap::offsetExistsWeakMap::offsetGetWeakMap::offsetSetWeakMap::offsetUnsetWeakMap::rewindWeakMap::validWinCache简介安装/配置需求安装运行时配置WinCache Statistics ScriptWinCache Session HandlerWinCache Functions Reroutes资源类型预定义常量WinCache 函数wincache_fcache_fileinfowincache_fcache_meminfowincache_lockwincache_ocache_fileinfowincache_ocache_meminfowincache_refresh_if_changedwincache_rplist_fileinfowincache_rplist_meminfowincache_scache_infowincache_scache_meminfowincache_ucache_addwincache_ucache_caswincache_ucache_clearwincache_ucache_decwincache_ucache_deletewincache_ucache_existswincache_ucache_getwincache_ucache_incwincache_ucache_infowincache_ucache_meminfowincache_ucache_setwincache_unlockBuilding for WindowsPrerequisitesCompiling and buildingVerifying the buildXhprof简介安装/配置需求安装运行时配置资源类型预定义常量范例Xhprof 函数xhprof_disablexhprof_enablexhprof_sample_disablexhprof_sample_enable音频格式操作ID3简介安装/配置需求安装运行时配置资源类型Predefined ConstantsID3 函数id3_get_frame_long_nameid3_get_frame_short_nameid3_get_genre_idid3_get_genre_listid3_get_genre_nameid3_get_tagid3_get_versionid3_remove_tagid3_set_tagKTaglib简介安装/配置需求安装预定义常量KTaglib_MPEG_FileKTaglib_MPEG_File::__constructKTaglib_MPEG_File::getAudioPropertiesKTaglib_MPEG_File::getID3v1TagKTaglib_MPEG_File::getID3v2TagKTaglib_MPEG_AudioPropertiesKTaglib_MPEG_AudioProperties::getBitrateKTaglib_MPEG_AudioProperties::getChannelsKTaglib_MPEG_AudioProperties::getLayerKTaglib_MPEG_AudioProperties::getLengthKTaglib_MPEG_AudioProperties::getSampleBitrateKTaglib_MPEG_AudioProperties::getVersionKTaglib_MPEG_AudioProperties::isCopyrightedKTaglib_MPEG_AudioProperties::isOriginalKTaglib_MPEG_AudioProperties::isProtectionEnabledKTaglib_TagKTaglib_Tag::getAlbumKTaglib_Tag::getArtistKTaglib_Tag::getCommentKTaglib_Tag::getGenreKTaglib_Tag::getTitleKTaglib_Tag::getTrackKTaglib_Tag::getYearKTaglib_Tag::isEmptyKTaglib_ID3v2_TagKTaglib_ID3v2_Tag::addFrameKTaglib_ID3v2_Tag::getFrameListKTaglib_ID3v2_FrameKTaglib_ID3v2_Frame::getSizeKTaglib_ID3v2_Frame::__toStringKTaglib_ID3v2_AttachedPictureFrameKTaglib_ID3v2_AttachedPictureFrame::getDescriptionKTaglib_ID3v2_AttachedPictureFrame::getMimeTypeKTaglib_ID3v2_AttachedPictureFrame::getTypeKTaglib_ID3v2_AttachedPictureFrame::savePictureKTaglib_ID3v2_AttachedPictureFrame::setMimeTypeKTaglib_ID3v2_AttachedPictureFrame::setPictureKTaglib_ID3v2_AttachedPictureFrame::setTypeoggvorbis简介安装/配置需求安装运行时配置资源类型预定义常量Context options范例Examples on using the ogg:// wrapper.OpenAL简介安装/配置需求安装运行时配置资源类型预定义常量OpenAL 函数openal_buffer_createopenal_buffer_dataopenal_buffer_destroyopenal_buffer_getopenal_buffer_loadwavopenal_context_createopenal_context_currentopenal_context_destroyopenal_context_processopenal_context_suspendopenal_device_closeopenal_device_openopenal_listener_getopenal_listener_setopenal_source_createopenal_source_destroyopenal_source_getopenal_source_pauseopenal_source_playopenal_source_rewindopenal_source_setopenal_source_stopopenal_stream身份认证服务KADM5简介安装/配置需求安装运行时配置资源类型预定义常量Constants for Attribute FlagsConstants for Options范例Basic usageKADM5 函数kadm5_chpass_principalkadm5_create_principalkadm5_delete_principalkadm5_destroykadm5_flushkadm5_get_policieskadm5_get_principalkadm5_get_principalskadm5_init_with_passwordkadm5_modify_principalRadius简介安装/配置需求安装运行时配置资源类型预定义常量RADIUS OptionsRADIUS Packet TypesRADIUS Attribute TypesRADIUS Vendor Specific Attribute Types范例Radius 函数radius_acct_openradius_add_serverradius_auth_openradius_closeradius_configradius_create_requestradius_cvt_addrradius_cvt_intradius_cvt_stringradius_demangle_mppe_keyradius_demangleradius_get_attrradius_get_tagged_attr_dataradius_get_tagged_attr_tagradius_get_vendor_attrradius_put_addrradius_put_attrradius_put_intradius_put_stringradius_put_vendor_addrradius_put_vendor_attrradius_put_vendor_intradius_put_vendor_stringradius_request_authenticatorradius_salt_encrypt_attrradius_send_requestradius_server_secretradius_strerror针对命令行的扩展Ncurses简介安装/配置需求安装运行时配置资源类型预定义常量Error codesColorsKeysMouseNcurses 函数ncurses_addchncurses_addchnstrncurses_addchstrncurses_addnstrncurses_addstrncurses_assume_default_colorsncurses_attroffncurses_attronncurses_attrsetncurses_baudratencurses_beepncurses_bkgdncurses_bkgdsetncurses_borderncurses_bottom_panelncurses_can_change_colorncurses_cbreakncurses_clearncurses_clrtobotncurses_clrtoeolncurses_color_contentncurses_color_setncurses_curs_setncurses_def_prog_modencurses_def_shell_modencurses_define_keyncurses_del_panelncurses_delay_outputncurses_delchncurses_deletelnncurses_delwinncurses_doupdatencurses_echoncurses_echocharncurses_endncurses_erasencurses_erasecharncurses_filterncurses_flashncurses_flushinpncurses_getchncurses_getmaxyxncurses_getmousencurses_getyxncurses_halfdelayncurses_has_colorsncurses_has_icncurses_has_ilncurses_has_keyncurses_hide_panelncurses_hlinencurses_inchncurses_init_colorncurses_init_pairncurses_initncurses_inschncurses_insdellnncurses_insertlnncurses_insstrncurses_instrncurses_isendwinncurses_keyokncurses_keypadncurses_killcharncurses_longnamencurses_metancurses_mouse_trafoncurses_mouseintervalncurses_mousemaskncurses_move_panelncurses_movencurses_mvaddchncurses_mvaddchnstrncurses_mvaddchstrncurses_mvaddnstrncurses_mvaddstrncurses_mvcurncurses_mvdelchncurses_mvgetchncurses_mvhlinencurses_mvinchncurses_mvvlinencurses_mvwaddstrncurses_napmsncurses_new_panelncurses_newpadncurses_newwinncurses_nlncurses_nocbreakncurses_noechoncurses_nonlncurses_noqiflushncurses_norawncurses_pair_contentncurses_panel_abovencurses_panel_belowncurses_panel_windowncurses_pnoutrefreshncurses_prefreshncurses_putpncurses_qiflushncurses_rawncurses_refreshncurses_replace_panelncurses_reset_prog_modencurses_reset_shell_modencurses_resettyncurses_savettyncurses_scr_dumpncurses_scr_initncurses_scr_restorencurses_scr_setncurses_scrlncurses_show_panelncurses_slk_attrncurses_slk_attroffncurses_slk_attronncurses_slk_attrsetncurses_slk_clearncurses_slk_colorncurses_slk_initncurses_slk_noutrefreshncurses_slk_refreshncurses_slk_restorencurses_slk_setncurses_slk_touchncurses_standendncurses_standoutncurses_start_colorncurses_termattrsncurses_termnamencurses_timeoutncurses_top_panelncurses_typeaheadncurses_ungetchncurses_ungetmousencurses_update_panelsncurses_use_default_colorsncurses_use_envncurses_use_extended_namesncurses_vidattrncurses_vlinencurses_waddchncurses_waddstrncurses_wattroffncurses_wattronncurses_wattrsetncurses_wborderncurses_wclearncurses_wcolor_setncurses_werasencurses_wgetchncurses_whlinencurses_wmouse_trafoncurses_wmovencurses_wnoutrefreshncurses_wrefreshncurses_wstandendncurses_wstandoutncurses_wvlineNewt简介安装/配置需求安装运行时配置资源类型预定义常量Newt form exit reasonsNewt colorsetsNewt argument flagsNewt Flags SenseNewt Components FlagsFile Descriptor FlagsCheckbox Tree FlagsEntry FlagsListbox FlagsTextbox FlagsForm FlagsNewt KeysNewt AnchorsGrid Flags范例Basic usageNewt 函数newt_bellnewt_button_barnewt_buttonnewt_centered_windownewt_checkbox_get_valuenewt_checkbox_set_flagsnewt_checkbox_set_valuenewt_checkbox_tree_add_itemnewt_checkbox_tree_find_itemnewt_checkbox_tree_get_currentnewt_checkbox_tree_get_entry_valuenewt_checkbox_tree_get_multi_selectionnewt_checkbox_tree_get_selectionnewt_checkbox_tree_multinewt_checkbox_tree_set_currentnewt_checkbox_tree_set_entry_valuenewt_checkbox_tree_set_entrynewt_checkbox_tree_set_widthnewt_checkbox_treenewt_checkboxnewt_clear_key_buffernewt_clsnewt_compact_buttonnewt_component_add_callbacknewt_component_takes_focusnewt_create_gridnewt_cursor_offnewt_cursor_onnewt_delaynewt_draw_formnewt_draw_root_textnewt_entry_get_valuenewt_entry_set_filternewt_entry_set_flagsnewt_entry_setnewt_entrynewt_finishednewt_form_add_componentnewt_form_add_componentsnewt_form_add_hot_keynewt_form_destroynewt_form_get_currentnewt_form_runnewt_form_set_backgroundnewt_form_set_heightnewt_form_set_sizenewt_form_set_timernewt_form_set_widthnewt_form_watch_fdnewt_formnewt_get_screen_sizenewt_grid_add_components_to_formnewt_grid_basic_windownewt_grid_freenewt_grid_get_sizenewt_grid_h_close_stackednewt_grid_h_stackednewt_grid_placenewt_grid_set_fieldnewt_grid_simple_windownewt_grid_v_close_stackednewt_grid_v_stackednewt_grid_wrapped_window_atnewt_grid_wrapped_windownewt_initnewt_label_set_textnewt_labelnewt_listbox_append_entrynewt_listbox_clear_selectionnewt_listbox_clearnewt_listbox_delete_entrynewt_listbox_get_currentnewt_listbox_get_selectionnewt_listbox_insert_entrynewt_listbox_item_countnewt_listbox_select_itemnewt_listbox_set_current_by_keynewt_listbox_set_currentnewt_listbox_set_datanewt_listbox_set_entrynewt_listbox_set_widthnewt_listboxnewt_listitem_get_datanewt_listitem_setnewt_listitemnewt_open_windownewt_pop_help_linenewt_pop_windownewt_push_help_linenewt_radio_get_currentnewt_radiobuttonnewt_redraw_help_linenewt_reflow_textnewt_refreshnewt_resize_screennewt_resumenewt_run_formnewt_scale_setnewt_scalenewt_scrollbar_setnewt_set_help_callbacknewt_set_suspend_callbacknewt_suspendnewt_textbox_get_num_linesnewt_textbox_reflowednewt_textbox_set_heightnewt_textbox_set_textnewt_textboxnewt_vertical_scrollbarnewt_wait_for_keynewt_win_choicenewt_win_entriesnewt_win_menunewt_win_messagenewt_win_messagevnewt_win_ternaryReadline简介安装/配置需求安装运行时配置资源类型预定义常量Readline 函数readline_add_historyreadline_callback_handler_installreadline_callback_handler_removereadline_callback_read_charreadline_clear_historyreadline_completion_functionreadline_inforeadline_list_historyreadline_on_new_linereadline_read_historyreadline_redisplayreadline_write_historyreadline压缩与归档扩展Bzip2简介安装/配置需求安装运行时配置资源类型预定义常量范例Bzip2 函数bzclosebzcompressbzdecompressbzerrnobzerrorbzerrstrbzflushbzopenbzreadbzwriteLZF简介安装/配置需求安装运行时配置资源类型预定义常量LZF 函数lzf_compresslzf_decompresslzf_optimized_forPhar简介安装/配置需求安装运行时配置资源类型预定义常量Using Phar ArchivesUsing Phar Archives: IntroductionUsing Phar Archives: the phar stream wrapperUsing Phar Archives: the Phar and PharData classCreating Phar ArchivesCreating Phar Archives: IntroductionWhat makes a phar a phar and not a tar or a zip?Ingredients of all Phar archives, independent of file formatPhar file stubHead-to-head comparison of Phar, Tar and ZipTar-based pharsZip-based pharsPhar File FormatGlobal Phar bitmapped flagsPhar manifest file entry definitionPhar Signature formatPharPhar::addEmptyDirPhar::addFilePhar::addFromStringPhar::apiVersionPhar::buildFromDirectoryPhar::buildFromIteratorPhar::canCompressPhar::canWritePhar::compressPhar::compressAllFilesBZIP2Phar::compressAllFilesGZPhar::compressFilesPhar::__constructPhar::convertToDataPhar::convertToExecutablePhar::copyPhar::countPhar::createDefaultStubPhar::decompressPhar::decompressFilesPhar::delMetadataPhar::deletePhar::extractToPhar::getMetadataPhar::getModifiedPhar::getSignaturePhar::getStubPhar::getSupportedCompressionPhar::getSupportedSignaturesPhar::getVersionPhar::hasMetadataPhar::interceptFileFuncsPhar::isBufferingPhar::isCompressedPhar::isFileFormatPhar::isValidPharFilenamePhar::isWritablePhar::loadPharPhar::mapPharPhar::mountPhar::mungServerPhar::offsetExistsPhar::offsetGetPhar::offsetSetPhar::offsetUnsetPhar::runningPhar::setAliasPhar::setDefaultStubPhar::setMetadataPhar::setSignatureAlgorithmPhar::setStubPhar::startBufferingPhar::stopBufferingPhar::uncompressAllFilesPhar::unlinkArchivePhar::webPharPharDataPharData::addEmptyDirPharData::addFilePharData::addFromStringPharData::buildFromDirectoryPharData::buildFromIteratorPharData::compressPharData::compressFilesPharData::__constructPharData::convertToDataPharData::convertToExecutablePharData::copyPharData::decompressPharData::decompressFilesPharData::delMetadataPharData::deletePharData::extractToPharData::isWritablePharData::offsetSetPharData::offsetUnsetPharData::setAliasPharData::setDefaultStubPhar::setMetadataPhar::setSignatureAlgorithmPharData::setStubPharFileInfoPharFileInfo::chmodPharFileInfo::compressPharFileInfo::__constructPharFileInfo::decompressPharFileInfo::delMetadataPharFileInfo::getCRC32PharFileInfo::getCompressedSizePharFileInfo::getMetadataPharFileInfo::getPharFlagsPharFileInfo::hasMetadataPharFileInfo::isCRCCheckedPharFileInfo::isCompressedPharFileInfo::isCompressedBZIP2PharFileInfo::isCompressedGZPharFileInfo::setCompressedBZIP2PharFileInfo::setCompressedGZPharFileInfo::setMetadataPharFileInfo::setUncompressedPharExceptionPharExceptionRar简介安装/配置需求安装运行时配置资源类型预定义常量范例Rar 函数rar_wrapper_cache_statsRarArchiveRarArchive::closerar_closeRarArchive::getCommentrar_comment_getRarArchive::getEntriesrar_listRarArchive::getEntryrar_entry_getRarArchive::isBrokenrar_broken_isRarArchive::isSolidrar_solid_isRarArchive::openrar_openRarArchive::setAllowBrokenRarArchive::__toStringRarEntryRarEntry::extractRarEntry::getAttrRarEntry::getCrcRarEntry::getFileTimeRarEntry::getHostOsRarEntry::getMethodRarEntry::getNameRarEntry::getPackedSizeRarEntry::getStreamRarEntry::getUnpackedSizeRarEntry::getVersionRarEntry::isDirectoryRarEntry::isEncryptedRarEntry::__toStringRarExceptionRarException::isUsingExceptionsRarException::setUsingExceptionsZip简介安装/配置需求安装运行时配置资源类型预定义常量范例ZipArchiveZipArchive::addEmptyDirZipArchive::addFileZipArchive::addFromStringZipArchive::addGlobZipArchive::addPatternZipArchive::closeZipArchive::deleteIndexZipArchive::deleteNameZipArchive::extractToZipArchive::getArchiveCommentZipArchive::getCommentIndexZipArchive::getCommentNameZipArchive::getExternalAttributesIndexZipArchive::getExternalAttributesNameZipArchive::getFromIndexZipArchive::getFromNameZipArchive::getNameIndexZipArchive::getStatusStringZipArchive::getStreamZipArchive::locateNameZipArchive::openZipArchive::renameIndexZipArchive::renameNameZipArchive::setArchiveCommentZipArchive::setCommentIndexZipArchive::setCommentNameZipArchive::setCompressionIndexZipArchive::setCompressionNameZipArchive::setExternalAttributesIndexZipArchive::setExternalAttributesNameZipArchive::setPasswordZipArchive::statIndexZipArchive::statNameZipArchive::unchangeAllZipArchive::unchangeArchiveZipArchive::unchangeIndexZipArchive::unchangeNameZip 函数zip_closezip_entry_closezip_entry_compressedsizezip_entry_compressionmethodzip_entry_filesizezip_entry_namezip_entry_openzip_entry_readzip_openzip_readZlib简介安装/配置需求安装运行时配置资源类型预定义常量范例Zlib 函数gzclosegzcompressgzdecodegzdeflategzencodegzeofgzfilegzgetcgzgetsgzgetssgzinflategzopengzpassthrugzputsgzreadgzrewindgzseekgztellgzuncompressgzwritereadgzfilezlib_decodezlib_encodezlib_get_coding_type信用卡处理MCVE简介安装/配置需求安装运行时配置资源类型预定义常量MCVE 函数m_checkstatusm_completeauthorizationsm_connectm_connectionerrorm_deletetransm_destroyconnm_destroyenginem_getcellm_getcellbynumm_getcommadelimitedm_getheaderm_initconnm_initenginem_iscommadelimitedm_maxconntimeoutm_monitorm_numcolumnsm_numrowsm_parsecommadelimitedm_responsekeysm_responseparamm_returnstatusm_setblockingm_setdropfilem_setipm_setssl_cafilem_setssl_filesm_setsslm_settimeoutm_sslcert_gen_hashm_transactionssentm_transinqueuem_transkeyvalm_transnewm_transsendm_uwaitm_validateidentifierm_verifyconnectionm_verifysslcertSPPLUS简介安装/配置需求安装运行时配置资源类型预定义常量SPPLUS 函数calcul_hmaccalculhmacnthmacsigneurlpaiement加密扩展Crack简介安装/配置需求安装运行时配置资源类型预定义常量范例Crack 函数crack_checkcrack_closedictcrack_getlastmessagecrack_opendictCSPRNG简介安装/配置需求安装运行时配置资源类型预定义常量CSPRNG 函数random_bytesrandom_intHash简介安装/配置需求安装运行时配置资源类型预定义常量Hash 函数hash_algoshash_copyhash_equalshash_filehash_finalhash_hmac_filehash_hmachash_inithash_pbkdf2hash_update_filehash_update_streamhash_updatehashMcrypt简介安装/配置需求安装运行时配置资源类型预定义常量Mcrypt 密码范例Mcrypt 函数mcrypt_cbcmcrypt_cfbmcrypt_create_ivmcrypt_decryptmcrypt_ecbmcrypt_enc_get_algorithms_namemcrypt_enc_get_block_sizemcrypt_enc_get_iv_sizemcrypt_enc_get_key_sizemcrypt_enc_get_modes_namemcrypt_enc_get_supported_key_sizesmcrypt_enc_is_block_algorithm_modemcrypt_enc_is_block_algorithmmcrypt_enc_is_block_modemcrypt_enc_self_testmcrypt_encryptmcrypt_generic_deinitmcrypt_generic_endmcrypt_generic_initmcrypt_genericmcrypt_get_block_sizemcrypt_get_cipher_namemcrypt_get_iv_sizemcrypt_get_key_sizemcrypt_list_algorithmsmcrypt_list_modesmcrypt_module_closemcrypt_module_get_algo_block_sizemcrypt_module_get_algo_key_sizemcrypt_module_get_supported_key_sizesmcrypt_module_is_block_algorithm_modemcrypt_module_is_block_algorithmmcrypt_module_is_block_modemcrypt_module_openmcrypt_module_self_testmcrypt_ofbmdecrypt_genericMhash简介安装/配置需求安装运行时配置资源类型预定义常量范例Mhash 函数mhash_countmhash_get_block_sizemhash_get_hash_namemhash_keygen_s2kmhashOpenSSL简介安装/配置需求安装运行时配置资源类型预定义常量Purpose checking flagsPadding flags for asymmetric encryptionKey typesPKCS7 Flags/ConstantsSignature AlgorithmsCiphersVersion constantsServer Name Indication constantsKey/Certificate parametersCertificate VerificationOpenSSL 函数openssl_cipher_iv_lengthopenssl_csr_export_to_fileopenssl_csr_exportopenssl_csr_get_public_keyopenssl_csr_get_subjectopenssl_csr_newopenssl_csr_signopenssl_decryptopenssl_dh_compute_keyopenssl_digestopenssl_encryptopenssl_error_stringopenssl_free_keyopenssl_get_cert_locationsopenssl_get_cipher_methodsopenssl_get_md_methodsopenssl_get_privatekeyopenssl_get_publickeyopenssl_openopenssl_pbkdf2openssl_pkcs12_export_to_fileopenssl_pkcs12_exportopenssl_pkcs12_readopenssl_pkcs7_decryptopenssl_pkcs7_encryptopenssl_pkcs7_signopenssl_pkcs7_verifyopenssl_pkey_export_to_fileopenssl_pkey_exportopenssl_pkey_freeopenssl_pkey_get_detailsopenssl_pkey_get_privateopenssl_pkey_get_publicopenssl_pkey_newopenssl_private_decryptopenssl_private_encryptopenssl_public_decryptopenssl_public_encryptopenssl_random_pseudo_bytesopenssl_sealopenssl_signopenssl_spki_export_challengeopenssl_spki_exportopenssl_spki_newopenssl_spki_verifyopenssl_verifyopenssl_x509_check_private_keyopenssl_x509_checkpurposeopenssl_x509_export_to_fileopenssl_x509_exportopenssl_x509_fingerprintopenssl_x509_freeopenssl_x509_parseopenssl_x509_readPassword Hashing简介安装/配置需求安装运行时配置资源类型预定义常量Password Hashing 函数password_get_infopassword_hashpassword_needs_rehashpassword_verify数据库扩展数据库抽象层DBA简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageDBA 函数dba_closedba_deletedba_existsdba_fetchdba_firstkeydba_handlersdba_insertdba_key_splitdba_listdba_nextkeydba_opendba_optimizedba_popendba_replacedba_syncdbx简介安装/配置需求安装运行时配置资源类型预定义常量dbx 函数dbx_closedbx_comparedbx_connectdbx_errordbx_escape_stringdbx_fetch_rowdbx_querydbx_sortODBC简介安装/配置需求安装运行时配置资源类型预定义常量ODBC 函数odbc_autocommitodbc_binmodeodbc_close_allodbc_closeodbc_columnprivilegesodbc_columnsodbc_commitodbc_connectodbc_cursorodbc_data_sourceodbc_doodbc_errorodbc_errormsgodbc_execodbc_executeodbc_fetch_arrayodbc_fetch_intoodbc_fetch_objectodbc_fetch_rowodbc_field_lenodbc_field_nameodbc_field_numodbc_field_precisionodbc_field_scaleodbc_field_typeodbc_foreignkeysodbc_free_resultodbc_gettypeinfoodbc_longreadlenodbc_next_resultodbc_num_fieldsodbc_num_rowsodbc_pconnectodbc_prepareodbc_primarykeysodbc_procedurecolumnsodbc_proceduresodbc_result_allodbc_resultodbc_rollbackodbc_setoptionodbc_specialcolumnsodbc_statisticsodbc_tableprivilegesodbc_tablesPDO简介安装/配置需求安装运行时配置资源类型预定义常量连接与连接管理事务与自动提交预处理语句与存储过程错误与错误处理大对象 (LOBs)PDOPDO::beginTransactionPDO::commitPDO::__constructPDO::errorCodePDO::errorInfoPDO::execPDO::getAttributePDO::getAvailableDriversPDO::inTransactionPDO::lastInsertIdPDO::preparePDO::queryPDO::quotePDO::rollBackPDO::setAttributePDOStatementPDOStatement::bindColumnPDOStatement::bindParamPDOStatement::bindValuePDOStatement::closeCursorPDOStatement::columnCountPDOStatement::debugDumpParamsPDOStatement::errorCodePDOStatement::errorInfoPDOStatement::executePDOStatement::fetchPDOStatement::fetchAllPDOStatement::fetchColumnPDOStatement::fetchObjectPDOStatement::getAttributePDOStatement::getColumnMetaPDOStatement::nextRowsetPDOStatement::rowCountPDOStatement::setAttributePDOStatement::setFetchModePDOExceptionPDO 驱动CUBRID (PDO)PDO_CUBRID DSNPDO::cubrid_schemaMS SQL Server (PDO)PDO_DBLIB DSNFirebird (PDO)PDO_FIREBIRD DSNIBM (PDO)PDO_IBM DSNInformix (PDO)PDO_INFORMIX DSNMySQL (PDO)PDO_MYSQL DSNMS SQL Server (PDO)PDO_SQLSRV DSNOracle (PDO)PDO_OCI DSNODBC and DB2 (PDO)PDO_ODBC DSNPostgreSQL (PDO)PDO_PGSQL DSNPDO::pgsqlCopyFromArrayPDO::pgsqlCopyFromFilePDO::pgsqlCopyToArrayPDO::pgsqlCopyToFilePDO::pgsqlGetNotifyPDO::pgsqlGetPidPDO::pgsqlLOBCreatePDO::pgsqlLOBOpenPDO::pgsqlLOBUnlinkSQLite (PDO)PDO_SQLITE DSNPDO::sqliteCreateAggregatePDO::sqliteCreateCollationPDO::sqliteCreateFunction4D (PDO)PDO_4D DSNConstants for PDO_4DSQL types with PDO_4D and PHPSQL acceptable by 4DExamples with PDO_4D针对各数据库系统对应的扩展CUBRID简介安装/配置需求安装运行时配置资源类型预定义常量范例CUBRID 函数cubrid_bindcubrid_close_preparecubrid_close_requestcubrid_col_getcubrid_col_sizecubrid_column_namescubrid_column_typescubrid_commitcubrid_connect_with_urlcubrid_connectcubrid_current_oidcubrid_disconnectcubrid_dropcubrid_error_code_facilitycubrid_error_codecubrid_error_msgcubrid_executecubrid_fetchcubrid_free_resultcubrid_get_autocommitcubrid_get_charsetcubrid_get_class_namecubrid_get_client_infocubrid_get_db_parametercubrid_get_query_timeoutcubrid_get_server_infocubrid_getcubrid_insert_idcubrid_is_instancecubrid_lob_closecubrid_lob_exportcubrid_lob_getcubrid_lob_sendcubrid_lob_sizecubrid_lob2_bindcubrid_lob2_closecubrid_lob2_exportcubrid_lob2_importcubrid_lob2_newcubrid_lob2_readcubrid_lob2_seek64cubrid_lob2_seekcubrid_lob2_size64cubrid_lob2_sizecubrid_lob2_tell64cubrid_lob2_tellcubrid_lob2_writecubrid_lock_readcubrid_lock_writecubrid_move_cursorcubrid_next_resultcubrid_num_colscubrid_num_rowscubrid_pconnect_with_urlcubrid_pconnectcubrid_preparecubrid_putcubrid_rollbackcubrid_schemacubrid_seq_dropcubrid_seq_insertcubrid_seq_putcubrid_set_addcubrid_set_autocommitcubrid_set_db_parametercubrid_set_dropcubrid_set_query_timeoutcubrid_versionCUBRID MySQL 兼容性函数cubrid_affected_rowscubrid_client_encodingcubrid_closecubrid_data_seekcubrid_db_namecubrid_errnocubrid_errorcubrid_fetch_arraycubrid_fetch_assoccubrid_fetch_fieldcubrid_fetch_lengthscubrid_fetch_objectcubrid_fetch_rowcubrid_field_flagscubrid_field_lencubrid_field_namecubrid_field_seekcubrid_field_tablecubrid_field_typecubrid_list_dbscubrid_num_fieldscubrid_pingcubrid_querycubrid_real_escape_stringcubrid_resultcubrid_unbuffered_queryCUBRID 过时的别名和函数cubrid_load_from_glocubrid_new_glocubrid_save_to_glocubrid_send_gloDB++简介安装/配置需求安装运行时配置资源类型预定义常量db++ error codesDB++ 函数dbplus_adddbplus_aqldbplus_chdirdbplus_closedbplus_currdbplus_errcodedbplus_errnodbplus_finddbplus_firstdbplus_flushdbplus_freealllocksdbplus_freelockdbplus_freerlocksdbplus_getlockdbplus_getuniquedbplus_infodbplus_lastdbplus_lockreldbplus_nextdbplus_opendbplus_prevdbplus_rchpermdbplus_rcreatedbplus_rcrtexactdbplus_rcrtlikedbplus_resolvedbplus_restoreposdbplus_rkeysdbplus_ropendbplus_rquerydbplus_rrenamedbplus_rsecindexdbplus_runlinkdbplus_rzapdbplus_saveposdbplus_setindexdbplus_setindexbynumberdbplus_sqldbplus_tcldbplus_tremovedbplus_undodbplus_undopreparedbplus_unlockreldbplus_unselectdbplus_updatedbplus_xlockreldbplus_xunlockreldBase简介安装/配置需求安装运行时配置资源类型预定义常量dBase 函数dbase_add_recorddbase_closedbase_createdbase_delete_recorddbase_get_header_infodbase_get_record_with_namesdbase_get_recorddbase_numfieldsdbase_numrecordsdbase_opendbase_packdbase_replace_recordfilePro简介安装/配置需求安装运行时配置资源类型预定义常量filePro 函数filepro_fieldcountfilepro_fieldnamefilepro_fieldtypefilepro_fieldwidthfilepro_retrievefilepro_rowcountfileproFirebird/InterBase简介安装/配置需求安装运行时配置资源类型预定义常量Firebird/InterBase 函数ibase_add_useribase_affected_rowsibase_backupibase_blob_addibase_blob_cancelibase_blob_closeibase_blob_createibase_blob_echoibase_blob_getibase_blob_importibase_blob_infoibase_blob_openibase_closeibase_commit_retibase_commitibase_connectibase_db_infoibase_delete_useribase_drop_dbibase_errcodeibase_errmsgibase_executeibase_fetch_associbase_fetch_objectibase_fetch_rowibase_field_infoibase_free_event_handleribase_free_queryibase_free_resultibase_gen_idibase_maintain_dbibase_modify_useribase_name_resultibase_num_fieldsibase_num_paramsibase_param_infoibase_pconnectibase_prepareibase_queryibase_restoreibase_rollback_retibase_rollbackibase_server_infoibase_service_attachibase_service_detachibase_set_event_handleribase_transibase_wait_eventFrontBase简介安装/配置需求安装运行时配置资源类型预定义常量FrontBase 函数fbsql_affected_rowsfbsql_autocommitfbsql_blob_sizefbsql_change_userfbsql_clob_sizefbsql_closefbsql_commitfbsql_connectfbsql_create_blobfbsql_create_clobfbsql_create_dbfbsql_data_seekfbsql_database_passwordfbsql_databasefbsql_db_queryfbsql_db_statusfbsql_drop_dbfbsql_errnofbsql_errorfbsql_fetch_arrayfbsql_fetch_assocfbsql_fetch_fieldfbsql_fetch_lengthsfbsql_fetch_objectfbsql_fetch_rowfbsql_field_flagsfbsql_field_lenfbsql_field_namefbsql_field_seekfbsql_field_tablefbsql_field_typefbsql_free_resultfbsql_get_autostart_infofbsql_hostnamefbsql_insert_idfbsql_list_dbsfbsql_list_fieldsfbsql_list_tablesfbsql_next_resultfbsql_num_fieldsfbsql_num_rowsfbsql_passwordfbsql_pconnectfbsql_queryfbsql_read_blobfbsql_read_clobfbsql_resultfbsql_rollbackfbsql_rows_fetchedfbsql_select_dbfbsql_set_charactersetfbsql_set_lob_modefbsql_set_passwordfbsql_set_transactionfbsql_start_dbfbsql_stop_dbfbsql_table_namefbsql_tablenamefbsql_usernamefbsql_warningsIBM DB2简介安装/配置需求安装运行时配置资源类型预定义常量IBM DB2 函数db2_autocommitdb2_bind_paramdb2_client_infodb2_closedb2_column_privilegesdb2_columnsdb2_commitdb2_conn_errordb2_conn_errormsgdb2_connectdb2_cursor_typedb2_escape_stringdb2_execdb2_executedb2_fetch_arraydb2_fetch_assocdb2_fetch_bothdb2_fetch_objectdb2_fetch_rowdb2_field_display_sizedb2_field_namedb2_field_numdb2_field_precisiondb2_field_scaledb2_field_typedb2_field_widthdb2_foreign_keysdb2_free_resultdb2_free_stmtdb2_get_optiondb2_last_insert_iddb2_lob_readdb2_next_resultdb2_num_fieldsdb2_num_rowsdb2_pclosedb2_pconnectdb2_preparedb2_primary_keysdb2_procedure_columnsdb2_proceduresdb2_resultdb2_rollbackdb2_server_infodb2_set_optiondb2_special_columnsdb2_statisticsdb2_stmt_errordb2_stmt_errormsgdb2_table_privilegesdb2_tablesInformix简介安装/配置需求安装运行时配置资源类型预定义常量Informix 函数ifx_affected_rowsifx_blobinfile_modeifx_byteasvarcharifx_closeifx_connectifx_copy_blobifx_create_blobifx_create_charifx_doifx_errorifx_errormsgifx_fetch_rowifx_fieldpropertiesifx_fieldtypesifx_free_blobifx_free_charifx_free_resultifx_get_blobifx_get_charifx_getsqlcaifx_htmltbl_resultifx_nullformatifx_num_fieldsifx_num_rowsifx_pconnectifx_prepareifx_queryifx_textasvarcharifx_update_blobifx_update_charifxus_close_slobifxus_create_slobifxus_free_slobifxus_open_slobifxus_read_slobifxus_seek_slobifxus_tell_slobifxus_write_slobIngres简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageIngres 函数ingres_autocommit_stateingres_autocommitingres_charsetingres_closeingres_commitingres_connectingres_cursoringres_errnoingres_erroringres_errsqlstateingres_escape_stringingres_executeingres_fetch_arrayingres_fetch_associngres_fetch_objectingres_fetch_proc_returningres_fetch_rowingres_field_lengthingres_field_nameingres_field_nullableingres_field_precisioningres_field_scaleingres_field_typeingres_free_resultingres_next_erroringres_num_fieldsingres_num_rowsingres_pconnectingres_prepareingres_queryingres_result_seekingres_rollbackingres_set_environmentingres_unbuffered_queryMaxDB简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageMaxDB 函数maxdb_affected_rowsmaxdb::affected_rowsmaxdb_autocommitmaxdb::auto_commitmaxdb_bind_parammaxdb_bind_resultmaxdb_change_usermaxdb::change_usermaxdb_character_set_namemaxdb::character_set_namemaxdb_client_encodingmaxdb_close_long_datamaxdb::close_long_datamaxdb_closemaxdb::closemaxdb_commitmaxdb::commitmaxdb_connect_errnomaxdb_connect_errormaxdb_connectmaxdb::__constructmaxdb_data_seekmaxdb_result::data_seekmaxdb_debugmaxdb_disable_reads_from_mastermaxdb::disable_reads_from_mastermaxdb_disable_rpl_parsemaxdb_dump_debug_infomaxdb_embedded_connectmaxdb_enable_reads_from_mastermaxdb_enable_rpl_parsemaxdb_errnomaxdb::errnomaxdb_errormaxdb::errormaxdb_escape_stringmaxdb_executemaxdb_fetch_arraymaxdb_result::fetch_arraymaxdb_fetch_assocmaxdb_result::fetch_assocmaxdb_fetch_field_directmaxdb_result::fetch_field_directmaxdb_fetch_fieldmaxdb_result::fetch_fieldmaxdb_fetch_fieldsmaxdb_result::fetch_fieldsmaxdb_fetch_lengthsmaxdb_result::lengthsmaxdb_fetch_objectmaxdb_result::fetch_objectmaxdb_fetch_rowmaxdb_result::fetch_rowmaxdb_fetchmaxdb_field_countmaxdb::field_countmaxdb_field_seekmaxdb_result::field_seekmaxdb_field_tellmaxdb_result::current_fieldmaxdb_free_resultmaxdb_result::freemaxdb_get_client_infomaxdb_get_client_versionmaxdb_get_host_infomaxdb::get_host_infomaxdb_get_metadatamaxdb_get_proto_infomaxdb::protocol_versionmaxdb_get_server_infomaxdb::server_infomaxdb_get_server_versionmaxdb::server_versionmaxdb_infomaxdb::infomaxdb_initmaxdb_insert_idmaxdb::insert_idmaxdb_killmaxdb::killmaxdb_master_querymaxdb_more_resultsmaxdb::more_resultsmaxdb_multi_querymaxdb::multi_querymaxdb_next_resultmaxdb::next_resultmaxdb_num_fieldsmaxdb_result::field_countmaxdb_num_rowsmaxdb::num_rowsmaxdb_optionsmaxdb::optionsmaxdb_param_countmaxdb_pingmaxdb::pingmaxdb_preparemaxdb::preparemaxdb_querymaxdb::querymaxdb_real_connectmaxdb::real_connectmaxdb_real_escape_stringmaxdb::real_escape_stringmaxdb_real_querymaxdb::real_querymaxdb_reportmaxdb_rollbackmaxdb::rollbackmaxdb_rpl_parse_enabledmaxdb_rpl_probemaxdb_rpl_query_typemaxdb::rpl_query_typemaxdb_select_dbmaxdb::select_dbmaxdb_send_long_datamaxdb_send_querymaxdb::send_querymaxdb_server_endmaxdb_server_initmaxdb_set_optmaxdb_sqlstatemaxdb::sqlstatemaxdb_ssl_setmaxdb::ssl_setmaxdb_statmaxdb::statmaxdb_stmt_affected_rowsmaxdb_stmt::affected_rowsmaxdb_stmt_bind_parammaxdb_stmt::bind_parammaxdb_stmt_bind_resultmaxdb_stmt::bind_resultmaxdb_stmt_close_long_datamaxdb_stmt::close_long_datamaxdb_stmt_closemaxdb_stmt::closemaxdb_stmt_data_seekmaxdb_stmt::data_seekmaxdb_stmt_errnomaxdb_stmt::errnomaxdb_stmt_errormaxdb_stmt::errormaxdb_stmt_executemaxdb_stmt::executemaxdb_stmt_fetchmaxdb_stmt::fetchmaxdb_stmt_free_resultmaxdb_stmt::free_resultmaxdb_stmt_initmaxdb::stmt_initmaxdb_stmt_num_rowsmaxdb_stmt::num_rowsmaxdb_stmt_param_countmaxdb_stmt::param_countmaxdb_stmt_preparemaxdb_stmt::preparemaxdb_stmt_resetmaxdb_stmt::resetmaxdb_stmt_result_metadatamaxdb_stmt::result_metadatamaxdb_stmt_send_long_datamaxdb_stmt::send_long_datamaxdb_stmt_sqlstatemaxdb_stmt_store_resultmaxdb_stmt::store_resultmaxdb_store_resultmaxdb::store_resultmaxdb_thread_idmaxdb::thread_idmaxdb_thread_safemaxdb_use_resultmaxdb::use_resultmaxdb_warning_countmaxdb::warning_countMongo安装/配置需求安装运行时配置手册教程连接数据库获取数据库实例获取集合实例插入一个文档使用 MongoCollection::findOne 方法添加多个文档计算文档数量使用游标获取所有文档设置查询条件获取一个子集建立索引读取首选项Write ConcernsSQL 到 Mongo 的对应表链接服务器认证复制集合ShardingUnix Domain Socket支持Connection Pooling (version 1.2.0-1.2.12 *only*)Persistent Connections (version up to 1.1.4 *only*)WritesQueryingUpdatesSecurity故障排除Running the Driver's Tests核心类MongoClientMongoClient::closeMongoClient::connectMongoClient::__constructMongoClient::dropDBMongoClient::__getMongoClient::getConnectionsMongoClient::getHostsMongoClient::getReadPreferenceMongoClient::getWriteConcernMongoClient::killCursorMongoClient::listDBsMongoClient::selectCollectionMongoClient::selectDBMongoClient::setReadPreferenceMongoClient::setWriteConcernMongoClient::__toStringMongoDBMongoDB::authenticateMongoDB::commandMongoDB::__constructMongoDB::createCollectionMongoDB::createDBRefMongoDB::dropMongoDB::dropCollectionMongoDB::executeMongoDB::forceErrorMongoDB::__getMongoDB::getCollectionInfoMongoDB::getCollectionNamesMongoDB::getDBRefMongoDB::getGridFSMongoDB::getProfilingLevelMongoDB::getReadPreferenceMongoDB::getSlaveOkayMongoDB::getWriteConcernMongoDB::lastErrorMongoDB::listCollectionsMongoDB::prevErrorMongoDB::repairMongoDB::resetErrorMongoDB::selectCollectionMongoDB::setProfilingLevelMongoDB::setReadPreferenceMongoDB::setSlaveOkayMongoDB::setWriteConcernMongoDB::__toStringMongoCollectionMongoCollection::aggregateMongoCollection::aggregateCursorMongoCollection::batchInsertMongoCollection::__constructMongoCollection::countMongoCollection::createDBRefMongoCollection::createIndexMongoCollection::deleteIndexMongoCollection::deleteIndexesMongoCollection::distinctMongoCollection::dropMongoCollection::ensureIndexMongoCollection::findMongoCollection::findAndModifyMongoCollection::findOneMongoCollection::__getMongoCollection::getDBRefMongoCollection::getIndexInfoMongoCollection::getNameMongoCollection::getReadPreferenceMongoCollection::getSlaveOkayMongoCollection::getWriteConcernMongoCollection::groupMongoCollection::insertMongoCollection::parallelCollectionScanMongoCollection::removeMongoCollection::saveMongoCollection::setReadPreferenceMongoCollection::setSlaveOkayMongoCollection::setWriteConcernMongoCollection::toIndexStringMongoCollection::__toStringMongoCollection::updateMongoCollection::validateMongoCursorMongoCursor::addOptionMongoCursor::awaitDataMongoCursor::batchSizeMongoCursor::__constructMongoCursor::countMongoCursor::currentMongoCursor::deadMongoCursor::doQueryMongoCursor::explainMongoCursor::fieldsMongoCursor::getNextMongoCursor::getReadPreferenceMongoCursor::hasNextMongoCursor::hintMongoCursor::immortalMongoCursor::infoMongoCursor::keyMongoCursor::limitMongoCursor::maxTimeMSMongoCursor::nextMongoCursor::partialMongoCursor::resetMongoCursor::rewindMongoCursor::setFlagMongoCursor::setReadPreferenceMongoCursor::skipMongoCursor::slaveOkayMongoCursor::snapshotMongoCursor::sortMongoCursor::tailableMongoCursor::timeoutMongoCursor::validTypesMongoIdMongoId::__constructMongoId::getHostnameMongoId::getIncMongoId::getPIDMongoId::getTimestampMongoId::isValidMongoId::__set_stateMongoId::__toStringMongoCodeMongoCode::__constructMongoCode::__toStringMongoDateMongoDate::__constructMongoDate::toDateTimeMongoDate::__toStringMongoRegexMongoRegex::__constructMongoRegex::__toStringMongoBinDataMongoBinData::__constructMongoBinData::__toStringMongoInt32MongoInt32::__constructMongoInt32::__toStringMongoInt64MongoInt64::__constructMongoInt64::__toStringMongoDBRefMongoDBRef::createMongoDBRef::getMongoDBRef::isRefMongoMinKeyMongoMaxKeyMongoTimestampMongoTimestamp::__constructMongoTimestamp::__toStringGridFS ClassesMongoGridFSMongoGridFS::__constructMongoGridFS::deleteMongoGridFS::dropMongoGridFS::findMongoGridFS::findOneMongoGridFS::getMongoGridFS::putMongoGridFS::removeMongoGridFS::storeBytesMongoGridFS::storeFileMongoGridFS::storeUploadMongoGridFSFileMongoGridfsFile::__constructMongoGridFSFile::getBytesMongoGridFSFile::getFilenameMongoGridFSFile::getResourceMongoGridFSFile::getSizeMongoGridFSFile::writeMongoGridFSCursorMongoGridFSCursor::__constructMongoGridFSCursor::currentMongoGridFSCursor::getNextMongoGridFSCursor::keyMiscellaneousMongoLogMongoLog::getCallbackMongoLog::getLevelMongoLog::getModuleMongoLog::setCallbackMongoLog::setLevelMongoLog::setModuleMongoPoolMongoPool::getSizeMongoPool::infoMongoPool::setSizeMongoMongo::connectUtilMongo::__constructMongo::getPoolSizeMongo::getSlaveMongo::getSlaveOkayMongo::poolDebugMongo::setPoolSizeMongo::setSlaveOkayMongo::switchSlaveMongo 函数bson_decodebson_encodeExceptionsMongoExceptionMongoResultExceptionMongoResultException::getDocumentMongoCursorExceptionMongoCursorException::getHostMongoCursorTimeoutExceptionMongoConnectionExceptionMongoGridFSExceptionMongoDuplicateKeyExceptionMongoProtocolExceptionMongoExecutionTimeoutExceptionMongoWriteConcernExceptionMongoWriteConcernException::getDocument更新日志MongoDB安装/配置需求安装PHPHHVM运行时配置预定义常量TutorialsInstalling the driverInstallation with HHVMInstallation with PHPUsing the libraryDriver Architecture and InternalsArchitecturePersisting DataMongoDB\DriverMongoDB\Driver\ManagerMongoDB\Driver\Manager::__constructMongoDB\Driver\Manager::executeBulkWriteMongoDB\Driver\Manager::executeCommandMongoDB\Driver\Manager::executeQueryMongoDB\Driver\Manager::getServersMongoDB\Driver\Manager::selectServerMongoDB\Driver\CommandMongoDB\Driver\Command::__constructMongoDB\Driver\QueryMongoDB\Driver\Query::__constructMongoDB\Driver\BulkWriteMongoDB\Driver\BulkWrite::__constructMongoDB\Driver\BulkWrite::countMongoDB\Driver\BulkWrite::deleteMongoDB\Driver\BulkWrite::insertMongoDB\Driver\BulkWrite::updateMongoDB\Driver\WriteConcernMongoDB\Driver\WriteConcern::__constructMongoDB\Driver\ReadPreferenceMongoDB\Driver\ReadPreference::__constructMongoDB\Driver\CursorMongoDB\Driver\Cursor::__constructMongoDB\Driver\Cursor::getIdMongoDB\Driver\Cursor::getServerMongoDB\Driver\Cursor::isDeadMongoDB\Driver\Cursor::setTypeMapMongoDB\Driver\Cursor::toArrayMongoDB\Driver\CursorIdMongoDB\Driver\CursorId::__constructMongoDB\Driver\CursorId::__toStringMongoDB\Driver\ServerMongoDB\Driver\Server::__constructMongoDB\Driver\Server::executeBulkWriteMongoDB\Driver\Server::executeCommandMongoDB\Driver\Server::executeQueryMongoDB\Driver\Server::getHostMongoDB\Driver\Server::getInfoMongoDB\Driver\Server::getLatencyMongoDB\Driver\Server::getPortMongoDB\Driver\Server::getTagsMongoDB\Driver\Server::getTypeMongoDB\Driver\Server::isArbiterMongoDB\Driver\Server::isHiddenMongoDB\Driver\Server::isPassiveMongoDB\Driver\Server::isPrimaryMongoDB\Driver\Server::isSecondaryMongoDB\Driver\WriteConcernErrorMongoDB\Driver\WriteConcernError::getCodeMongoDB\Driver\WriteConcernError::getInfoMongoDB\Driver\WriteConcernError::getMessageMongoDB\Driver\WriteErrorMongoDB\Driver\WriteError::getCodeMongoDB\Driver\WriteError::getIndexMongoDB\Driver\WriteError::getMessageMongoDB\Driver\WriteResultMongoDB\Driver\WriteResult::getDeletedCountMongoDB\Driver\WriteResult::getInfoMongoDB\Driver\WriteResult::getInsertedCountMongoDB\Driver\WriteResult::getMatchedCountMongoDB\Driver\WriteResult::getModifiedCountMongoDB\Driver\WriteResult::getServerMongoDB\Driver\WriteResult::getUpsertedCountMongoDB\Driver\WriteResult::getUpsertedIdsMongoDB\Driver\WriteResult::getWriteConcernErrorMongoDB\Driver\WriteResult::getWriteErrorsMongoDB\Driver\BSON函数MongoDB\BSON\fromJSONMongoDB\BSON\fromPHPMongoDB\BSON\toJSONMongoDB\BSON\toPHPMongoDB\BSON\BinaryMongoDB\BSON\Binary::__constructMongoDB\BSON\Binary::getSubTypeMongoDB\BSON\JavascriptMongoDB\BSON\Javascript::__constructMongoDB\BSON\MaxKeyMongoDB\BSON\MinKeyMongoDB\BSON\ObjectIDMongoDB\BSON\ObjectID::__constructMongoDB\BSON\ObjectID::__toStringMongoDB\BSON\RegexMongoDB\BSON\Regex::__constructMongoDB\BSON\Regex::getFlagsMongoDB\BSON\Regex::getPatternMongoDB\BSON\Regex::__toStringMongoDB\BSON\TimestampMongoDB\BSON\Timestamp::__constructMongoDB\BSON\Timestamp::__toStringMongoDB\BSON\UTCDatetimeMongoDB\BSON\UTCDatetime::__constructMongoDB\BSON\UTCDatetime::toDateTimeMongoDB\BSON\UTCDatetime::__toStringMongoDB\BSON\TypeMongoDB\BSON\PersistableMongoDB\BSON\SerializableMongoDB\BSON\Serializable::bsonSerializeMongoDB\BSON\UnserializableMongoDB\BSON\Unserializable::bsonUnserializeMongoDB\Driver\ExceptionMongoDB\Driver\Exception\AuthenticationExceptionMongoDB\Driver\Exception\BulkWriteExceptionMongoDB\Driver\Exception\ConnectionExceptionMongoDB\Driver\Exception\ConnectionTimeoutExceptionMongoDB\Driver\Exception\ExceptionMongoDB\Driver\Exception\ExecutionTimeoutExceptionMongoDB\Driver\Exception\InvalidArgumentExceptionMongoDB\Driver\Exception\LogicExceptionMongoDB\Driver\Exception\RuntimeExceptionMongoDB\Driver\Exception\SSLConnectionExceptionMongoDB\Driver\Exception\UnexpectedValueExceptionMongoDB\Driver\Exception\WriteExceptionMongoDB\Driver\Exception\WriteException::getWriteResultmSQL简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usagemSQL 函数msql_affected_rowsmsql_closemsql_connectmsql_create_dbmsql_createdbmsql_data_seekmsql_db_querymsql_dbnamemsql_drop_dbmsql_errormsql_fetch_arraymsql_fetch_fieldmsql_fetch_objectmsql_fetch_rowmsql_field_flagsmsql_field_lenmsql_field_namemsql_field_seekmsql_field_tablemsql_field_typemsql_fieldflagsmsql_fieldlenmsql_fieldnamemsql_fieldtablemsql_fieldtypemsql_free_resultmsql_list_dbsmsql_list_fieldsmsql_list_tablesmsql_num_fieldsmsql_num_rowsmsql_numfieldsmsql_numrowsmsql_pconnectmsql_querymsql_regcasemsql_resultmsql_select_dbmsql_tablenamemsqlMssql简介安装/配置需求安装运行时配置资源类型预定义常量Mssql 函数mssql_bindmssql_closemssql_connectmssql_data_seekmssql_executemssql_fetch_arraymssql_fetch_assocmssql_fetch_batchmssql_fetch_fieldmssql_fetch_objectmssql_fetch_rowmssql_field_lengthmssql_field_namemssql_field_seekmssql_field_typemssql_free_resultmssql_free_statementmssql_get_last_messagemssql_guid_stringmssql_initmssql_min_error_severitymssql_min_message_severitymssql_next_resultmssql_num_fieldsmssql_num_rowsmssql_pconnectmssql_querymssql_resultmssql_rows_affectedmssql_select_dbMySQLOverview of the MySQL PHP driversTerminology overviewChoosing an APIChoosing a libraryConceptsBuffered and Unbuffered queriesCharacter setsMysql简介安装/配置需求安装运行时配置资源类型更新日志预定义常量范例MySQL 扩展概述范例MySQL 函数mysql_affected_rowsmysql_client_encodingmysql_closemysql_connectmysql_create_dbmysql_data_seekmysql_db_namemysql_db_querymysql_drop_dbmysql_errnomysql_errormysql_escape_stringmysql_fetch_arraymysql_fetch_assocmysql_fetch_fieldmysql_fetch_lengthsmysql_fetch_objectmysql_fetch_rowmysql_field_flagsmysql_field_lenmysql_field_namemysql_field_seekmysql_field_tablemysql_field_typemysql_free_resultmysql_get_client_infomysql_get_host_infomysql_get_proto_infomysql_get_server_infomysql_infomysql_insert_idmysql_list_dbsmysql_list_fieldsmysql_list_processesmysql_list_tablesmysql_num_fieldsmysql_num_rowsmysql_pconnectmysql_pingmysql_querymysql_real_escape_stringmysql_resultmysql_select_dbmysql_set_charsetmysql_statmysql_tablenamemysql_thread_idmysql_unbuffered_queryMysqli简介OverviewQuick start guideDual procedural and object-oriented interfaceConnectionsExecuting statementsPrepared StatementsStored ProceduresMultiple StatementsAPI support for transactionsMetadata安装/配置需求安装运行时配置资源类型mysqli扩展和持久化连接预定义常量NotesMySQLi扩展功能概述MySQLimysqli::$affected_rowsmysqli_affected_rowsmysqli::autocommitmysqli_autocommitmysqli::begin_transactionmysqli_begin_transactionmysqli::change_usermysqli_change_usermysqli::character_set_namemysqli_character_set_namemysqli::$client_infomysqli_get_client_infomysqli::$client_versionmysqli_get_client_versionmysqli::closemysqli_closemysqli::commitmysqli_commitmysqli::$connect_errnomysqli_connect_errnomysqli::$connect_errormysqli_connect_errormysqli::__constructmysqli_connectmysqli::debugmysqli_debugmysqli::dump_debug_infomysqli_dump_debug_infomysqli::errnomysqli_errnomysqli::$error_listmysqli_error_listmysqli::$errormysqli_errormysqli::$field_countmysqli_field_countmysqli::get_charsetmysqli_get_charsetmysqli::get_client_infomysqli_get_client_infomysqli_get_client_statsmysqli_get_client_versionmysqli::$client_versionmysqli::get_connection_statsmysqli_get_connection_statsmysqli::$host_infomysqli_get_host_infomysqli::$protocol_versionmysqli_get_proto_infomysqli::$server_infomysqli_get_server_infomysqli::$server_versionmysqli_get_server_versionmysqli::get_warningsmysqli_get_warningsmysqli::$infomysqli_infomysqli::initmysqli_initmysqli::$insert_idmysqli_insert_idmysqli::killmysqli_killmysqli::more_resultsmysqli_more_resultsmysqli::multi_querymysqli_multi_querymysqli::next_resultmysqli_next_resultmysqli::optionsmysqli_optionsmysqli::pingmysqli_pingmysqli::pollmysqli_pollmysqli::preparemysqli_preparemysqli::querymysqli_querymysqli::real_connectmysqli_real_connectmysqli::real_escape_stringmysqli_real_escape_stringmysqli::real_querymysqli_real_querymysqli::reap_async_querymysqli_reap_async_querymysqli::refreshmysqli_refreshmysqli::release_savepointmysqli_release_savepointmysqli::rollbackmysqli_rollbackmysqli::rpl_query_typemysqli_rpl_query_typemysqli::savepointmysqli_savepointmysqli::select_dbmysqli_select_dbmysqli::send_querymysqli_send_querymysqli::set_charsetmysqli_set_charsetmysqli::set_local_infile_defaultmysqli_set_local_infile_defaultmysqli::set_local_infile_handlermysqli_set_local_infile_handlermysqli::$sqlstatemysqli_sqlstatemysqli::ssl_setmysqli_ssl_setmysqli::statmysqli_statmysqli::stmt_initmysqli_stmt_initmysqli::store_resultmysqli_store_resultmysqli::$thread_idmysqli_thread_idmysqli::thread_safemysqli_thread_safemysqli::use_resultmysqli_use_resultmysqli::$warning_countmysqli_warning_countMySQLi_STMTmysqli_stmt::$affected_rowsmysqli_stmt_affected_rowsmysqli_stmt::attr_getmysqli_stmt_attr_getmysqli_stmt::attr_setmysqli_stmt_attr_setmysqli_stmt::bind_parammysqli_stmt_bind_parammysqli_stmt::bind_resultmysqli_stmt_bind_resultmysqli_stmt::closemysqli_stmt_closemysqli_stmt::__constructmysqli_stmt::data_seekmysqli_stmt_data_seekmysqli_stmt::$errnomysqli_stmt_errnomysqli_stmt::$error_listmysqli_stmt_error_listmysqli_stmt::$errormysqli_stmt_errormysqli_stmt::executemysqli_stmt_executemysqli_stmt::fetchmysqli_stmt_fetchmysqli_stmt::$field_countmysqli_stmt_field_countmysqli_stmt::free_resultmysqli_stmt_free_resultmysqli_stmt::get_resultmysqli_stmt_get_resultmysqli_stmt::get_warningsmysqli_stmt_get_warningsmysqli_stmt::$insert_idmysqli_stmt_insert_idmysqli_stmt::more_resultsmysqli_stmt_more_resultsmysqli_stmt::next_resultmysqli_stmt_next_resultmysqli_stmt::$num_rowsmysqli_stmt_num_rowsmysqli_stmt::$param_countmysqli_stmt_param_countmysqli_stmt::preparemysqli_stmt_preparemysqli_stmt::resetmysqli_stmt_resetmysqli_stmt::result_metadatamysqli_stmt_result_metadatamysqli_stmt::send_long_datamysqli_stmt_send_long_datamysqli_stmt::$sqlstatemysqli_stmt_sqlstatemysqli_stmt::store_resultmysqli_stmt_store_resultmysqli_resultmysqli_result::$current_fieldmysqli_field_tellmysqli_result::data_seekmysqli_data_seekmysqli_result::fetch_allmysqli_fetch_allmysqli_result::fetch_arraymysqli_fetch_arraymysqli_result::fetch_assocmysqli_fetch_assocmysqli_result::fetch_field_directmysqli_fetch_field_directmysqli_result::fetch_fieldmysqli_fetch_fieldmysqli_result::fetch_fieldsmysqli_fetch_fieldsmysqli_result::fetch_objectmysqli_fetch_objectmysqli_result::fetch_rowmysqli_fetch_rowmysqli_result::$field_countmysqli_num_fieldsmysqli_result::field_seekmysqli_field_seekmysqli_result::freemysqli_free_resultmysqli_result::$lengthsmysqli_fetch_lengthsmysqli_result::$num_rowsmysqli_num_rowsMySQLi_Drivermysqli_driver::embedded_server_endmysqli_embedded_server_endmysqli_driver::embedded_server_startmysqli_embedded_server_startmysqli_driver::$report_modemysqli_reportMySQLi_Warningmysqli_warning::__constructmysqli_warning::nextmysqli_sql_exception别名和过时的Mysqli 函数mysqli_bind_parammysqli_bind_resultmysqli_client_encodingmysqli_connectmysqli::disable_reads_from_mastermysqli_disable_reads_from_mastermysqli_disable_rpl_parsemysqli_enable_reads_from_mastermysqli_enable_rpl_parsemysqli_escape_stringmysqli_executemysqli_fetchmysqli_get_cache_statsmysqli_get_links_statsmysqli_get_metadatamysqli_master_querymysqli_param_countmysqli_reportmysqli_rpl_parse_enabledmysqli_rpl_probemysqli_send_long_datamysqli_set_optmysqli_slave_queryMysqlnd简介OverviewInstallation运行时配置IncompatibilitiesPersistent ConnectionsStatisticsNotesMemory managementMySQL Native Driver Plugin APIA comparison of mysqlnd plugins with MySQL ProxyObtaining the mysqlnd plugin APIMySQL Native Driver Plugin ArchitectureThe mysqlnd plugin APIGetting started building a mysqlnd pluginmysqlnd_ms简介快速入门与例子SetupRunning statements连接状态SQL Hints (SQL 优化器)事务XA/Distributed Transactions服务级别和一致性Global transaction IDs (GTID)Cache integration故障转移分区和分片MySQL Fabric概念Architecture连接池与切换事务控制错误处理短错误错误处理负载均衡Read-write splittingFilterService level and consistencyGlobal transaction IDsCache integrationSupported clustersXA/Distributed transactions安装/配置需求安装运行时配置Plugin configuration file (>=1.1.x)预定义常量Mysqlnd_ms 函数mysqlnd_ms_dump_serversmysqlnd_ms_fabric_select_globalmysqlnd_ms_fabric_select_shardmysqlnd_ms_get_last_gtidmysqlnd_ms_get_last_used_connectionmysqlnd_ms_get_statsmysqlnd_ms_match_wildmysqlnd_ms_query_is_selectmysqlnd_ms_set_qosmysqlnd_ms_set_user_pick_servermysqlnd_ms_xa_beginmysqlnd_ms_xa_commitmysqlnd_ms_xa_gcmysqlnd_ms_xa_rollbackChange HistoryPECL/mysqlnd_ms 1.6 seriesPECL/mysqlnd_ms 1.5 seriesPECL/mysqlnd_ms 1.4 seriesPECL/mysqlnd_ms 1.3 seriesPECL/mysqlnd_ms 1.2 seriesPECL/mysqlnd_ms 1.1 seriesPECL/mysqlnd_ms 1.0 seriesmysqlnd_qc简介Quickstart and ExamplesArchitecture and ConceptsSetupCaching queriesSetting the TTLPattern based cachingSlam defenseFinding cache candidatesMeasuring cache efficiencyBeyond TTL: user-defined storage安装/配置需求安装运行时配置预定义常量mysqlnd_qc 函数mysqlnd_qc_clear_cachemysqlnd_qc_get_available_handlersmysqlnd_qc_get_cache_infomysqlnd_qc_get_core_statsmysqlnd_qc_get_normalized_query_trace_logmysqlnd_qc_get_query_trace_logmysqlnd_qc_set_cache_conditionmysqlnd_qc_set_is_selectmysqlnd_qc_set_storage_handlermysqlnd_qc_set_user_handlersChange HistoryPECL/mysqlnd_qc 1.2 seriesPECL/mysqlnd_qc 1.1 seriesPECL/mysqlnd_qc 1.0 seriesmysqlnd_uh简介Quickstart and ExamplesSetupHow it worksInstalling a proxyBasic query monitoring安装/配置需求安装运行时配置资源类型预定义常量MysqlndUhConnectionMysqlndUhConnection::changeUserMysqlndUhConnection::charsetNameMysqlndUhConnection::closeMysqlndUhConnection::connectMysqlndUhConnection::__constructMysqlndUhConnection::endPSessionMysqlndUhConnection::escapeStringMysqlndUhConnection::getAffectedRowsMysqlndUhConnection::getErrorNumberMysqlndUhConnection::getErrorStringMysqlndUhConnection::getFieldCountMysqlndUhConnection::getHostInformationMysqlndUhConnection::getLastInsertIdMysqlndUhConnection::getLastMessageMysqlndUhConnection::getProtocolInformationMysqlndUhConnection::getServerInformationMysqlndUhConnection::getServerStatisticsMysqlndUhConnection::getServerVersionMysqlndUhConnection::getSqlstateMysqlndUhConnection::getStatisticsMysqlndUhConnection::getThreadIdMysqlndUhConnection::getWarningCountMysqlndUhConnection::initMysqlndUhConnection::killConnectionMysqlndUhConnection::listFieldsMysqlndUhConnection::listMethodMysqlndUhConnection::moreResultsMysqlndUhConnection::nextResultMysqlndUhConnection::pingMysqlndUhConnection::queryMysqlndUhConnection::queryReadResultsetHeaderMysqlndUhConnection::reapQueryMysqlndUhConnection::refreshServerMysqlndUhConnection::restartPSessionMysqlndUhConnection::selectDbMysqlndUhConnection::sendCloseMysqlndUhConnection::sendQueryMysqlndUhConnection::serverDumpDebugInformationMysqlndUhConnection::setAutocommitMysqlndUhConnection::setCharsetMysqlndUhConnection::setClientOptionMysqlndUhConnection::setServerOptionMysqlndUhConnection::shutdownServerMysqlndUhConnection::simpleCommandMysqlndUhConnection::simpleCommandHandleResponseMysqlndUhConnection::sslSetMysqlndUhConnection::stmtInitMysqlndUhConnection::storeResultMysqlndUhConnection::txCommitMysqlndUhConnection::txRollbackMysqlndUhConnection::useResultMysqlndUhPreparedStatementMysqlndUhPreparedStatement::__constructMysqlndUhPreparedStatement::executeMysqlndUhPreparedStatement::prepareMysqlnd_uh 函数mysqlnd_uh_convert_to_mysqlndmysqlnd_uh_set_connection_proxymysqlnd_uh_set_statement_proxyChange HistoryPECL/mysqlnd_uh 1.0 seriesmysqlnd_mux简介ConceptsArchitectureConnection poolSharing connections安装/配置需求安装运行时配置预定义常量Change HistoryPECL/mysqlnd_mux 1.0 seriesmysqlnd_memcache简介Quickstart and ExamplesSetupUsage安装/配置需求安装运行时配置预定义常量Mysqlnd_memcache 函数mysqlnd_memcache_get_configmysqlnd_memcache_setChange HistoryPECL/mysqlnd_memcache 1.0 seriesOCI8简介安装/配置需求安装Testing运行时配置预定义常量范例OCI8 Connection Handling and Connection PoolingOCI8 Fast Application Notification (FAN) SupportOCI8 and DTrace Dynamic TracingSupported DatatypesOCI8 函数oci_bind_array_by_nameoci_bind_by_nameoci_canceloci_client_versionoci_closeoci_commitoci_connectoci_define_by_nameoci_erroroci_executeoci_fetch_alloci_fetch_arrayoci_fetch_assococi_fetch_objectoci_fetch_rowoci_fetchoci_field_is_nulloci_field_nameoci_field_precisionoci_field_scaleoci_field_sizeoci_field_type_rawoci_field_typeoci_free_descriptoroci_free_statementoci_get_implicit_resultsetoci_internal_debugoci_lob_copyoci_lob_is_equaloci_new_collectionoci_new_connectoci_new_cursoroci_new_descriptoroci_num_fieldsoci_num_rowsoci_parseoci_password_changeoci_pconnectoci_resultoci_rollbackoci_server_versionoci_set_actionoci_set_client_identifieroci_set_client_infooci_set_editionoci_set_module_nameoci_set_prefetchoci_statement_typeOCI-CollectionOCI-Collection::appendOCI-Collection::assignOCI-Collection::assignElemOCI-Collection::freeOCI-Collection::getElemOCI-Collection::maxOCI-Collection::sizeOCI-Collection::trimOCI-LobOCI-Lob::appendOCI-Lob::closeOCI-Lob::eofOCI-Lob::eraseOCI-Lob::exportOCI-Lob::flushOCI-Lob::freeOCI-Lob::getBufferingOCI-Lob::importOCI-Lob::loadOCI-Lob::readOCI-Lob::rewindOCI-Lob::saveOCI-Lob::saveFileOCI-Lob::seekOCI-Lob::setBufferingOCI-Lob::sizeOCI-Lob::tellOCI-Lob::truncateOCI-Lob::writeOCI-Lob::writeTemporaryOCI-Lob::writeToFileOCI8 Obsolete Aliases and FunctionsocibindbynameocicancelocicloselobocicollappendocicollassignocicollassignelemocicollgetelemocicollmaxocicollsizeocicolltrimocicolumnisnullocicolumnnameocicolumnprecisionocicolumnscaleocicolumnsizeocicolumntypeocicolumntyperawocicommitocidefinebynameocierrorociexecuteocifetchocifetchintoocifetchstatementocifreecollectionocifreecursorocifreedescocifreestatementociinternaldebugociloadlobocilogoffocilogonocinewcollectionocinewcursorocinewdescriptorocinlogonocinumcolsociparseociplogonociresultocirollbackocirowcountocisavelobocisavelobfileociserverversionocisetprefetchocistatementtypeociwritelobtofileociwritetemporarylobParadox简介安装/配置需求安装运行时配置资源类型预定义常量Paradox 函数px_closepx_create_fppx_date2stringpx_delete_recordpx_deletepx_get_fieldpx_get_infopx_get_parameterpx_get_recordpx_get_schemapx_get_valuepx_insert_recordpx_newpx_numfieldspx_numrecordspx_open_fppx_put_recordpx_retrieve_recordpx_set_blob_filepx_set_parameterpx_set_tablenamepx_set_targetencodingpx_set_valuepx_timestamp2stringpx_update_recordPostgreSQL简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usagePostgreSQL 函数pg_affected_rowspg_cancel_querypg_client_encodingpg_closepg_connect_pollpg_connectpg_connection_busypg_connection_resetpg_connection_statuspg_consume_inputpg_convertpg_copy_frompg_copy_topg_dbnamepg_deletepg_end_copypg_escape_byteapg_escape_identifierpg_escape_literalpg_escape_stringpg_executepg_fetch_all_columnspg_fetch_allpg_fetch_arraypg_fetch_assocpg_fetch_objectpg_fetch_resultpg_fetch_rowpg_field_is_nullpg_field_namepg_field_numpg_field_prtlenpg_field_sizepg_field_tablepg_field_type_oidpg_field_typepg_flushpg_free_resultpg_get_notifypg_get_pidpg_get_resultpg_hostpg_insertpg_last_errorpg_last_noticepg_last_oidpg_lo_closepg_lo_createpg_lo_exportpg_lo_importpg_lo_openpg_lo_read_allpg_lo_readpg_lo_seekpg_lo_tellpg_lo_truncatepg_lo_unlinkpg_lo_writepg_meta_datapg_num_fieldspg_num_rowspg_optionspg_parameter_statuspg_pconnectpg_pingpg_portpg_preparepg_put_linepg_query_paramspg_querypg_result_error_fieldpg_result_errorpg_result_seekpg_result_statuspg_selectpg_send_executepg_send_preparepg_send_query_paramspg_send_querypg_set_client_encodingpg_set_error_verbositypg_socketpg_tracepg_transaction_statuspg_ttypg_unescape_byteapg_untracepg_updatepg_versionSQLite简介安装/配置需求安装运行时配置资源类型预定义常量SQLite 函数sqlite_array_querySQLiteDatabase::arrayQuerysqlite_busy_timeoutSQLiteDatabase::busyTimeoutsqlite_changesSQLiteDatabase::changessqlite_closesqlite_columnSQLiteResult::columnSQLiteUnbuffered::columnsqlite_create_aggregateSQLiteDatabase::createAggregatesqlite_create_functionSQLiteDatabase::createFunctionsqlite_currentSQLiteResult::currentSQLiteUnbuffered::currentsqlite_error_stringsqlite_escape_stringsqlite_execSQLiteDatabase::execsqlite_factorysqlite_fetch_allSQLiteResult::fetchAllSQLiteUnbuffered::fetchAllsqlite_fetch_arraySQLiteResult::fetchSQLiteUnbuffered::fetchsqlite_fetch_column_typesSQLiteDatabase::fetchColumnTypessqlite_fetch_objectSQLiteResult::fetchObjectSQLiteUnbuffered::fetchObjectsqlite_fetch_singleSQLiteResult::fetchSingleSQLiteUnbuffered::fetchSinglesqlite_fetch_stringsqlite_field_nameSQLiteResult::fieldNameSQLiteUnbuffered::fieldNamesqlite_has_moresqlite_has_prevSQLiteResult::hasPrevsqlite_keySQLiteResult::keysqlite_last_errorSQLiteDatabase::lastErrorsqlite_last_insert_rowidSQLiteDatabase::lastInsertRowidsqlite_libencodingsqlite_libversionsqlite_nextSQLiteResult::nextSQLiteUnbuffered::nextsqlite_num_fieldsSQLiteResult::numFieldsSQLiteUnbuffered::numFieldssqlite_num_rowsSQLiteResult::numRowssqlite_opensqlite_popensqlite_prevSQLiteResult::prevsqlite_querySQLiteDatabase::querysqlite_rewindSQLiteResult::rewindsqlite_seekSQLiteResult::seeksqlite_single_querySQLiteDatabase::singleQuerysqlite_udf_decode_binarysqlite_udf_encode_binarysqlite_unbuffered_querySQLiteDatabase::unbufferedQuerysqlite_validSQLiteResult::validSQLiteUnbuffered::validSQLite3简介安装/配置需求安装运行时配置资源类型预定义常量SQLite3SQLite3::busyTimeoutSQLite3::changesSQLite3::closeSQLite3::__constructSQLite3::createAggregateSQLite3::createCollationSQLite3::createFunctionSQLite3::escapeStringSQLite3::execSQLite3::lastErrorCodeSQLite3::lastErrorMsgSQLite3::lastInsertRowIDSQLite3::loadExtensionSQLite3::openSQLite3::prepareSQLite3::querySQLite3::querySingleSQLite3::versionSQLite3StmtSQLite3Stmt::bindParamSQLite3Stmt::bindValueSQLite3Stmt::clearSQLite3Stmt::closeSQLite3Stmt::executeSQLite3Stmt::paramCountSQLite3Stmt::resetSQLite3ResultSQLite3Result::columnNameSQLite3Result::columnTypeSQLite3Result::fetchArraySQLite3Result::finalizeSQLite3Result::numColumnsSQLite3Result::resetSQLSRV简介安装/配置需求安装运行时配置资源类型预定义常量SQLSRV 函数sqlsrv_begin_transactionsqlsrv_cancelsqlsrv_client_infosqlsrv_closesqlsrv_commitsqlsrv_configuresqlsrv_connectsqlsrv_errorssqlsrv_executesqlsrv_fetch_arraysqlsrv_fetch_objectsqlsrv_fetchsqlsrv_field_metadatasqlsrv_free_stmtsqlsrv_get_configsqlsrv_get_fieldsqlsrv_has_rowssqlsrv_next_resultsqlsrv_num_fieldssqlsrv_num_rowssqlsrv_preparesqlsrv_querysqlsrv_rollbacksqlsrv_rows_affectedsqlsrv_send_stream_datasqlsrv_server_infoSybase简介安装/配置需求安装运行时配置资源类型预定义常量Sybase 函数sybase_affected_rowssybase_closesybase_connectsybase_data_seeksybase_deadlock_retry_countsybase_fetch_arraysybase_fetch_assocsybase_fetch_fieldsybase_fetch_objectsybase_fetch_rowsybase_field_seeksybase_free_resultsybase_get_last_messagesybase_min_client_severitysybase_min_error_severitysybase_min_message_severitysybase_min_server_severitysybase_num_fieldssybase_num_rowssybase_pconnectsybase_querysybase_resultsybase_select_dbsybase_set_message_handlersybase_unbuffered_querytokyo_tyrant简介安装/配置需求安装运行时配置资源类型预定义常量范例TokyoTyrantTokyoTyrant::addTokyoTyrant::connectTokyoTyrant::connectUriTokyoTyrant::__constructTokyoTyrant::copyTokyoTyrant::extTokyoTyrant::fwmKeysTokyoTyrant::getTokyoTyrant::getIteratorTokyoTyrant::numTokyoTyrant::outTokyoTyrant::putTokyoTyrant::putCatTokyoTyrant::putKeepTokyoTyrant::putNrTokyoTyrant::putShlTokyoTyrant::restoreTokyoTyrant::setMasterTokyoTyrant::sizeTokyoTyrant::statTokyoTyrant::syncTokyoTyrant::tuneTokyoTyrant::vanishTokyoTyrantTableTokyoTyrantTable::addTokyoTyrantTable::genUidTokyoTyrantTable::getTokyoTyrantTable::getIteratorTokyoTyrantTable::getQueryTokyoTyrantTable::outTokyoTyrantTable::putTokyoTyrantTable::putCatTokyoTyrantTable::putKeepTokyoTyrantTable::putNrTokyoTyrantTable::putShlTokyoTyrantTable::setIndexTokyoTyrantQueryTokyoTyrantQuery::addCondTokyoTyrantQuery::__constructTokyoTyrantQuery::countTokyoTyrantQuery::currentTokyoTyrantQuery::hintTokyoTyrantQuery::keyTokyoTyrantQuery::metaSearchTokyoTyrantQuery::nextTokyoTyrantQuery::outTokyoTyrantQuery::rewindTokyoTyrantQuery::searchTokyoTyrantQuery::setLimitTokyoTyrantQuery::setOrderTokyoTyrantQuery::validTokyoTyrantIteratorTokyoTyrantIterator::__constructTokyoTyrantIterator::currentTokyoTyrantIterator::keyTokyoTyrantIterator::nextTokyoTyrantIterator::rewindTokyoTyrantIterator::validTokyoTyrantException日期与时间相关扩展Calendar简介安装/配置需求安装运行时配置资源类型预定义常量日历 函数cal_days_in_monthcal_from_jdcal_infocal_to_jdeaster_dateeaster_daysFrenchToJDGregorianToJDJDDayOfWeekJDMonthNameJDToFrenchJDToGregorianjdtojewishJDToJulianjdtounixJewishToJDJulianToJDunixtojd日期/时间简介安装/配置需求安装运行时配置资源类型预定义常量DateTimeDateTime::adddate_addDateTime::__constructdate_createDateTime::createFromFormatdate_create_from_formatDateTime::getLastErrorsdate_get_last_errorsDateTime::modifydate_modifyDateTime::__set_stateDateTime::setDatedate_date_setDateTime::setISODatedate_isodate_setDateTime::setTimedate_time_setDateTime::setTimestampdate_timestamp_setDateTime::setTimezonedate_timezone_setDateTime::subdate_subDateTimeImmutableDateTimeImmutable::addDateTimeImmutable::__constructdate_create_immutableDateTimeImmutable::createFromFormatdate_create_immutable_from_formatDateTimeImmutable::createFromMutableDateTimeImmutable::getLastErrorsDateTimeImmutable::modifyDateTimeImmutable::__set_stateDateTimeImmutable::setDateDateTimeImmutable::setISODateDateTimeImmutable::setTimeDateTimeImmutable::setTimestampDateTimeImmutable::setTimezoneDateTimeImmutable::subDateTimeInterfaceDateTime::diffDateTimeImmutable::diffDateTimeInterface::diffdate_diffDateTime::formatDateTimeImmutable::formatDateTimeInterface::formatdate_formatDateTime::getOffsetDateTimeImmutable::getOffsetDateTimeInterface::getOffsetdate_offset_getDateTime::getTimestampDateTimeImmutable::getTimestampDateTimeInterface::getTimestampdate_timestamp_getDateTime::getTimezoneDateTimeImmutable::getTimezoneDateTimeInterface::getTimezonedate_timezone_getDateTime::__wakeupDateTimeImmutable::__wakeupDateTimeInterface::__wakeupDateTimeZoneDateTimeZone::__constructtimezone_openDateTimeZone::getLocationtimezone_location_getDateTimeZone::getNametimezone_name_getDateTimeZone::getOffsettimezone_offset_getDateTimeZone::getTransitionstimezone_transitions_getDateTimeZone::listAbbreviationstimezone_abbreviations_listDateTimeZone::listIdentifierstimezone_identifiers_listDateIntervalDateInterval::__constructDateInterval::createFromDateStringDateInterval::formatDatePeriodDatePeriod::__constructDate/Time 函数checkdatedate_adddate_create_from_formatdate_create_immutable_from_formatdate_create_immutabledate_createdate_date_setdate_default_timezone_getdate_default_timezone_setdate_diffdate_formatdate_get_last_errorsdate_interval_create_from_date_stringdate_interval_formatdate_isodate_setdate_modifydate_offset_getdate_parse_from_formatdate_parsedate_subdate_sun_infodate_sunrisedate_sunsetdate_time_setdate_timestamp_getdate_timestamp_setdate_timezone_getdate_timezone_setdategetdategettimeofdaygmdategmmktimegmstrftimeidatelocaltimemicrotimemktimestrftimestrptimestrtotimetimetimezone_abbreviations_listtimezone_identifiers_listtimezone_location_gettimezone_name_from_abbrtimezone_name_gettimezone_offset_gettimezone_opentimezone_transitions_gettimezone_version_getSupported Date and Time FormatsTime FormatsDate FormatsCompound FormatsRelative Formats所支持的时区列表非洲美洲南极洲北极亚洲大西洋澳洲欧洲印度太平洋地区其他HRTime简介安装/配置安装范例Basic usageHRTime\PerformanceCounterHRTime\PerformanceCounter::getElapsedTicksHRTime\PerformanceCounter::getFrequencyHRTime\PerformanceCounter::getLastElapsedTicksHRTime\PerformanceCounter::isRunningHRTime\PerformanceCounter::startHRTime\PerformanceCounter::stopHRTime\StopWatchHRTime\StopWatch::getElapsedTimeHRTime\StopWatch::getLastElapsedTimeHRTime\Unit文件系统相关扩展Direct IO简介安装/配置需求安装运行时配置资源类型预定义常量Direct IO 函数dio_closedio_fcntldio_opendio_readdio_seekdio_statdio_tcsetattrdio_truncatedio_write目录安装/配置需求安装运行时配置资源类型预定义常量DirectoryDirectory::closeDirectory::readDirectory::rewindDirectory 函数chdirchrootclosedirdirgetcwdopendirreaddirrewinddirscandirFileinfo简介安装/配置需求安装运行时配置资源类型预定义常量Fileinfo 函数finfo_bufferfinfo::bufferfinfo_closefinfo_filefinfo::filefinfo_openfinfo::__constructfinfo_set_flagsfinfo::set_flagsmime_content_typefinfofinfo::bufferfinfo::__constructfinfo::filefinfo::set_flagsFilesystem简介安装/配置需求安装运行时配置资源类型预定义常量Filesystem 函数basenamechgrpchmodchownclearstatcachecopydeletedirnamedisk_free_spacedisk_total_spacediskfreespacefclosefeoffflushfgetcfgetcsvfgetsfgetssfile_existsfile_get_contentsfile_put_contentsfilefileatimefilectimefilegroupfileinodefilemtimefileownerfilepermsfilesizefiletypeflockfnmatchfopenfpassthrufputcsvfputsfreadfscanffseekfstatftellftruncatefwriteglobis_diris_executableis_fileis_linkis_readableis_uploaded_fileis_writableis_writeablelchgrplchownlinklinkinfolstatmkdirmove_uploaded_fileparse_ini_fileparse_ini_stringpathinfopclosepopenreadfilereadlinkrealpath_cache_getrealpath_cache_sizerealpathrenamerewindrmdirset_file_bufferstatsymlinktempnamtmpfiletouchumaskunlinkInotify简介安装/配置需求安装/配置运行时配置资源类型预定义常量Inotify 函数inotify_add_watchinotify_initinotify_queue_leninotify_readinotify_rm_watchMimetype简介安装/配置需求安装运行时配置资源类型预定义常量Proctitle简介安装/配置需求安装运行时配置资源类型预定义常量Proctitle 函数setproctitlesetthreadtitlexattr简介安装/配置需求安装运行时配置资源类型预定义常量xattr 函数xattr_getxattr_listxattr_removexattr_setxattr_supportedxdiff简介安装/配置需求安装运行时配置资源类型预定义常量xdiff 函数xdiff_file_bdiff_sizexdiff_file_bdiffxdiff_file_bpatchxdiff_file_diff_binaryxdiff_file_diffxdiff_file_merge3xdiff_file_patch_binaryxdiff_file_patchxdiff_file_rabdiffxdiff_string_bdiff_sizexdiff_string_bdiffxdiff_string_bpatchxdiff_string_diff_binaryxdiff_string_diffxdiff_string_merge3xdiff_string_patch_binaryxdiff_string_patchxdiff_string_rabdiff国际化与字符编码支持Enchant简介安装/配置需求安装运行时配置资源类型预定义常量范例Enchant 函数enchant_broker_describeenchant_broker_dict_existsenchant_broker_free_dictenchant_broker_freeenchant_broker_get_dict_pathenchant_broker_get_errorenchant_broker_initenchant_broker_list_dictsenchant_broker_request_dictenchant_broker_request_pwl_dictenchant_broker_set_dict_pathenchant_broker_set_orderingenchant_dict_add_to_personalenchant_dict_add_to_sessionenchant_dict_checkenchant_dict_describeenchant_dict_get_errorenchant_dict_is_in_sessionenchant_dict_quick_checkenchant_dict_store_replacementenchant_dict_suggestFriBiDi简介安装/配置需求安装运行时配置资源类型预定义常量FriBiDi 函数fribidi_log2visGender简介安装/配置安装范例Usage example.Gender\GenderGender\Gender::connectGender\Gender::__constructGender\Gender::countryGender\Gender::getGender\Gender::isNickGender\Gender::similarNamesGettext简介安装/配置需求安装运行时配置资源类型预定义常量Gettext 函数bind_textdomain_codesetbindtextdomaindcgettextdcngettextdgettextdngettextgettextngettexttextdomainiconv简介安装/配置需求安装运行时配置资源类型预定义常量iconv 函数iconv_get_encodingiconv_mime_decode_headersiconv_mime_decodeiconv_mime_encodeiconv_set_encodingiconv_strleniconv_strposiconv_strrposiconv_substriconvob_iconv_handlerintl简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usage of this extensionCollatorCollator::asortcollator_asortCollator::comparecollator_compareCollator::__constructCollator::createcollator_createCollator::getAttributecollator_get_attributeCollator::getErrorCodecollator_get_error_codeCollator::getErrorMessagecollator_get_error_messageCollator::getLocalecollator_get_localeCollator::getSortKeycollator_get_sort_keyCollator::getStrengthcollator_get_strengthCollator::setAttributecollator_set_attributeCollator::setStrengthcollator_set_strengthCollator::sortWithSortKeyscollator_sort_with_sort_keysCollator::sortcollator_sortNumberFormatterNumberFormatter::createnumfmt_createNumberFormatter::__constructNumberFormatter::formatCurrencynumfmt_format_currencyNumberFormatter::formatnumfmt_formatNumberFormatter::getAttributenumfmt_get_attributeNumberFormatter::getErrorCodenumfmt_get_error_codeNumberFormatter::getErrorMessagenumfmt_get_error_messageNumberFormatter::getLocalenumfmt_get_localeNumberFormatter::getPatternnumfmt_get_patternNumberFormatter::getSymbolnumfmt_get_symbolNumberFormatter::getTextAttributenumfmt_get_text_attributeNumberFormatter::parseCurrencynumfmt_parse_currencyNumberFormatter::parsenumfmt_parseNumberFormatter::setAttributenumfmt_set_attributeNumberFormatter::setPatternnumfmt_set_patternNumberFormatter::setSymbolnumfmt_set_symbolNumberFormatter::setTextAttributenumfmt_set_text_attributeLocaleLocale::acceptFromHttplocale_accept_from_httpLocale::canonicalizelocale_canonicalizeLocale::composeLocalelocale_composeLocale::filterMatcheslocale_filter_matchesLocale::getAllVariantslocale_get_all_variantsLocale::getDefaultlocale_get_defaultLocale::getDisplayLanguagelocale_get_display_languageLocale::getDisplayNamelocale_get_display_nameLocale::getDisplayRegionlocale_get_display_regionLocale::getDisplayScriptlocale_get_display_scriptLocale::getDisplayVariantlocale_get_display_variantLocale::getKeywordslocale_get_keywordsLocale::getPrimaryLanguagelocale_get_primary_languageLocale::getRegionlocale_get_regionLocale::getScriptlocale_get_scriptLocale::lookuplocale_lookupLocale::parseLocalelocale_parseLocale::setDefaultlocale_set_defaultNormalizerNormalizer::isNormalizednormalizer_is_normalizedNormalizer::normalizenormalizer_normalizeMessageFormatterMessageFormatter::createMessageFormatter::__constructmsgfmt_createMessageFormatter::formatMessagemsgfmt_format_messageMessageFormatter::formatmsgfmt_formatMessageFormatter::getErrorCodemsgfmt_get_error_codeMessageFormatter::getErrorMessagemsgfmt_get_error_messageMessageFormatter::getLocalemsgfmt_get_localeMessageFormatter::getPatternmsgfmt_get_patternMessageFormatter::parseMessagemsgfmt_parse_messageMessageFormatter::parsemsgfmt_parseMessageFormatter::setPatternmsgfmt_set_patternIntlCalendarIntlCalendar::addIntlCalendar::afterIntlCalendar::beforeIntlCalendar::clearIntlCalendar::__constructIntlCalendar::createInstanceIntlCalendar::equalsIntlCalendar::fieldDifferenceIntlCalendar::fromDateTimeIntlCalendar::getIntlCalendar::getActualMaximumIntlCalendar::getActualMinimumIntlCalendar::getAvailableLocalesIntlCalendar::getDayOfWeekTypeIntlCalendar::getErrorCodeintlcal_get_error_codeIntlCalendar::getErrorMessageintlcal_get_error_messageIntlCalendar::getFirstDayOfWeekIntlCalendar::getGreatestMinimumIntlCalendar::getKeywordValuesForLocaleIntlCalendar::getLeastMaximumIntlCalendar::getLocaleIntlCalendar::getMaximumIntlCalendar::getMinimalDaysInFirstWeekIntlCalendar::getMinimumIntlCalendar::getNowIntlCalendar::getRepeatedWallTimeOptionIntlCalendar::getSkippedWallTimeOptionIntlCalendar::getTimeIntlCalendar::getTimeZoneIntlCalendar::getTypeIntlCalendar::getWeekendTransitionIntlCalendar::inDaylightTimeIntlCalendar::isEquivalentToIntlCalendar::isLenientIntlCalendar::isSetIntlCalendar::isWeekendIntlCalendar::rollIntlCalendar::setIntlCalendar::setFirstDayOfWeekIntlCalendar::setLenientIntlCalendar::setMinimalDaysInFirstWeekIntlCalendar::setRepeatedWallTimeOptionIntlCalendar::setSkippedWallTimeOptionIntlCalendar::setTimeIntlCalendar::setTimeZoneIntlCalendar::toDateTimeIntlTimeZoneIntlTimeZone::countEquivalentIDsIntlTimeZone::createDefaultIntlTimeZone::createEnumerationIntlTimeZone::createTimeZoneIntlTimeZone::fromDateTimeZoneIntlTimeZone::getCanonicalIDIntlTimeZone::getDisplayNameIntlTimeZone::getDSTSavingsIntlTimeZone::getEquivalentIDIntlTimeZone::getErrorCodeintltz_get_error_codeIntlTimeZone::getErrorMessageintltz_get_error_messageIntlTimeZone::getGMTIntlTimeZone::getIDIntlTimeZone::getOffsetIntlTimeZone::getRawOffsetIntlTimeZone::getTZDataVersionIntlTimeZone::hasSameRulesIntlTimeZone::toDateTimeZoneIntlTimeZone::useDaylightTimeIntlDateFormatterIntlDateFormatter::createdatefmt_createIntlDateFormatter::__constructIntlDateFormatter::formatdatefmt_formatIntlDateFormatter::formatObjectdatefmt_format_objectIntlDateFormatter::getCalendardatefmt_get_calendarIntlDateFormatter::getDateTypedatefmt_get_datetypeIntlDateFormatter::getErrorCodedatefmt_get_error_codeIntlDateFormatter::getErrorMessagedatefmt_get_error_messageIntlDateFormatter::getLocaledatefmt_get_localeIntlDateFormatter::getPatterndatefmt_get_patternIntlDateFormatter::getTimeTypedatefmt_get_timetypeIntlDateFormatter::getTimeZoneIddatefmt_get_timezone_idIntlDateFormatter::getCalendarObjectdatefmt_get_calendar_objectIntlDateFormatter::getTimeZonedatefmt_get_timezoneIntlDateFormatter::isLenientdatefmt_is_lenientIntlDateFormatter::localtimedatefmt_localtimeIntlDateFormatter::parsedatefmt_parseIntlDateFormatter::setCalendardatefmt_set_calendarIntlDateFormatter::setLenientdatefmt_set_lenientIntlDateFormatter::setPatterndatefmt_set_patternIntlDateFormatter::setTimeZoneIddatefmt_set_timezone_idIntlDateFormatter::setTimeZonedatefmt_set_timezoneResourceBundleResourceBundle::countresourcebundle_countResourceBundle::createresourcebundle_createResourceBundle::__constructResourceBundle::getErrorCoderesourcebundle_get_error_codeResourceBundle::getErrorMessageresourcebundle_get_error_messageResourceBundle::getresourcebundle_getResourceBundle::getLocalesresourcebundle_localesSpoofcheckerSpoofchecker::areConfusableSpoofchecker::__constructSpoofchecker::isSuspiciousSpoofchecker::setAllowedLocalesSpoofchecker::setChecksTransliteratorTransliterator::__constructTransliterator::createtransliterator_createTransliterator::createFromRulestransliterator_create_from_rulesTransliterator::createInversetransliterator_create_inverseTransliterator::getErrorCodetransliterator_get_error_codeTransliterator::getErrorMessagetransliterator_get_error_messageTransliterator::listIDstransliterator_list_idsTransliterator::transliteratetransliterator_transliterateIntlBreakIteratorIntlBreakIterator::__constructIntlBreakIterator::createCharacterInstanceIntlBreakIterator::createCodePointInstanceIntlBreakIterator::createLineInstanceIntlBreakIterator::createSentenceInstanceIntlBreakIterator::createTitleInstanceIntlBreakIterator::createWordInstanceIntlBreakIterator::currentIntlBreakIterator::firstIntlBreakIterator::followingIntlBreakIterator::getErrorCodeintl_get_error_codeIntlBreakIterator::getErrorMessageintl_get_error_messageIntlBreakIterator::getLocaleIntlBreakIterator::getPartsIteratorIntlBreakIterator::getTextIntlBreakIterator::isBoundaryIntlBreakIterator::lastIntlBreakIterator::nextIntlBreakIterator::precedingIntlBreakIterator::previousIntlBreakIterator::setTextIntlRuleBasedBreakIteratorIntlRuleBasedBreakIterator::__constructIntlRuleBasedBreakIterator::getBinaryRulesIntlRuleBasedBreakIterator::getRulesIntlRuleBasedBreakIterator::getRuleStatusIntlRuleBasedBreakIterator::getRuleStatusVecIntlCodePointBreakIteratorIntlCodePointBreakIterator::getLastCodePointIntlPartsIteratorIntlPartsIterator::getBreakIteratorUConverterUConverter::__constructUConverter::convertUConverter::fromUCallbackUConverter::getAliasesUConverter::getAvailableUConverter::getDestinationEncodingUConverter::getDestinationTypeUConverter::getErrorCodeintl_get_error_codeUConverter::getErrorMessageUConverter::getSourceEncodingUConverter::getSourceTypeUConverter::getStandardsUConverter::getSubstCharsUConverter::reasonTextUConverter::setDestinationEncodingUConverter::setSourceEncodingUConverter::setSubstCharsUConverter::toUCallbackUConverter::transcodeGrapheme 函数grapheme_extractgrapheme_striposgrapheme_stristrgrapheme_strlengrapheme_strposgrapheme_strriposgrapheme_strrposgrapheme_strstrgrapheme_substrIDN 函数idn_to_asciiidn_to_unicodeidn_to_utf8IntlCharIntlChar::charAgeIntlChar::charDigitValueIntlChar::charDirectionIntlChar::charFromNameIntlChar::charMirrorIntlChar::charNameIntlChar::charTypeIntlChar::chrIntlChar::digitIntlChar::enumCharNamesIntlChar::enumCharTypesIntlChar::foldCaseIntlChar::forDigitIntlChar::getBidiPairedBracketIntlChar::getBlockCodeIntlChar::getCombiningClassIntlChar::getFC_NFKC_ClosureIntlChar::getIntPropertyMaxValueIntlChar::getIntPropertyMinValueIntlChar::getIntPropertyValueIntlChar::getNumericValueIntlChar::getPropertyEnumIntlChar::getPropertyNameIntlChar::getPropertyValueEnumIntlChar::getPropertyValueNameIntlChar::getUnicodeVersionIntlChar::hasBinaryPropertyIntlChar::isalnumIntlChar::isalphaIntlChar::isbaseIntlChar::isblankIntlChar::iscntrlIntlChar::isdefinedIntlChar::isdigitIntlChar::isgraphIntlChar::isIDIgnorableIntlChar::isIDPartIntlChar::isIDStartIntlChar::isISOControlIntlChar::isJavaIDPartIntlChar::isJavaIDStartIntlChar::isJavaSpaceCharIntlChar::islowerIntlChar::isMirroredIntlChar::isprintIntlChar::ispunctIntlChar::isspaceIntlChar::istitleIntlChar::isUAlphabeticIntlChar::isULowercaseIntlChar::isupperIntlChar::isUUppercaseIntlChar::isUWhiteSpaceIntlChar::isWhitespaceIntlChar::isxdigitIntlChar::ordIntlChar::tolowerIntlChar::totitleIntlChar::toupperIntlExceptionIntlIteratorIntlIterator::currentIntlIterator::keyIntlIterator::nextIntlIterator::rewindIntlIterator::validintl 函数intl_error_nameintl_get_error_codeintl_get_error_messageintl_is_failure多字节字符串简介安装/配置需求安装运行时配置资源类型预定义常量支持编码的摘要日文字符多字节编码基础HTTP 输入和输出支持的字符编码函数重载功能PHP字符编码的要求多字节字符串 函数mb_check_encodingmb_convert_casemb_convert_encodingmb_convert_kanamb_convert_variablesmb_decode_mimeheadermb_decode_numericentitymb_detect_encodingmb_detect_ordermb_encode_mimeheadermb_encode_numericentitymb_encoding_aliasesmb_ereg_matchmb_ereg_replace_callbackmb_ereg_replacemb_ereg_search_getposmb_ereg_search_getregsmb_ereg_search_initmb_ereg_search_posmb_ereg_search_regsmb_ereg_search_setposmb_ereg_searchmb_eregmb_eregi_replacemb_eregimb_get_infomb_http_inputmb_http_outputmb_internal_encodingmb_languagemb_list_encodingsmb_output_handlermb_parse_strmb_preferred_mime_namemb_regex_encodingmb_regex_set_optionsmb_send_mailmb_splitmb_strcutmb_strimwidthmb_striposmb_stristrmb_strlenmb_strposmb_strrchrmb_strrichrmb_strriposmb_strrposmb_strstrmb_strtolowermb_strtouppermb_strwidthmb_substitute_charactermb_substr_countmb_substrPspell简介安装/配置需求安装运行时配置资源类型预定义常量Pspell 函数pspell_add_to_personalpspell_add_to_sessionpspell_checkpspell_clear_sessionpspell_config_createpspell_config_data_dirpspell_config_dict_dirpspell_config_ignorepspell_config_modepspell_config_personalpspell_config_replpspell_config_runtogetherpspell_config_save_replpspell_new_configpspell_new_personalpspell_newpspell_save_wordlistpspell_store_replacementpspell_suggestRecode简介安装/配置需求安装运行时配置资源类型预定义常量Recode 函数recode_filerecode_stringrecode图像生成和处理Cairo简介安装/配置需求安装运行时配置资源类型预定义常量范例Cairo 函数cairo_createcairo_font_face_get_typecairo_font_face_statuscairo_font_options_createcairo_font_options_equalcairo_font_options_get_antialiascairo_font_options_get_hint_metricscairo_font_options_get_hint_stylecairo_font_options_get_subpixel_ordercairo_font_options_hashcairo_font_options_mergecairo_font_options_set_antialiascairo_font_options_set_hint_metricscairo_font_options_set_hint_stylecairo_font_options_set_subpixel_ordercairo_font_options_statuscairo_format_stride_for_widthcairo_image_surface_create_for_datacairo_image_surface_create_from_pngcairo_image_surface_createcairo_image_surface_get_datacairo_image_surface_get_formatcairo_image_surface_get_heightcairo_image_surface_get_stridecairo_image_surface_get_widthcairo_matrix_create_scalecairo_matrix_create_translatecairo_matrix_invertcairo_matrix_multiplycairo_matrix_rotatecairo_matrix_transform_distancecairo_matrix_transform_pointcairo_matrix_translatecairo_pattern_add_color_stop_rgbcairo_pattern_add_color_stop_rgbacairo_pattern_create_for_surfacecairo_pattern_create_linearcairo_pattern_create_radialcairo_pattern_create_rgbcairo_pattern_create_rgbacairo_pattern_get_color_stop_countcairo_pattern_get_color_stop_rgbacairo_pattern_get_extendcairo_pattern_get_filtercairo_pattern_get_linear_pointscairo_pattern_get_matrixcairo_pattern_get_radial_circlescairo_pattern_get_rgbacairo_pattern_get_surfacecairo_pattern_get_typecairo_pattern_set_extendcairo_pattern_set_filtercairo_pattern_set_matrixcairo_pattern_statuscairo_pdf_surface_createcairo_pdf_surface_set_sizecairo_ps_get_levelscairo_ps_level_to_stringcairo_ps_surface_createcairo_ps_surface_dsc_begin_page_setupcairo_ps_surface_dsc_begin_setupcairo_ps_surface_dsc_commentcairo_ps_surface_get_epscairo_ps_surface_restrict_to_levelcairo_ps_surface_set_epscairo_ps_surface_set_sizecairo_scaled_font_createcairo_scaled_font_extentscairo_scaled_font_get_ctmcairo_scaled_font_get_font_facecairo_scaled_font_get_font_matrixcairo_scaled_font_get_font_optionscairo_scaled_font_get_scale_matrixcairo_scaled_font_get_typecairo_scaled_font_glyph_extentscairo_scaled_font_statuscairo_scaled_font_text_extentscairo_surface_copy_pagecairo_surface_create_similarcairo_surface_finishcairo_surface_flushcairo_surface_get_contentcairo_surface_get_device_offsetcairo_surface_get_font_optionscairo_surface_get_typecairo_surface_mark_dirty_rectanglecairo_surface_mark_dirtycairo_surface_set_device_offsetcairo_surface_set_fallback_resolutioncairo_surface_show_pagecairo_surface_statuscairo_surface_write_to_pngcairo_svg_surface_createcairo_svg_surface_restrict_to_versioncairo_svg_version_to_stringCairoCairo::availableFontscairo_available_fontsCairo::availableSurfacescairo_available_surfacesCairo::statusToStringcairo_status_to_stringCairo::versioncairo_versionCairo::versionStringcairo_version_stringCairoContextCairoContext::appendPathcairo_append_pathCairoContext::arccairo_arcCairoContext::arcNegativecairo_arc_negativeCairoContext::clipcairo_clipCairoContext::clipExtentscairo_clip_extentsCairoContext::clipPreservecairo_clip_preserveCairoContext::clipRectangleListcairo_clip_rectangle_listCairoContext::closePathcairo_close_pathCairoContext::__constructCairoContext::copyPagecairo_copy_pageCairoContext::copyPathcairo_copy_pathCairoContext::copyPathFlatcairo_copy_path_flatCairoContext::curveTocairo_curve_toCairoContext::deviceToUsercairo_device_to_userCairoContext::deviceToUserDistancecairo_device_to_user_distanceCairoContext::fillcairo_fillCairoContext::fillExtentscairo_fill_extentsCairoContext::fillPreservecairo_fill_preserveCairoContext::fontExtentscairo_font_extentsCairoContext::getAntialiascairo_get_antialiasCairoContext::getCurrentPointcairo_get_current_pointCairoContext::getDashcairo_get_dashCairoContext::getDashCountcairo_get_dash_countCairoContext::getFillRulecairo_get_fill_ruleCairoContext::getFontFacecairo_get_font_faceCairoContext::getFontMatrixcairo_get_font_matrixCairoContext::getFontOptionscairo_get_font_optionsCairoContext::getGroupTargetcairo_get_group_targetCairoContext::getLineCapcairo_get_line_capCairoContext::getLineJoincairo_get_line_joinCairoContext::getLineWidthcairo_get_line_widthCairoContext::getMatrixcairo_get_matrixCairoContext::getMiterLimitcairo_get_miter_limitCairoContext::getOperatorcairo_get_operatorCairoContext::getScaledFontcairo_get_scaled_fontCairoContext::getSourcecairo_get_sourceCairoContext::getTargetcairo_get_targetCairoContext::getTolerancecairo_get_toleranceCairoContext::glyphPathcairo_glyph_pathCairoContext::hasCurrentPointcairo_has_current_pointCairoContext::identityMatrixcairo_identity_matrixCairoContext::inFillcairo_in_fillCairoContext::inStrokecairo_in_strokeCairoContext::lineTocairo_line_toCairoContext::maskcairo_maskCairoContext::maskSurfacecairo_mask_surfaceCairoContext::moveTocairo_move_toCairoContext::newPathcairo_new_pathCairoContext::newSubPathcairo_new_sub_pathCairoContext::paintcairo_paintCairoContext::paintWithAlphacairo_paint_with_alphaCairoContext::pathExtentscairo_path_extentsCairoContext::popGroupcairo_pop_groupCairoContext::popGroupToSourcecairo_pop_group_to_sourceCairoContext::pushGroupcairo_push_groupCairoContext::pushGroupWithContentcairo_push_group_with_contentCairoContext::rectanglecairo_rectangleCairoContext::relCurveTocairo_rel_curve_toCairoContext::relLineTocairo_rel_line_toCairoContext::relMoveTocairo_rel_move_toCairoContext::resetClipcairo_reset_clipCairoContext::restorecairo_restoreCairoContext::rotatecairo_rotateCairoContext::savecairo_saveCairoContext::scalecairo_scaleCairoContext::selectFontFacecairo_select_font_faceCairoContext::setAntialiascairo_set_antialiasCairoContext::setDashcairo_set_dashCairoContext::setFillRulecairo_set_fill_ruleCairoContext::setFontFacecairo_set_font_faceCairoContext::setFontMatrixcairo_set_font_matrixCairoContext::setFontOptionscairo_set_font_optionsCairoContext::setFontSizecairo_set_font_sizeCairoContext::setLineCapcairo_set_line_capCairoContext::setLineJoincairo_set_line_joinCairoContext::setLineWidthcairo_set_line_widthCairoContext::setMatrixcairo_set_matrixCairoContext::setMiterLimitcairo_set_miter_limitCairoContext::setOperatorcairo_set_operatorCairoContext::setScaledFontcairo_set_scaled_fontCairoContext::setSourcecairo_set_sourceCairoContext::setSourceRGBcairo_set_sourceCairoContext::setSourceRGBAcairo_set_sourceCairoContext::setSourceSurfacecairo_set_source_surfaceCairoContext::setTolerancecairo_set_toleranceCairoContext::showPagecairo_show_pageCairoContext::showTextcairo_show_textCairoContext::statuscairo_statusCairoContext::strokecairo_strokeCairoContext::strokeExtentscairo_stroke_extentsCairoContext::strokePreservecairo_stroke_preserveCairoContext::textExtentscairo_text_extentsCairoContext::textPathcairo_text_pathCairoContext::transformcairo_transformCairoContext::translatecairo_translateCairoContext::userToDevicecairo_user_to_deviceCairoContext::userToDeviceDistancecairo_user_to_device_distanceCairoExceptionCairoStatusCairoSurfaceCairoSurface::__constructCairoSurface::copyPagecairo_copy_pageCairoSurface::createSimilarCairoSurface::finishCairoSurface::flushCairoSurface::getContentCairoSurface::getDeviceOffsetCairoSurface::getFontOptionscairo_get_font_optionsCairoSurface::getTypeCairoSurface::markDirtyCairoSurface::markDirtyRectangleCairoSurface::setDeviceOffsetCairoSurface::setFallbackResolutionCairoSurface::showPagecairo_show_pageCairoSurface::statuscairo_statusCairoSurface::writeToPngCairoSvgSurfaceCairoSvgSurface::__constructCairoSvgSurface::getVersionscairo_svg_surface_get_versionsCairoSvgSurface::restrictToVersionCairoSvgSurface::versionToStringCairoImageSurfaceCairoImageSurface::__constructCairoImageSurface::createForDataCairoImageSurface::createFromPngCairoImageSurface::getDataCairoImageSurface::getFormatCairoImageSurface::getHeightCairoImageSurface::getStrideCairoImageSurface::getWidthCairoPdfSurfaceCairoPdfSurface::__constructCairoPdfSurface::setSizeCairoPsSurfaceCairoPsSurface::__constructCairoPsSurface::dscBeginPageSetupCairoPsSurface::dscBeginSetupCairoPsSurface::dscCommentCairoPsSurface::getEpsCairoPsSurface::getLevelsCairoPsSurface::levelToStringCairoPsSurface::restrictToLevelCairoPsSurface::setEpsCairoPsSurface::setSizeCairoSurfaceTypeCairoFontFaceCairoFontFace::__constructCairoFontFace::getTypeCairoFontFace::statuscairo_font_face_statusCairoFontOptionsCairoFontOptions::__constructCairoFontOptions::equalCairoFontOptions::getAntialiascairo_get_antialiasCairoFontOptions::getHintMetricsCairoFontOptions::getHintStyleCairoFontOptions::getSubpixelOrderCairoFontOptions::hashCairoFontOptions::mergeCairoFontOptions::setAntialiascairo_set_antialiasCairoFontOptions::setHintMetricsCairoFontOptions::setHintStyleCairoFontOptions::setSubpixelOrderCairoFontOptions::statuscairo_statusCairoFontSlantCairoFontTypeCairoFontWeightCairoScaledFontCairoScaledFont::__constructCairoScaledFont::extentsCairoScaledFont::getCtmCairoScaledFont::getFontFacecairo_get_font_faceCairoScaledFont::getFontMatrixcairo_get_font_matrixCairoScaledFont::getFontOptionscairo_get_font_optionsCairoScaledFont::getScaleMatrixCairoScaledFont::getTypeCairoScaledFont::glyphExtentsCairoScaledFont::statuscairo_statusCairoScaledFont::textExtentscairo_text_extentsCairoToyFontFaceCairoPatternTypeCairoPatternCairoPattern::__constructCairoPattern::getMatrixcairo_get_matrixCairoPattern::getTypeCairoPattern::setMatrixcairo_set_matrixCairoPattern::statuscairo_statusCairoGradientPatternCairoGradientPattern::addColorStopRgbCairoGradientPattern::addColorStopRgbaCairoGradientPattern::getColorStopCountCairoGradientPattern::getColorStopRgbaCairoGradientPattern::getExtendCairoGradientPattern::setExtendCairoSolidPatternCairoSolidPattern::__constructCairoSolidPattern::getRgbaCairoSurfacePatternCairoSurfacePattern::__constructCairoSurfacePattern::getExtendCairoSurfacePattern::getFilterCairoSurfacePattern::getSurfaceCairoSurfacePattern::setExtendCairoSurfacePattern::setFilterCairoLinearGradientCairoLinearGradient::__constructCairoLinearGradient::getPointsCairoRadialGradientCairoRadialGradient::__constructCairoRadialGradient::getCirclesCairoAntialiasCairoContentCairoExtendCairoFormatCairoFormat::strideForWidthCairoFillRuleCairoFilterCairoHintMetricsCairoHintStyleCairoLineCapCairoLineJoinCairoMatrixCairoMatrix::__constructcairo_matrix_initCairoMatrix::initIdentitycairo_matrix_init_identityCairoMatrix::initRotatecairo_matrix_init_rotateCairoMatrix::initScalecairo_matrix_init_scalecairo_matrix_create_scaleCairoMatrix::initTranslatecairo_matrix_init_translateCairoMatrix::invertCairoMatrix::multiplyCairoMatrix::rotatecairo_rotateCairoMatrix::scalecairo_matrix_scaleCairoMatrix::transformDistanceCairoMatrix::transformPointCairoMatrix::translatecairo_translateCairoOperatorCairoPathCairoPsLevelCairoSubpixelOrderCairoSvgVersionExif简介安装/配置需求安装运行时配置资源类型预定义常量Exif 函数exif_imagetypeexif_read_dataexif_tagnameexif_thumbnailread_exif_dataGD简介安装/配置需求安装运行时配置资源类型预定义常量范例使用 PHP 创建 PNG 图像使用 Alpha 通道为图像加水印使用 imagecopymerge 函数创建半透明水印GD 和图像处理 函数gd_infogetimagesizegetimagesizefromstringimage_type_to_extensionimage_type_to_mime_typeimage2wbmpimageaffineimageaffinematrixconcatimageaffinematrixgetimagealphablendingimageantialiasimagearcimagecharimagecharupimagecolorallocateimagecolorallocatealphaimagecoloratimagecolorclosestimagecolorclosestalphaimagecolorclosesthwbimagecolordeallocateimagecolorexactimagecolorexactalphaimagecolormatchimagecolorresolveimagecolorresolvealphaimagecolorsetimagecolorsforindeximagecolorstotalimagecolortransparentimageconvolutionimagecopyimagecopymergeimagecopymergegrayimagecopyresampledimagecopyresizedimagecreateimagecreatefromgd2imagecreatefromgd2partimagecreatefromgdimagecreatefromgifimagecreatefromjpegimagecreatefrompngimagecreatefromstringimagecreatefromwbmpimagecreatefromwebpimagecreatefromxbmimagecreatefromxpmimagecreatetruecolorimagecropimagecropautoimagedashedlineimagedestroyimageellipseimagefillimagefilledarcimagefilledellipseimagefilledpolygonimagefilledrectangleimagefilltoborderimagefilterimageflipimagefontheightimagefontwidthimageftbboximagefttextimagegammacorrectimagegd2imagegdimagegifimagegrabscreenimagegrabwindowimageinterlaceimageistruecolorimagejpegimagelayereffectimagelineimageloadfontimagepalettecopyimagepalettetotruecolorimagepngimagepolygonimagepsbboximagepsencodefontimagepsextendfontimagepsfreefontimagepsloadfontimagepsslantfontimagepstextimagerectangleimagerotateimagesavealphaimagescaleimagesetbrushimagesetinterpolationimagesetpixelimagesetstyleimagesetthicknessimagesettileimagestringimagestringupimagesximagesyimagetruecolortopaletteimagettfbboximagettftextimagetypesimagewbmpimagewebpimagexbmiptcembediptcparsejpeg2wbmppng2wbmpGmagick简介安装/配置需求安装运行时配置预定义常量范例GmagickGmagick::addimageGmagick::addnoiseimageGmagick::annotateimageGmagick::blurimageGmagick::borderimageGmagick::charcoalimageGmagick::chopimageGmagick::clearGmagick::commentimageGmagick::compositeimageGmagick::__constructGmagick::cropimageGmagick::cropthumbnailimageGmagick::currentGmagick::cyclecolormapimageGmagick::deconstructimagesGmagick::despeckleimageGmagick::destroyGmagick::drawimageGmagick::edgeimageGmagick::embossimageGmagick::enhanceimageGmagick::equalizeimageGmagick::flipimageGmagick::flopimageGmagick::frameimageGmagick::gammaimageGmagick::getcopyrightGmagick::getfilenameGmagick::getimagebackgroundcolorGmagick::getimageblueprimaryGmagick::getimagebordercolorGmagick::getimagechanneldepthGmagick::getimagecolorsGmagick::getimagecolorspaceGmagick::getimagecomposeGmagick::getimagedelayGmagick::getimagedepthGmagick::getimagedisposeGmagick::getimageextremaGmagick::getimagefilenameGmagick::getimageformatGmagick::getimagegammaGmagick::getimagegreenprimaryGmagick::getimageheightGmagick::getimagehistogramGmagick::getimageindexGmagick::getimageinterlaceschemeGmagick::getimageiterationsGmagick::getimagematteGmagick::getimagemattecolorGmagick::getimageprofileGmagick::getimageredprimaryGmagick::getimagerenderingintentGmagick::getimageresolutionGmagick::getimagesceneGmagick::getimagesignatureGmagick::getimagetypeGmagick::getimageunitsGmagick::getimagewhitepointGmagick::getimagewidthGmagick::getpackagenameGmagick::getquantumdepthGmagick::getreleasedateGmagick::getsamplingfactorsGmagick::getsizeGmagick::getversionGmagick::hasnextimageGmagick::haspreviousimageGmagick::implodeimageGmagick::labelimageGmagick::levelimageGmagick::magnifyimageGmagick::mapimageGmagick::medianfilterimageGmagick::minifyimageGmagick::modulateimageGmagick::motionblurimageGmagick::newimageGmagick::nextimageGmagick::normalizeimageGmagick::oilpaintimageGmagick::previousimageGmagick::profileimageGmagick::quantizeimageGmagick::quantizeimagesGmagick::queryfontmetricsGmagick::queryfontsGmagick::queryformatsGmagick::radialblurimageGmagick::raiseimageGmagick::readGmagick::readimageGmagick::readimageblobGmagick::readimagefileGmagick::reducenoiseimageGmagick::removeimageGmagick::removeimageprofileGmagick::resampleimageGmagick::resizeimageGmagick::rollimageGmagick::rotateimageGmagick::scaleimageGmagick::separateimagechannelGmagick::setfilenameGmagick::setimagebackgroundcolorGmagick::setimageblueprimaryGmagick::setimagebordercolorGmagick::setimagechanneldepthGmagick::setimagecolorspaceGmagick::setimagecomposeGmagick::setimagedelayGmagick::setimagedepthGmagick::setimagedisposeGmagick::setimagefilenameGmagick::setimageformatGmagick::setimagegammaGmagick::setimagegreenprimaryGmagick::setimageindexGmagick::setimageinterlaceschemeGmagick::setimageiterationsGmagick::setimageprofileGmagick::setimageredprimaryGmagick::setimagerenderingintentGmagick::setimageresolutionGmagick::setimagesceneGmagick::setimagetypeGmagick::setimageunitsGmagick::setimagewhitepointGmagick::setsamplingfactorsGmagick::setsizeGmagick::shearimageGmagick::solarizeimageGmagick::spreadimageGmagick::stripimageGmagick::swirlimageGmagick::thumbnailimageGmagick::trimimageGmagick::writeGmagick::writeimageGmagickDrawGmagickDraw::annotateGmagickDraw::arcGmagickDraw::bezierGmagickDraw::ellipseGmagickDraw::getfillcolorGmagickDraw::getfillopacityGmagickDraw::getfontGmagickDraw::getfontsizeGmagickDraw::getfontstyleGmagickDraw::getfontweightGmagickDraw::getstrokecolorGmagickDraw::getstrokeopacityGmagickDraw::getstrokewidthGmagickDraw::gettextdecorationGmagickDraw::gettextencodingGmagickDraw::lineGmagickDraw::pointGmagickDraw::polygonGmagickDraw::polylineGmagickDraw::rectangleGmagickDraw::rotateGmagickDraw::roundrectangleGmagickDraw::scaleGmagickDraw::setfillcolorGmagickDraw::setfillopacityGmagickDraw::setfontGmagickDraw::setfontsizeGmagickDraw::setfontstyleGmagickDraw::setfontweightGmagickDraw::setstrokecolorGmagickDraw::setstrokeopacityGmagickDraw::setstrokewidthGmagickDraw::settextdecorationGmagickDraw::settextencodingGmagickPixelGmagickPixel::__constructGmagickPixel::getcolorGmagickPixel::getcolorcountGmagickPixel::getcolorvalueGmagickPixel::setcolorGmagickPixel::setcolorvalueImageMagick简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageImagickImagick::adaptiveBlurImageImagick::adaptiveResizeImageImagick::adaptiveSharpenImageImagick::adaptiveThresholdImageImagick::addImageImagick::addNoiseImageImagick::affineTransformImageImagick::animateImagesImagick::annotateImageImagick::appendImagesImagick::autoLevelImageImagick::averageImagesImagick::blackThresholdImageImagick::blueShiftImageImagick::blurImageImagick::borderImageImagick::brightnessContrastImageImagick::charcoalImageImagick::chopImageImagick::clampImageImagick::clearImagick::clipImageImagick::clipImagePathImagick::clipPathImageImagick::cloneImagick::clutImageImagick::coalesceImagesImagick::colorFloodfillImageImagick::colorizeImageImagick::colorMatrixImageImagick::combineImagesImagick::commentImageImagick::compareImageChannelsImagick::compareImageLayersImagick::compareImagesImagick::compositeImageImagick::__constructImagick::contrastImageImagick::contrastStretchImageImagick::convolveImageImagick::countImagick::cropImageImagick::cropThumbnailImageImagick::currentImagick::cycleColormapImageImagick::decipherImageImagick::deconstructImagesImagick::deleteImageArtifactImagick::deleteImagePropertyImagick::deskewImageImagick::despeckleImageImagick::destroyImagick::displayImageImagick::displayImagesImagick::distortImageImagick::drawImageImagick::edgeImageImagick::embossImageImagick::encipherImageImagick::enhanceImageImagick::equalizeImageImagick::evaluateImageImagick::exportImagePixelsImagick::extentImageImagick::filterImagick::flattenImagesImagick::flipImageImagick::floodFillPaintImageImagick::flopImageImagick::forwardFourierTransformImageImagick::frameImageImagick::functionImageImagick::fxImageImagick::gammaImageImagick::gaussianBlurImageImagick::getColorspaceImagick::getCompressionImagick::getCompressionQualityImagick::getCopyrightImagick::getFilenameImagick::getFontImagick::getFormatImagick::getGravityImagick::getHomeURLImagick::getImageImagick::getImageAlphaChannelImagick::getImageArtifactImagick::getImageAttributeImagick::getImageBackgroundColorImagick::getImageBlobImagick::getImageBluePrimaryImagick::getImageBorderColorImagick::getImageChannelDepthImagick::getImageChannelDistortionImagick::getImageChannelDistortionsImagick::getImageChannelExtremaImagick::getImageChannelKurtosisImagick::getImageChannelMeanImagick::getImageChannelRangeImagick::getImageChannelStatisticsImagick::getImageClipMaskImagick::getImageColormapColorImagick::getImageColorsImagick::getImageColorspaceImagick::getImageComposeImagick::getImageCompressionImagick::getImageCompressionQualityImagick::getImageDelayImagick::getImageDepthImagick::getImageDisposeImagick::getImageDistortionImagick::getImageExtremaImagick::getImageFilenameImagick::getImageFormatImagick::getImageGammaImagick::getImageGeometryImagick::getImageGravityImagick::getImageGreenPrimaryImagick::getImageHeightImagick::getImageHistogramImagick::getImageIndexImagick::getImageInterlaceSchemeImagick::getImageInterpolateMethodImagick::getImageIterationsImagick::getImageLengthImagick::getImageMagickLicenseImagick::getImageMatteImagick::getImageMatteColorImagick::getImageMimeTypeImagick::getImageOrientationImagick::getImagePageImagick::getImagePixelColorImagick::getImageProfileImagick::getImageProfilesImagick::getImagePropertiesImagick::getImagePropertyImagick::getImageRedPrimaryImagick::getImageRegionImagick::getImageRenderingIntentImagick::getImageResolutionImagick::getImagesBlobImagick::getImageSceneImagick::getImageSignatureImagick::getImageSizeImagick::getImageTicksPerSecondImagick::getImageTotalInkDensityImagick::getImageTypeImagick::getImageUnitsImagick::getImageVirtualPixelMethodImagick::getImageWhitePointImagick::getImageWidthImagick::getInterlaceSchemeImagick::getIteratorIndexImagick::getNumberImagesImagick::getOptionImagick::getPackageNameImagick::getPageImagick::getPixelIteratorImagick::getPixelRegionIteratorImagick::getPointSizeImagick::getQuantumImagick::getQuantumDepthImagick::getQuantumRangeImagick::getRegistryImagick::getReleaseDateImagick::getResourceImagick::getResourceLimitImagick::getSamplingFactorsImagick::getSizeImagick::getSizeOffsetImagick::getVersionImagick::haldClutImageImagick::hasNextImageImagick::hasPreviousImageImagick::identifyFormatImagick::identifyImageImagick::implodeImageImagick::importImagePixelsImagick::inverseFourierTransformImageImagick::labelImageImagick::levelImageImagick::linearStretchImageImagick::liquidRescaleImageImagick::listRegistryImagick::magnifyImageImagick::mapImageImagick::matteFloodfillImageImagick::medianFilterImageImagick::mergeImageLayersImagick::minifyImageImagick::modulateImageImagick::montageImageImagick::morphImagesImagick::morphologyImagick::mosaicImagesImagick::motionBlurImageImagick::negateImageImagick::newImageImagick::newPseudoImageImagick::nextImageImagick::normalizeImageImagick::oilPaintImageImagick::opaquePaintImageImagick::optimizeImageLayersImagick::orderedPosterizeImageImagick::paintFloodfillImageImagick::paintOpaqueImageImagick::paintTransparentImageImagick::pingImageImagick::pingImageBlobImagick::pingImageFileImagick::polaroidImageImagick::posterizeImageImagick::previewImagesImagick::previousImageImagick::profileImageImagick::quantizeImageImagick::quantizeImagesImagick::queryFontMetricsImagick::queryFontsImagick::queryFormatsImagick::radialBlurImageImagick::raiseImageImagick::randomThresholdImageImagick::readImageImagick::readImageBlobImagick::readImageFileImagick::readimagesImagick::recolorImageImagick::reduceNoiseImageImagick::remapImageImagick::removeImageImagick::removeImageProfileImagick::renderImagick::resampleImageImagick::resetImagePageImagick::resizeImageImagick::rollImageImagick::rotateImageImagick::rotationalBlurImageImagick::roundCornersImagick::sampleImageImagick::scaleImageImagick::segmentImageImagick::selectiveBlurImageImagick::separateImageChannelImagick::sepiaToneImageImagick::setBackgroundColorImagick::setColorspaceImagick::setCompressionImagick::setCompressionQualityImagick::setFilenameImagick::setFirstIteratorImagick::setFontImagick::setFormatImagick::setGravityImagick::setImageImagick::setImageAlphaChannelImagick::setImageArtifactImagick::setImageAttributeImagick::setImageBackgroundColorImagick::setImageBiasImagick::setImageBiasQuantumImagick::setImageBluePrimaryImagick::setImageBorderColorImagick::setImageChannelDepthImagick::setImageClipMaskImagick::setImageColormapColorImagick::setImageColorspaceImagick::setImageComposeImagick::setImageCompressionImagick::setImageCompressionQualityImagick::setImageDelayImagick::setImageDepthImagick::setImageDisposeImagick::setImageExtentImagick::setImageFilenameImagick::setImageFormatImagick::setImageGammaImagick::setImageGravityImagick::setImageGreenPrimaryImagick::setImageIndexImagick::setImageInterlaceSchemeImagick::setImageInterpolateMethodImagick::setImageIterationsImagick::setImageMatteImagick::setImageMatteColorImagick::setImageOpacityImagick::setImageOrientationImagick::setImagePageImagick::setImageProfileImagick::setImagePropertyImagick::setImageRedPrimaryImagick::setImageRenderingIntentImagick::setImageResolutionImagick::setImageSceneImagick::setImageTicksPerSecondImagick::setImageTypeImagick::setImageUnitsImagick::setImageVirtualPixelMethodImagick::setImageWhitePointImagick::setInterlaceSchemeImagick::setIteratorIndexImagick::setLastIteratorImagick::setOptionImagick::setPageImagick::setPointSizeImagick::setProgressMonitorImagick::setRegistryImagick::setResolutionImagick::setResourceLimitImagick::setSamplingFactorsImagick::setSizeImagick::setSizeOffsetImagick::setTypeImagick::shadeImageImagick::shadowImageImagick::sharpenImageImagick::shaveImageImagick::shearImageImagick::sigmoidalContrastImageImagick::sketchImageImagick::smushImagesImagick::solarizeImageImagick::sparseColorImageImagick::spliceImageImagick::spreadImageImagick::statisticImageImagick::steganoImageImagick::stereoImageImagick::stripImageImagick::subImageMatchImagick::swirlImageImagick::textureImageImagick::thresholdImageImagick::thumbnailImageImagick::tintImageImagick::__toStringImagick::transformImageImagick::transformImageColorspaceImagick::transparentPaintImageImagick::transposeImageImagick::transverseImageImagick::trimImageImagick::uniqueImageColorsImagick::unsharpMaskImageImagick::validImagick::vignetteImageImagick::waveImageImagick::whiteThresholdImageImagick::writeImageImagick::writeImageFileImagick::writeImagesImagick::writeImagesFileImagickDrawImagickDraw::affineImagickDraw::annotationImagickDraw::arcImagickDraw::bezierImagickDraw::circleImagickDraw::clearImagickDraw::cloneImagickDraw::colorImagickDraw::commentImagickDraw::compositeImagickDraw::__constructImagickDraw::destroyImagickDraw::ellipseImagickDraw::getClipPathImagickDraw::getClipRuleImagickDraw::getClipUnitsImagickDraw::getFillColorImagickDraw::getFillOpacityImagickDraw::getFillRuleImagickDraw::getFontImagickDraw::getFontFamilyImagickDraw::getFontSizeImagickDraw::getFontStretchImagickDraw::getFontStyleImagickDraw::getFontWeightImagickDraw::getGravityImagickDraw::getStrokeAntialiasImagickDraw::getStrokeColorImagickDraw::getStrokeDashArrayImagickDraw::getStrokeDashOffsetImagickDraw::getStrokeLineCapImagickDraw::getStrokeLineJoinImagickDraw::getStrokeMiterLimitImagickDraw::getStrokeOpacityImagickDraw::getStrokeWidthImagickDraw::getTextAlignmentImagickDraw::getTextAntialiasImagickDraw::getTextDecorationImagickDraw::getTextEncodingImagickDraw::getTextInterlineSpacingImagickDraw::getTextInterwordSpacingImagickDraw::getTextKerningImagickDraw::getTextUnderColorImagickDraw::getVectorGraphicsImagickDraw::lineImagickDraw::matteImagickDraw::pathCloseImagickDraw::pathCurveToAbsoluteImagickDraw::pathCurveToQuadraticBezierAbsoluteImagickDraw::pathCurveToQuadraticBezierRelativeImagickDraw::pathCurveToQuadraticBezierSmoothAbsoluteImagickDraw::pathCurveToQuadraticBezierSmoothRelativeImagickDraw::pathCurveToRelativeImagickDraw::pathCurveToSmoothAbsoluteImagickDraw::pathCurveToSmoothRelativeImagickDraw::pathEllipticArcAbsoluteImagickDraw::pathEllipticArcRelativeImagickDraw::pathFinishImagickDraw::pathLineToAbsoluteImagickDraw::pathLineToHorizontalAbsoluteImagickDraw::pathLineToHorizontalRelativeImagickDraw::pathLineToRelativeImagickDraw::pathLineToVerticalAbsoluteImagickDraw::pathLineToVerticalRelativeImagickDraw::pathMoveToAbsoluteImagickDraw::pathMoveToRelativeImagickDraw::pathStartImagickDraw::pointImagickDraw::polygonImagickDraw::polylineImagickDraw::popImagickDraw::popClipPathImagickDraw::popDefsImagickDraw::popPatternImagickDraw::pushImagickDraw::pushClipPathImagickDraw::pushDefsImagickDraw::pushPatternImagickDraw::rectangleImagickDraw::renderImagickDraw::resetVectorGraphicsImagickDraw::rotateImagickDraw::roundRectangleImagickDraw::scaleImagickDraw::setClipPathImagickDraw::setClipRuleImagickDraw::setClipUnitsImagickDraw::setFillAlphaImagickDraw::setFillColorImagickDraw::setFillOpacityImagickDraw::setFillPatternURLImagickDraw::setFillRuleImagickDraw::setFontImagickDraw::setFontFamilyImagickDraw::setFontSizeImagickDraw::setFontStretchImagickDraw::setFontStyleImagickDraw::setFontWeightImagickDraw::setGravityImagickDraw::setResolutionImagickDraw::setStrokeAlphaImagickDraw::setStrokeAntialiasImagickDraw::setStrokeColorImagickDraw::setStrokeDashArrayImagickDraw::setStrokeDashOffsetImagickDraw::setStrokeLineCapImagickDraw::setStrokeLineJoinImagickDraw::setStrokeMiterLimitImagickDraw::setStrokeOpacityImagickDraw::setStrokePatternURLImagickDraw::setStrokeWidthImagickDraw::setTextAlignmentImagickDraw::setTextAntialiasImagickDraw::setTextDecorationImagickDraw::setTextEncodingImagickDraw::setTextInterlineSpacingImagickDraw::setTextInterwordSpacingImagickDraw::setTextKerningImagickDraw::setTextUnderColorImagickDraw::setVectorGraphicsImagickDraw::setViewboxImagickDraw::skewXImagickDraw::skewYImagickDraw::translateImagickPixelImagickPixel::clearImagickPixel::__constructImagickPixel::destroyImagickPixel::getColorImagickPixel::getColorAsStringImagickPixel::getColorCountImagickPixel::getColorQuantumImagickPixel::getColorValueImagickPixel::getColorValueQuantumImagickPixel::getHSLImagickPixel::getIndexImagickPixel::isPixelSimilarImagickPixel::isPixelSimilarQuantumImagickPixel::isSimilarImagickPixel::setColorImagickPixel::setColorCountImagickPixel::setColorValueImagickPixel::setColorValueQuantumImagickPixel::setHSLImagickPixel::setIndexImagickPixelIteratorImagickPixelIterator::clearImagickPixelIterator::__constructImagickPixelIterator::destroyImagickPixelIterator::getCurrentIteratorRowImagickPixelIterator::getIteratorRowImagickPixelIterator::getNextIteratorRowImagickPixelIterator::getPreviousIteratorRowImagickPixelIterator::newPixelIteratorImagickPixelIterator::newPixelRegionIteratorImagickPixelIterator::resetIteratorImagickPixelIterator::setIteratorFirstRowImagickPixelIterator::setIteratorLastRowImagickPixelIterator::setIteratorRowImagickPixelIterator::syncIterator邮件相关扩展Cyrus简介安装/配置需求安装运行时配置资源类型预定义常量Cyrus 函数cyrus_authenticatecyrus_bindcyrus_closecyrus_connectcyrus_querycyrus_unbindIMAP简介安装/配置需求安装运行时配置资源类型预定义常量IMAP 函数imap_8bitimap_alertsimap_appendimap_base64imap_binaryimap_bodyimap_bodystructimap_checkimap_clearflag_fullimap_closeimap_createimap_createmailboximap_deleteimap_deletemailboximap_errorsimap_expungeimap_fetch_overviewimap_fetchbodyimap_fetchheaderimap_fetchmimeimap_fetchstructureimap_fetchtextimap_gcimap_get_quotaimap_get_quotarootimap_getaclimap_getmailboxesimap_getsubscribedimap_headerimap_headerinfoimap_headersimap_last_errorimap_listimap_listmailboximap_listscanimap_listsubscribedimap_lsubimap_mail_composeimap_mail_copyimap_mail_moveimap_mailimap_mailboxmsginfoimap_mime_header_decodeimap_msgnoimap_num_msgimap_num_recentimap_openimap_pingimap_qprintimap_renameimap_renamemailboximap_reopenimap_rfc822_parse_adrlistimap_rfc822_parse_headersimap_rfc822_write_addressimap_savebodyimap_scanimap_scanmailboximap_searchimap_set_quotaimap_setaclimap_setflag_fullimap_sortimap_statusimap_subscribeimap_threadimap_timeoutimap_uidimap_undeleteimap_unsubscribeimap_utf7_decodeimap_utf7_encodeimap_utf8Mail简介安装/配置需求安装运行时配置资源类型预定义常量Mail 函数ezmlm_hashmailMailparse简介安装/配置需求安装运行时配置资源类型预定义常量Mailparse 函数mailparse_determine_best_xfer_encodingmailparse_msg_createmailparse_msg_extract_part_filemailparse_msg_extract_partmailparse_msg_extract_whole_part_filemailparse_msg_freemailparse_msg_get_part_datamailparse_msg_get_partmailparse_msg_get_structuremailparse_msg_parse_filemailparse_msg_parsemailparse_rfc822_parse_addressesmailparse_stream_encodemailparse_uudecode_allvpopmail简介安装/配置需求安装运行时配置资源类型预定义常量vpopmail 函数vpopmail_add_alias_domain_exvpopmail_add_alias_domainvpopmail_add_domain_exvpopmail_add_domainvpopmail_add_uservpopmail_alias_addvpopmail_alias_del_domainvpopmail_alias_delvpopmail_alias_get_allvpopmail_alias_getvpopmail_auth_uservpopmail_del_domain_exvpopmail_del_domainvpopmail_del_uservpopmail_errorvpopmail_passwdvpopmail_set_user_quota数学扩展BC Math简介安装/配置需求安装运行时配置资源类型预定义常量BC 数学 函数bcaddbccompbcdivbcmodbcmulbcpowbcpowmodbcscalebcsqrtbcsubGMP简介安装/配置需求安装运行时配置资源类型预定义常量范例GMP 函数gmp_absgmp_addgmp_andgmp_clrbitgmp_cmpgmp_comgmp_div_qgmp_div_qrgmp_div_rgmp_divgmp_divexactgmp_exportgmp_factgmp_gcdgmp_gcdextgmp_hamdistgmp_importgmp_initgmp_intvalgmp_invertgmp_jacobigmp_legendregmp_modgmp_mulgmp_neggmp_nextprimegmp_orgmp_perfect_squaregmp_popcountgmp_powgmp_powmgmp_prob_primegmp_random_bitsgmp_random_rangegmp_random_seedgmp_randomgmp_rootgmp_rootremgmp_scan0gmp_scan1gmp_setbitgmp_signgmp_sqrtgmp_sqrtremgmp_strvalgmp_subgmp_testbitgmp_xorGMPLapack简介安装/配置需求安装运行时配置资源类型预定义常量LapackLapack::eigenValuesLapack::identityLapack::leastSquaresByFactorisationLapack::leastSquaresBySVDLapack::pseudoInverseLapack::singularValuesLapack::solveLinearEquationLapackExceptionMath简介安装/配置需求安装运行时配置资源类型预定义常量Math 函数absacosacoshasinasinhatan2atanatanhbase_convertbindecceilcoscoshdecbindechexdecoctdeg2radexpexpm1floorfmodgetrandmaxhexdechypotintdivis_finiteis_infiniteis_nanlcg_valuelog10log1plogmaxminmt_getrandmaxmt_randmt_srandoctdecpipowrad2degrandroundsinsinhsqrtsrandtantanhStatistics简介安装/配置需求安装运行时配置资源类型预定义常量Statistic 函数stats_absolute_deviationstats_cdf_betastats_cdf_binomialstats_cdf_cauchystats_cdf_chisquarestats_cdf_exponentialstats_cdf_fstats_cdf_gammastats_cdf_laplacestats_cdf_logisticstats_cdf_negative_binomialstats_cdf_noncentral_chisquarestats_cdf_noncentral_fstats_cdf_poissonstats_cdf_tstats_cdf_uniformstats_cdf_weibullstats_covariancestats_den_uniformstats_dens_betastats_dens_cauchystats_dens_chisquarestats_dens_exponentialstats_dens_fstats_dens_gammastats_dens_laplacestats_dens_logisticstats_dens_negative_binomialstats_dens_normalstats_dens_pmf_binomialstats_dens_pmf_hypergeometricstats_dens_pmf_poissonstats_dens_tstats_dens_weibullstats_harmonic_meanstats_kurtosisstats_rand_gen_betastats_rand_gen_chisquarestats_rand_gen_exponentialstats_rand_gen_fstats_rand_gen_funiformstats_rand_gen_gammastats_rand_gen_ibinomial_negativestats_rand_gen_ibinomialstats_rand_gen_intstats_rand_gen_ipoissonstats_rand_gen_iuniformstats_rand_gen_noncenral_chisquarestats_rand_gen_noncentral_fstats_rand_gen_noncentral_tstats_rand_gen_normalstats_rand_gen_tstats_rand_get_seedsstats_rand_phrase_to_seedsstats_rand_ranfstats_rand_setallstats_skewstats_standard_deviationstats_stat_binomial_coefstats_stat_correlationstats_stat_gennchstats_stat_independent_tstats_stat_innerproductstats_stat_noncentral_tstats_stat_paired_tstats_stat_percentilestats_stat_powersumstats_varianceTrader简介安装/配置需求安装运行时配置预定义常量Trader 函数trader_acostrader_adtrader_addtrader_adosctrader_adxtrader_adxrtrader_apotrader_aroontrader_aroonosctrader_asintrader_atantrader_atrtrader_avgpricetrader_bbandstrader_betatrader_boptrader_ccitrader_cdl2crowstrader_cdl3blackcrowstrader_cdl3insidetrader_cdl3linestriketrader_cdl3outsidetrader_cdl3starsinsouthtrader_cdl3whitesoldierstrader_cdlabandonedbabytrader_cdladvanceblocktrader_cdlbeltholdtrader_cdlbreakawaytrader_cdlclosingmarubozutrader_cdlconcealbabyswalltrader_cdlcounterattacktrader_cdldarkcloudcovertrader_cdldojitrader_cdldojistartrader_cdldragonflydojitrader_cdlengulfingtrader_cdleveningdojistartrader_cdleveningstartrader_cdlgapsidesidewhitetrader_cdlgravestonedojitrader_cdlhammertrader_cdlhangingmantrader_cdlharamitrader_cdlharamicrosstrader_cdlhighwavetrader_cdlhikkaketrader_cdlhikkakemodtrader_cdlhomingpigeontrader_cdlidentical3crowstrader_cdlinnecktrader_cdlinvertedhammertrader_cdlkickingtrader_cdlkickingbylengthtrader_cdlladderbottomtrader_cdllongleggeddojitrader_cdllonglinetrader_cdlmarubozutrader_cdlmatchinglowtrader_cdlmatholdtrader_cdlmorningdojistartrader_cdlmorningstartrader_cdlonnecktrader_cdlpiercingtrader_cdlrickshawmantrader_cdlrisefall3methodstrader_cdlseparatinglinestrader_cdlshootingstartrader_cdlshortlinetrader_cdlspinningtoptrader_cdlstalledpatterntrader_cdlsticksandwichtrader_cdltakuritrader_cdltasukigaptrader_cdlthrustingtrader_cdltristartrader_cdlunique3rivertrader_cdlupsidegap2crowstrader_cdlxsidegap3methodstrader_ceiltrader_cmotrader_correltrader_costrader_coshtrader_dematrader_divtrader_dxtrader_ematrader_errnotrader_exptrader_floortrader_get_compattrader_get_unstable_periodtrader_ht_dcperiodtrader_ht_dcphasetrader_ht_phasortrader_ht_sinetrader_ht_trendlinetrader_ht_trendmodetrader_kamatrader_linearreg_angletrader_linearreg_intercepttrader_linearreg_slopetrader_linearregtrader_lntrader_log10trader_matrader_macdtrader_macdexttrader_macdfixtrader_mamatrader_mavptrader_maxtrader_maxindextrader_medpricetrader_mfitrader_midpointtrader_midpricetrader_mintrader_minindextrader_minmaxtrader_minmaxindextrader_minus_ditrader_minus_dmtrader_momtrader_multtrader_natrtrader_obvtrader_plus_ditrader_plus_dmtrader_ppotrader_roctrader_rocptrader_rocr100trader_rocrtrader_rsitrader_sartrader_sarexttrader_set_compattrader_set_unstable_periodtrader_sintrader_sinhtrader_smatrader_sqrttrader_stddevtrader_stochtrader_stochftrader_stochrsitrader_subtrader_sumtrader_t3trader_tantrader_tanhtrader_tematrader_trangetrader_trimatrader_trixtrader_tsftrader_typpricetrader_ultosctrader_vartrader_wclpricetrader_willrtrader_wma非文本内容的 MIME 输出FDF简介安装/配置需求安装运行时配置资源类型预定义常量范例FDF 函数fdf_add_doc_javascriptfdf_add_templatefdf_closefdf_createfdf_enum_valuesfdf_errnofdf_errorfdf_get_apfdf_get_attachmentfdf_get_encodingfdf_get_filefdf_get_flagsfdf_get_optfdf_get_statusfdf_get_valuefdf_get_versionfdf_headerfdf_next_field_namefdf_open_stringfdf_openfdf_remove_itemfdf_save_stringfdf_savefdf_set_apfdf_set_encodingfdf_set_filefdf_set_flagsfdf_set_javascript_actionfdf_set_on_import_javascriptfdf_set_optfdf_set_statusfdf_set_submit_form_actionfdf_set_target_framefdf_set_valuefdf_set_versionGnuPG简介安装/配置需求安装运行时配置资源类型预定义常量范例Clearsign textGnuPG 函数gnupg_adddecryptkeygnupg_addencryptkeygnupg_addsignkeygnupg_cleardecryptkeysgnupg_clearencryptkeysgnupg_clearsignkeysgnupg_decryptgnupg_decryptverifygnupg_encryptgnupg_encryptsigngnupg_exportgnupg_geterrorgnupg_getprotocolgnupg_importgnupg_initgnupg_keyinfognupg_setarmorgnupg_seterrormodegnupg_setsignmodegnupg_signgnupg_verifyharu简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic PECL/haru exampleBuiltin Fonts And EncodingsBuiltin FontsBuiltin EncodingsHaruExceptionHaruDocHaruDoc::addPageHaruDoc::addPageLabelHaruDoc::__constructHaruDoc::createOutlineHaruDoc::getCurrentEncoderHaruDoc::getCurrentPageHaruDoc::getEncoderHaruDoc::getFontHaruDoc::getInfoAttrHaruDoc::getPageLayoutHaruDoc::getPageModeHaruDoc::getStreamSizeHaruDoc::insertPageHaruDoc::loadJPEGHaruDoc::loadPNGHaruDoc::loadRawHaruDoc::loadTTCHaruDoc::loadTTFHaruDoc::loadType1HaruDoc::outputHaruDoc::readFromStreamHaruDoc::resetErrorHaruDoc::resetStreamHaruDoc::saveHaruDoc::saveToStreamHaruDoc::setCompressionModeHaruDoc::setCurrentEncoderHaruDoc::setEncryptionModeHaruDoc::setInfoAttrHaruDoc::setInfoDateAttrHaruDoc::setOpenActionHaruDoc::setPageLayoutHaruDoc::setPageModeHaruDoc::setPagesConfigurationHaruDoc::setPasswordHaruDoc::setPermissionHaruDoc::useCNSEncodingsHaruDoc::useCNSFontsHaruDoc::useCNTEncodingsHaruDoc::useCNTFontsHaruDoc::useJPEncodingsHaruDoc::useJPFontsHaruDoc::useKREncodingsHaruDoc::useKRFontsHaruPageHaruPage::arcHaruPage::beginTextHaruPage::circleHaruPage::closePathHaruPage::concatHaruPage::createDestinationHaruPage::createLinkAnnotationHaruPage::createTextAnnotationHaruPage::createURLAnnotationHaruPage::curveTo2HaruPage::curveTo3HaruPage::curveToHaruPage::drawImageHaruPage::ellipseHaruPage::endPathHaruPage::endTextHaruPage::eofillHaruPage::eoFillStrokeHaruPage::fillHaruPage::fillStrokeHaruPage::getCharSpaceHaruPage::getCMYKFillHaruPage::getCMYKStrokeHaruPage::getCurrentFontHaruPage::getCurrentFontSizeHaruPage::getCurrentPosHaruPage::getCurrentTextPosHaruPage::getDashHaruPage::getFillingColorSpaceHaruPage::getFlatnessHaruPage::getGModeHaruPage::getGrayFillHaruPage::getGrayStrokeHaruPage::getHeightHaruPage::getHorizontalScalingHaruPage::getLineCapHaruPage::getLineJoinHaruPage::getLineWidthHaruPage::getMiterLimitHaruPage::getRGBFillHaruPage::getRGBStrokeHaruPage::getStrokingColorSpaceHaruPage::getTextLeadingHaruPage::getTextMatrixHaruPage::getTextRenderingModeHaruPage::getTextRiseHaruPage::getTextWidthHaruPage::getTransMatrixHaruPage::getWidthHaruPage::getWordSpaceHaruPage::lineToHaruPage::measureTextHaruPage::moveTextPosHaruPage::moveToHaruPage::moveToNextLineHaruPage::rectangleHaruPage::setCharSpaceHaruPage::setCMYKFillHaruPage::setCMYKStrokeHaruPage::setDashHaruPage::setFlatnessHaruPage::setFontAndSizeHaruPage::setGrayFillHaruPage::setGrayStrokeHaruPage::setHeightHaruPage::setHorizontalScalingHaruPage::setLineCapHaruPage::setLineJoinHaruPage::setLineWidthHaruPage::setMiterLimitHaruPage::setRGBFillHaruPage::setRGBStrokeHaruPage::setRotateHaruPage::setSizeHaruPage::setSlideShowHaruPage::setTextLeadingHaruPage::setTextMatrixHaruPage::setTextRenderingModeHaruPage::setTextRiseHaruPage::setWidthHaruPage::setWordSpaceHaruPage::showTextHaruPage::showTextNextLineHaruPage::strokeHaruPage::textOutHaruPage::textRectHaruFontHaruFont::getAscentHaruFont::getCapHeightHaruFont::getDescentHaruFont::getEncodingNameHaruFont::getFontNameHaruFont::getTextWidthHaruFont::getUnicodeWidthHaruFont::getXHeightHaruFont::measureTextHaruImageHaruImage::getBitsPerComponentHaruImage::getColorSpaceHaruImage::getHeightHaruImage::getSizeHaruImage::getWidthHaruImage::setColorMaskHaruImage::setMaskImageHaruEncoderHaruEncoder::getByteTypeHaruEncoder::getTypeHaruEncoder::getUnicodeHaruEncoder::getWritingModeHaruOutlineHaruOutline::setDestinationHaruOutline::setOpenedHaruAnnotationHaruAnnotation::setBorderStyleHaruAnnotation::setHighlightModeHaruAnnotation::setIconHaruAnnotation::setOpenedHaruDestinationHaruDestination::setFitHaruDestination::setFitBHaruDestination::setFitBHHaruDestination::setFitBVHaruDestination::setFitHHaruDestination::setFitRHaruDestination::setFitVHaruDestination::setXYZMing简介安装/配置需求安装运行时配置资源类型预定义常量范例SWFAction ExamplesSWFSPrite basic examplesMing 函数ming_keypressming_setcubicthresholdming_setscaleming_setswfcompressionming_useconstantsming_useswfversionSWFActionSWFAction::__constructSWFBitmapSWFBitmap::__constructSWFBitmap::getHeightSWFBitmap::getWidthSWFButtonSWFButton::addActionSWFButton::addASoundSWFButton::addShapeSWFButton::__constructSWFButton::setActionSWFButton::setDownSWFButton::setHitSWFButton::setMenuSWFButton::setOverSWFButton::setUpSWFDisplayItemSWFDisplayItem::addActionSWFDisplayItem::addColorSWFDisplayItem::endMaskSWFDisplayItem::getRotSWFDisplayItem::getXSWFDisplayItem::getXScaleSWFDisplayItem::getXSkewSWFDisplayItem::getYSWFDisplayItem::getYScaleSWFDisplayItem::getYSkewSWFDisplayItem::moveSWFDisplayItem::moveToSWFDisplayItem::multColorSWFDisplayItem::removeSWFDisplayItem::rotateSWFDisplayItem::rotateToSWFDisplayItem::scaleSWFDisplayItem::scaleToSWFDisplayItem::setDepthSWFDisplayItem::setMaskLevelSWFDisplayItem::setMatrixSWFDisplayItem::setNameSWFDisplayItem::setRatioSWFDisplayItem::skewXSWFDisplayItem::skewXToSWFDisplayItem::skewYSWFDisplayItem::skewYToSWFFillSWFFill::moveToSWFFill::rotateToSWFFill::scaleToSWFFill::skewXToSWFFill::skewYToSWFFontSWFFont::__constructSWFFont::getAscentSWFFont::getDescentSWFFont::getLeadingSWFFont::getShapeSWFFont::getUTF8WidthSWFFont::getWidthSWFFontCharSWFFontChar::addCharsSWFFontChar::addUTF8CharsSWFGradientSWFGradient::addEntrySWFGradient::__constructSWFMorphSWFMorph::__constructSWFMorph::getShape1SWFMorph::getShape2SWFMovieSWFMovie::addSWFMovie::addExportSWFMovie::addFontSWFMovie::__constructSWFMovie::importCharSWFMovie::importFontSWFMovie::labelFrameSWFMovie::nextFrameSWFMovie::outputSWFMovie::removeSWFMovie::saveSWFMovie::saveToFileSWFMovie::setbackgroundSWFMovie::setDimensionSWFMovie::setFramesSWFMovie::setRateSWFMovie::startSoundSWFMovie::stopSoundSWFMovie::streamMP3SWFMovie::writeExportsSWFPrebuiltClipSWFPrebuiltClip::__constructSWFShapeSWFShape::addFillSWFShape::__constructSWFShape::drawArcSWFShape::drawCircleSWFShape::drawCubicSWFShape::drawCubicToSWFShape::drawCurveSWFShape::drawCurveToSWFShape::drawGlyphSWFShape::drawLineSWFShape::drawLineToSWFShape::movePenSWFShape::movePenToSWFShape::setLeftFillSWFShape::setLineSWFShape::setRightFillSWFSoundSWFSound::__constructSWFSoundInstanceSWFSoundInstance::loopCountSWFSoundInstance::loopInPointSWFSoundInstance::loopOutPointSWFSoundInstance::noMultipleSWFSpriteSWFSprite::addSWFSprite::__constructSWFSprite::labelFrameSWFSprite::nextFrameSWFSprite::removeSWFSprite::setFramesSWFSprite::startSoundSWFSprite::stopSoundSWFTextSWFText::addStringSWFText::addUTF8StringSWFText::__constructSWFText::getAscentSWFText::getDescentSWFText::getLeadingSWFText::getUTF8WidthSWFText::getWidthSWFText::moveToSWFText::setColorSWFText::setFontSWFText::setHeightSWFText::setSpacingSWFTextFieldSWFTextField::addCharsSWFTextField::addStringSWFTextField::alignSWFTextField::__constructSWFTextField::setBoundsSWFTextField::setColorSWFTextField::setFontSWFTextField::setHeightSWFTextField::setIndentationSWFTextField::setLeftMarginSWFTextField::setLineSpacingSWFTextField::setMarginsSWFTextField::setNameSWFTextField::setPaddingSWFTextField::setRightMarginSWFVideoStreamSWFVideoStream::__constructSWFVideoStream::getNumFramesSWFVideoStream::setDimensionPDF简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic Usage ExamplesPDF 函数PDF_activate_itemPDF_add_annotationPDF_add_bookmarkPDF_add_launchlinkPDF_add_locallinkPDF_add_nameddestPDF_add_notePDF_add_outlinePDF_add_pdflinkPDF_add_table_cellPDF_add_textflowPDF_add_thumbnailPDF_add_weblinkPDF_arcPDF_arcnPDF_attach_filePDF_begin_documentPDF_begin_fontPDF_begin_glyphPDF_begin_itemPDF_begin_layerPDF_begin_page_extPDF_begin_pagePDF_begin_patternPDF_begin_template_extPDF_begin_templatePDF_circlePDF_clipPDF_close_imagePDF_close_pdi_pagePDF_close_pdiPDF_closePDF_closepath_fill_strokePDF_closepath_strokePDF_closepathPDF_concatPDF_continue_textPDF_create_3dviewPDF_create_actionPDF_create_annotationPDF_create_bookmarkPDF_create_fieldPDF_create_fieldgroupPDF_create_gstatePDF_create_pvfPDF_create_textflowPDF_curvetoPDF_define_layerPDF_delete_pvfPDF_delete_tablePDF_delete_textflowPDF_deletePDF_encoding_set_charPDF_end_documentPDF_end_fontPDF_end_glyphPDF_end_itemPDF_end_layerPDF_end_page_extPDF_end_pagePDF_end_patternPDF_end_templatePDF_endpathPDF_fill_imageblockPDF_fill_pdfblockPDF_fill_strokePDF_fill_textblockPDF_fillPDF_findfontPDF_fit_imagePDF_fit_pdi_pagePDF_fit_tablePDF_fit_textflowPDF_fit_textlinePDF_get_apinamePDF_get_bufferPDF_get_errmsgPDF_get_errnumPDF_get_fontPDF_get_fontnamePDF_get_fontsizePDF_get_image_heightPDF_get_image_widthPDF_get_majorversionPDF_get_minorversionPDF_get_parameterPDF_get_pdi_parameterPDF_get_pdi_valuePDF_get_valuePDF_info_fontPDF_info_matchboxPDF_info_tablePDF_info_textflowPDF_info_textlinePDF_initgraphicsPDF_linetoPDF_load_3ddataPDF_load_fontPDF_load_iccprofilePDF_load_imagePDF_makespotcolorPDF_movetoPDF_newPDF_open_ccittPDF_open_filePDF_open_gifPDF_open_image_filePDF_open_imagePDF_open_jpegPDF_open_memory_imagePDF_open_pdi_documentPDF_open_pdi_pagePDF_open_pdiPDF_open_tiffPDF_pcos_get_numberPDF_pcos_get_streamPDF_pcos_get_stringPDF_place_imagePDF_place_pdi_pagePDF_process_pdiPDF_rectPDF_restorePDF_resume_pagePDF_rotatePDF_savePDF_scalePDF_set_border_colorPDF_set_border_dashPDF_set_border_stylePDF_set_char_spacingPDF_set_durationPDF_set_gstatePDF_set_horiz_scalingPDF_set_info_authorPDF_set_info_creatorPDF_set_info_keywordsPDF_set_info_subjectPDF_set_info_titlePDF_set_infoPDF_set_layer_dependencyPDF_set_leadingPDF_set_parameterPDF_set_text_matrixPDF_set_text_posPDF_set_text_renderingPDF_set_text_risePDF_set_valuePDF_set_word_spacingPDF_setcolorPDF_setdashPDF_setdashpatternPDF_setflatPDF_setfontPDF_setgray_fillPDF_setgray_strokePDF_setgrayPDF_setlinecapPDF_setlinejoinPDF_setlinewidthPDF_setmatrixPDF_setmiterlimitPDF_setpolydashPDF_setrgbcolor_fillPDF_setrgbcolor_strokePDF_setrgbcolorPDF_shading_patternPDF_shadingPDF_shfillPDF_show_boxedPDF_show_xyPDF_showPDF_skewPDF_stringwidthPDF_strokePDF_suspend_pagePDF_translatePDF_utf16_to_utf8PDF_utf32_to_utf16PDF_utf8_to_utf16PS简介安装/配置需求安装运行时配置资源类型预定义常量PS 函数ps_add_bookmarkps_add_launchlinkps_add_locallinkps_add_noteps_add_pdflinkps_add_weblinkps_arcps_arcnps_begin_pageps_begin_patternps_begin_templateps_circleps_clipps_close_imageps_closeps_closepath_strokeps_closepathps_continue_textps_curvetops_deleteps_end_pageps_end_patternps_end_templateps_fill_strokeps_fillps_findfontps_get_bufferps_get_parameterps_get_valueps_hyphenateps_include_fileps_linetops_makespotcolorps_movetops_newps_open_fileps_open_image_fileps_open_imageps_open_memory_imageps_place_imageps_rectps_restoreps_rotateps_saveps_scaleps_set_border_colorps_set_border_dashps_set_border_styleps_set_infops_set_parameterps_set_text_posps_set_valueps_setcolorps_setdashps_setflatps_setfontps_setgrayps_setlinecapps_setlinejoinps_setlinewidthps_setmiterlimitps_setoverprintmodeps_setpolydashps_shading_patternps_shadingps_shfillps_show_boxedps_show_xy2ps_show_xyps_show2ps_showps_string_geometryps_stringwidthps_strokeps_symbol_nameps_symbol_widthps_symbolps_translateRPM Reader简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageRPM Reader 函数rpm_closerpm_get_tagrpm_is_validrpm_openrpm_version进程控制扩展Eio简介安装/配置需求安装运行时配置资源类型预定义常量范例Eio 函数eio_busyeio_canceleio_chmodeio_chowneio_closeeio_customeio_dup2eio_event_loopeio_fallocateeio_fchmodeio_fchowneio_fdatasynceio_fstateio_fstatvfseio_fsynceio_ftruncateeio_futimeeio_get_event_streameio_get_last_erroreio_grp_addeio_grp_canceleio_grp_limiteio_grpeio_initeio_linkeio_lstateio_mkdireio_mknodeio_nopeio_npendingeio_nreadyeio_nreqseio_nthreadseio_openeio_polleio_readeio_readaheadeio_readdireio_readlinkeio_realpatheio_renameeio_rmdireio_seekeio_sendfileeio_set_max_idleeio_set_max_paralleleio_set_max_poll_reqseio_set_max_poll_timeeio_set_min_paralleleio_stateio_statvfseio_symlinkeio_sync_file_rangeeio_synceio_syncfseio_truncateeio_unlinkeio_utimeeio_writeEv简介安装/配置需求安装运行时配置资源类型预定义常量范例WatchersWatcher callbacksPeriodic watcher operation modesEvEv::backendEv::depthEv::embeddableBackendsEv::feedSignalEv::feedSignalEventEv::iterationEv::nowEv::nowUpdateEv::recommendedBackendsEv::resumeEv::runEv::sleepEv::stopEv::supportedBackendsEv::suspendEv::timeEv::verifyEvCheckEvCheck::__constructEvCheck::createStoppedEvChildEvChild::__constructEvChild::createStoppedEvChild::setEvEmbedEvEmbed::__constructEvEmbed::createStoppedEvEmbed::setEvEmbed::sweepEvForkEvFork::__constructEvFork::createStoppedEvIdleEvIdle::__constructEvIdle::createStoppedEvIoEvIo::__constructEvIo::createStoppedEvIo::setEvLoopEvLoop::backendEvLoop::checkEvLoop::childEvLoop::__constructEvLoop::defaultLoopEvLoop::embedEvLoop::forkEvLoop::idleEvLoop::invokePendingEvLoop::ioEvLoop::loopForkEvLoop::nowEvLoop::nowUpdateEvLoop::periodicEvLoop::prepareEvLoop::resumeEvLoop::runEvLoop::signalEvLoop::statEvLoop::stopEvLoop::suspendEvLoop::timerEvLoop::verifyEvPeriodicEvPeriodic::againEvPeriodic::atEvPeriodic::__constructEvPeriodic::createStoppedEvPeriodic::setEvPrepareEvPrepare::__constructEvPrepare::createStoppedEvSignalEvSignal::__constructEvSignal::createStoppedEvSignal::setEvStatEvStat::attrEvStat::__constructEvStat::createStoppedEvStat::prevEvStat::setEvStat::statEvTimerEvTimer::againEvTimer::__constructEvTimer::createStoppedEvTimer::setEvWatcherEvWatcher::clearEvWatcher::__constructEvWatcher::feedEvWatcher::getLoopEvWatcher::invokeEvWatcher::keepaliveEvWatcher::setCallbackEvWatcher::startEvWatcher::stopExpect简介安装/配置需求安装运行时配置资源类型预定义常量范例Expect Usage ExamplesExpect 函数expect_expectlexpect_popenLibevent简介安装/配置需求安装运行时配置资源类型预定义常量范例Libevent 函数event_addevent_base_freeevent_base_loopevent_base_loopbreakevent_base_loopexitevent_base_newevent_base_priority_initevent_base_reinitevent_base_setevent_buffer_base_setevent_buffer_disableevent_buffer_enableevent_buffer_fd_setevent_buffer_freeevent_buffer_newevent_buffer_priority_setevent_buffer_readevent_buffer_set_callbackevent_buffer_timeout_setevent_buffer_watermark_setevent_buffer_writeevent_delevent_freeevent_newevent_priority_setevent_setevent_timer_addevent_timer_delevent_timer_newevent_timer_setPCNTL简介安装/配置需求安装运行时配置资源类型预定义常量范例示例PCNTL 函数pcntl_alarmpcntl_errnopcntl_execpcntl_forkpcntl_get_last_errorpcntl_getprioritypcntl_setprioritypcntl_signal_dispatchpcntl_signalpcntl_sigprocmaskpcntl_sigtimedwaitpcntl_sigwaitinfopcntl_strerrorpcntl_waitpcntl_waitpidpcntl_wexitstatuspcntl_wifexitedpcntl_wifsignaledpcntl_wifstoppedpcntl_wstopsigpcntl_wtermsigPOSIX简介安装/配置需求安装运行时配置资源类型预定义常量posix_access constantsposix_mknod constantsposix_setrlimit constantsPOSIX 函数posix_accessposix_ctermidposix_errnoposix_get_last_errorposix_getcwdposix_getegidposix_geteuidposix_getgidposix_getgrgidposix_getgrnamposix_getgroupsposix_getloginposix_getpgidposix_getpgrpposix_getpidposix_getppidposix_getpwnamposix_getpwuidposix_getrlimitposix_getsidposix_getuidposix_initgroupsposix_isattyposix_killposix_mkfifoposix_mknodposix_setegidposix_seteuidposix_setgidposix_setpgidposix_setrlimitposix_setsidposix_setuidposix_strerrorposix_timesposix_ttynameposix_uname程序执行简介安装/配置需求安装运行时配置资源类型预定义常量程序执行 函数escapeshellargescapeshellcmdexecpassthruproc_closeproc_get_statusproc_niceproc_openproc_terminateshell_execsystempthreads简介安装/配置需求安装运行时配置预定义常量ThreadedThreaded::chunkThreaded::countThreaded::extendThreaded::fromThreaded::getTerminationInfoThreaded::isRunningThreaded::isTerminatedThreaded::isWaitingThreaded::lockThreaded::mergeThreaded::notifyThreaded::popThreaded::runThreaded::shiftThreaded::synchronizedThreaded::unlockThreaded::waitThreadThread::detachThread::getCreatorIdThread::getCurrentThreadThread::getCurrentThreadIdThread::getThreadIdThread::globallyThread::isJoinedThread::isStartedThread::joinThread::killThread::startWorkerWorker::getStackedWorker::isShutdownWorker::isWorkingWorker::shutdownWorker::stackWorker::unstackCollectableCollectable::isGarbageCollectable::setGarbageModifiersPoolPool::collectPool::__constructPool::resizePool::shutdownPool::submitPool::submitToMutexMutex::createMutex::destroyMutex::lockMutex::trylockMutex::unlockCondCond::broadcastCond::createCond::destroyCond::signalCond::waitSemaphore简介安装/配置需求安装运行时配置资源类型预定义常量Semaphore 函数ftokmsg_get_queuemsg_queue_existsmsg_receivemsg_remove_queuemsg_sendmsg_set_queuemsg_stat_queuesem_acquiresem_getsem_releasesem_removeshm_attachshm_detachshm_get_varshm_has_varshm_put_varshm_remove_varshm_removeShared Memory简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageShared Memory 函数shmop_closeshmop_deleteshmop_openshmop_readshmop_sizeshmop_writeSync简介安装/配置需求安装运行时配置资源类型预定义常量SyncMutexSyncMutex::__constructSyncMutex::lockSyncMutex::unlockSyncSemaphoreSyncSemaphore::__constructSyncSemaphore::lockSyncSemaphore::unlockSyncEventSyncEvent::__constructSyncEvent::fireSyncEvent::resetSyncEvent::waitSyncReaderWriterSyncReaderWriter::__constructSyncReaderWriter::readlockSyncReaderWriter::readunlockSyncReaderWriter::writelockSyncReaderWriter::writeunlock其它基本扩展GeoIP简介安装/配置需求安装运行时配置资源类型预定义常量GeoIP 函数geoip_asnum_by_namegeoip_continent_code_by_namegeoip_country_code_by_namegeoip_country_code3_by_namegeoip_country_name_by_namegeoip_database_infogeoip_db_availgeoip_db_filenamegeoip_db_get_all_infogeoip_domain_by_namegeoip_id_by_namegeoip_isp_by_namegeoip_netspeedcell_by_namegeoip_org_by_namegeoip_record_by_namegeoip_region_by_namegeoip_region_name_by_codegeoip_setup_custom_directorygeoip_time_zone_by_country_and_regionFANN简介安装/配置需求安装运行时配置资源类型预定义常量范例XOR trainingFann 函数fann_cascadetrain_on_datafann_cascadetrain_on_filefann_clear_scaling_paramsfann_copyfann_create_from_filefann_create_shortcut_arrayfann_create_shortcutfann_create_sparse_arrayfann_create_sparsefann_create_standard_arrayfann_create_standardfann_create_train_from_callbackfann_create_trainfann_descale_inputfann_descale_outputfann_descale_trainfann_destroy_trainfann_destroyfann_duplicate_train_datafann_get_activation_functionfann_get_activation_steepnessfann_get_bias_arrayfann_get_bit_fail_limitfann_get_bit_failfann_get_cascade_activation_functions_countfann_get_cascade_activation_functionsfann_get_cascade_activation_steepnesses_countfann_get_cascade_activation_steepnessesfann_get_cascade_candidate_change_fractionfann_get_cascade_candidate_limitfann_get_cascade_candidate_stagnation_epochsfann_get_cascade_max_cand_epochsfann_get_cascade_max_out_epochsfann_get_cascade_min_cand_epochsfann_get_cascade_min_out_epochsfann_get_cascade_num_candidate_groupsfann_get_cascade_num_candidatesfann_get_cascade_output_change_fractionfann_get_cascade_output_stagnation_epochsfann_get_cascade_weight_multiplierfann_get_connection_arrayfann_get_connection_ratefann_get_errnofann_get_errstrfann_get_layer_arrayfann_get_learning_momentumfann_get_learning_ratefann_get_MSEfann_get_network_typefann_get_num_inputfann_get_num_layersfann_get_num_outputfann_get_quickprop_decayfann_get_quickprop_mufann_get_rprop_decrease_factorfann_get_rprop_delta_maxfann_get_rprop_delta_minfann_get_rprop_delta_zerofann_get_rprop_increase_factorfann_get_sarprop_step_error_shiftfann_get_sarprop_step_error_threshold_factorfann_get_sarprop_temperaturefann_get_sarprop_weight_decay_shiftfann_get_total_connectionsfann_get_total_neuronsfann_get_train_error_functionfann_get_train_stop_functionfann_get_training_algorithmfann_init_weightsfann_length_train_datafann_merge_train_datafann_num_input_train_datafann_num_output_train_datafann_print_errorfann_randomize_weightsfann_read_train_from_filefann_reset_errnofann_reset_errstrfann_reset_MSEfann_runfann_save_trainfann_savefann_scale_input_train_datafann_scale_inputfann_scale_output_train_datafann_scale_outputfann_scale_train_datafann_scale_trainfann_set_activation_function_hiddenfann_set_activation_function_layerfann_set_activation_function_outputfann_set_activation_functionfann_set_activation_steepness_hiddenfann_set_activation_steepness_layerfann_set_activation_steepness_outputfann_set_activation_steepnessfann_set_bit_fail_limitfann_set_callbackfann_set_cascade_activation_functionsfann_set_cascade_activation_steepnessesfann_set_cascade_candidate_change_fractionfann_set_cascade_candidate_limitfann_set_cascade_candidate_stagnation_epochsfann_set_cascade_max_cand_epochsfann_set_cascade_max_out_epochsfann_set_cascade_min_cand_epochsfann_set_cascade_min_out_epochsfann_set_cascade_num_candidate_groupsfann_set_cascade_output_change_fractionfann_set_cascade_output_stagnation_epochsfann_set_cascade_weight_multiplierfann_set_error_logfann_set_input_scaling_paramsfann_set_learning_momentumfann_set_learning_ratefann_set_output_scaling_paramsfann_set_quickprop_decayfann_set_quickprop_mufann_set_rprop_decrease_factorfann_set_rprop_delta_maxfann_set_rprop_delta_minfann_set_rprop_delta_zerofann_set_rprop_increase_factorfann_set_sarprop_step_error_shiftfann_set_sarprop_step_error_threshold_factorfann_set_sarprop_temperaturefann_set_sarprop_weight_decay_shiftfann_set_scaling_paramsfann_set_train_error_functionfann_set_train_stop_functionfann_set_training_algorithmfann_set_weight_arrayfann_set_weightfann_shuffle_train_datafann_subset_train_datafann_test_datafann_testfann_train_epochfann_train_on_datafann_train_on_filefann_trainFANNConnectionFANNConnection::__constructFANNConnection::getFromNeuronFANNConnection::getToNeuronFANNConnection::getWeightFANNConnection::setWeightJSON简介安装/配置需求安装运行时配置资源类型预定义常量JsonSerializableJsonSerializable::jsonSerializeJSON 函数json_decodejson_encodejson_last_error_msgjson_last_errorJudy简介安装/配置需求安装运行时配置资源类型JudyJudy::byCountJudy::__constructJudy::countJudy::__destructJudy::firstJudy::firstEmptyJudy::freeJudy::getTypeJudy::lastJudy::lastEmptyJudy::memoryUsageJudy::nextJudy::nextEmptyJudy::offsetExistsJudy::offsetGetJudy::offsetSetJudy::offsetUnsetJudy::prevJudy::prevEmptyJudy::sizeJudy 函数judy_typejudy_versionLua简介安装/配置需求安装运行时配置资源类型LuaLua::assignLua::callLua::__callLua::__constructLua::evalLua::getVersionLua::includeLua::registerCallbackLuaClosureLuaClosure::__invokeMisc.简介安装/配置需求安装运行时配置资源类型预定义常量杂项 函数connection_abortedconnection_statusconstantdefinedefineddieevalexitget_browser__halt_compilerhighlight_filehighlight_stringignore_user_abortpackphp_check_syntaxphp_strip_whitespaceshow_sourcesleepsys_getloadavgtime_nanosleeptime_sleep_untiluniqidunpackusleepParsekit简介安装/配置需求安装运行时配置资源类型预定义常量Parsekit 函数parsekit_compile_fileparsekit_compile_stringparsekit_func_arginfoSPL简介安装/配置需求安装运行时配置资源类型预定义常量数据结构SplDoublyLinkedListSplDoublyLinkedList::addSplDoublyLinkedList::bottomSplDoublyLinkedList::__constructSplDoublyLinkedList::countSplDoublyLinkedList::currentSplDoublyLinkedList::getIteratorModeSplDoublyLinkedList::isEmptySplDoublyLinkedList::keySplDoublyLinkedList::nextSplDoublyLinkedList::offsetExistsSplDoublyLinkedList::offsetGetSplDoublyLinkedList::offsetSetSplDoublyLinkedList::offsetUnsetSplDoublyLinkedList::popSplDoublyLinkedList::prevSplDoublyLinkedList::pushSplDoublyLinkedList::rewindSplDoublyLinkedList::serializeSplDoublyLinkedList::setIteratorModeSplDoublyLinkedList::shiftSplDoublyLinkedList::topSplDoublyLinkedList::unserializeSplDoublyLinkedList::unshiftSplDoublyLinkedList::validSplStackSplStack::__constructSplStack::setIteratorModeSplQueueSplQueue::__constructSplQueue::dequeueSplQueue::enqueueSplQueue::setIteratorModeSplHeapSplHeap::compareSplHeap::__constructSplHeap::countSplHeap::currentSplHeap::extractSplHeap::insertSplHeap::isEmptySplHeap::keySplHeap::nextSplHeap::recoverFromCorruptionSplHeap::rewindSplHeap::topSplHeap::validSplMaxHeapSplMaxHeap::compareSplMinHeapSplMinHeap::compareSplPriorityQueueSplPriorityQueue::compareSplPriorityQueue::__constructSplPriorityQueue::countSplPriorityQueue::currentSplPriorityQueue::extractSplPriorityQueue::insertSplPriorityQueue::isEmptySplPriorityQueue::keySplPriorityQueue::nextSplPriorityQueue::recoverFromCorruptionSplPriorityQueue::rewindSplPriorityQueue::setExtractFlagsSplPriorityQueue::topSplPriorityQueue::validSplFixedArraySplFixedArray::__constructSplFixedArray::countSplFixedArray::currentSplFixedArray::fromArraySplFixedArray::getSizeSplFixedArray::keySplFixedArray::nextSplFixedArray::offsetExistsSplFixedArray::offsetGetSplFixedArray::offsetSetSplFixedArray::offsetUnsetSplFixedArray::rewindSplFixedArray::setSizeSplFixedArray::toArraySplFixedArray::validSplFixedArray::__wakeupSplObjectStorageSplObjectStorage::addAllSplObjectStorage::attachSplObjectStorage::containsSplObjectStorage::countSplObjectStorage::currentSplObjectStorage::detachSplObjectStorage::getHashSplObjectStorage::getInfoSplObjectStorage::keySplObjectStorage::nextSplObjectStorage::offsetExistsSplObjectStorage::offsetGetSplObjectStorage::offsetSetSplObjectStorage::offsetUnsetSplObjectStorage::removeAllSplObjectStorage::removeAllExceptSplObjectStorage::rewindSplObjectStorage::serializeSplObjectStorage::setInfoSplObjectStorage::unserializeSplObjectStorage::valid迭代器AppendIteratorAppendIterator::appendAppendIterator::__constructAppendIterator::currentAppendIterator::getArrayIteratorAppendIterator::getInnerIteratorAppendIterator::getIteratorIndexAppendIterator::keyAppendIterator::nextAppendIterator::rewindAppendIterator::validArrayIteratorArrayIterator::appendArrayIterator::asortArrayIterator::__constructArrayIterator::countArrayIterator::currentArrayIterator::getArrayCopyArrayIterator::getFlagsArrayIterator::keyArrayIterator::ksortArrayIterator::natcasesortArrayIterator::natsortArrayIterator::nextArrayIterator::offsetExistsArrayIterator::offsetGetArrayIterator::offsetSetArrayIterator::offsetUnsetArrayIterator::rewindArrayIterator::seekArrayIterator::serializeArrayIterator::setFlagsArrayIterator::uasortArrayIterator::uksortArrayIterator::unserializeArrayIterator::validCachingIteratorCachingIterator::__constructCachingIterator::countCachingIterator::currentCachingIterator::getCacheCachingIterator::getFlagsCachingIterator::getInnerIteratorCachingIterator::hasNextCachingIterator::keyCachingIterator::nextCachingIterator::offsetExistsCachingIterator::offsetGetCachingIterator::offsetSetCachingIterator::offsetUnsetCachingIterator::rewindCachingIterator::setFlagsCachingIterator::__toStringCachingIterator::validCallbackFilterIteratorCallbackFilterIterator::acceptCallbackFilterIterator::__constructDirectoryIteratorDirectoryIterator::__constructDirectoryIterator::currentDirectoryIterator::getATimeDirectoryIterator::getBasenameDirectoryIterator::getCTimeDirectoryIterator::getExtensionDirectoryIterator::getFilenameDirectoryIterator::getGroupDirectoryIterator::getInodeDirectoryIterator::getMTimeDirectoryIterator::getOwnerDirectoryIterator::getPathDirectoryIterator::getPathnameDirectoryIterator::getPermsDirectoryIterator::getSizeDirectoryIterator::getTypeDirectoryIterator::isDirDirectoryIterator::isDotDirectoryIterator::isExecutableDirectoryIterator::isFileDirectoryIterator::isLinkDirectoryIterator::isReadableDirectoryIterator::isWritableDirectoryIterator::keyDirectoryIterator::nextDirectoryIterator::rewindDirectoryIterator::seekDirectoryIterator::__toStringDirectoryIterator::validEmptyIteratorEmptyIterator::currentEmptyIterator::keyEmptyIterator::nextEmptyIterator::rewindEmptyIterator::validFilesystemIteratorFilesystemIterator::__constructFilesystemIterator::currentFilesystemIterator::getFlagsFilesystemIterator::keyFilesystemIterator::nextFilesystemIterator::rewindFilesystemIterator::setFlagsFilterIteratorFilterIterator::acceptFilterIterator::__constructFilterIterator::currentFilterIterator::getInnerIteratorFilterIterator::keyFilterIterator::nextFilterIterator::rewindFilterIterator::validGlobIteratorGlobIterator::__constructGlobIterator::countInfiniteIteratorInfiniteIterator::__constructInfiniteIterator::nextIteratorIteratorIteratorIterator::__constructIteratorIterator::currentIteratorIterator::getInnerIteratorIteratorIterator::keyIteratorIterator::nextIteratorIterator::rewindIteratorIterator::validLimitIteratorLimitIterator::__constructLimitIterator::currentLimitIterator::getInnerIteratorLimitIterator::getPositionLimitIterator::keyLimitIterator::nextLimitIterator::rewindLimitIterator::seekLimitIterator::validMultipleIteratorMultipleIterator::attachIteratorMultipleIterator::__constructMultipleIterator::containsIteratorMultipleIterator::countIteratorsMultipleIterator::currentMultipleIterator::detachIteratorMultipleIterator::getFlagsMultipleIterator::keyMultipleIterator::nextMultipleIterator::rewindMultipleIterator::setFlagsMultipleIterator::validNoRewindIteratorNoRewindIterator::__constructNoRewindIterator::currentNoRewindIterator::getInnerIteratorNoRewindIterator::keyNoRewindIterator::nextNoRewindIterator::rewindNoRewindIterator::validParentIteratorParentIterator::acceptParentIterator::__constructParentIterator::getChildrenParentIterator::hasChildrenParentIterator::nextParentIterator::rewindRecursiveArrayIteratorRecursiveArrayIterator::getChildrenRecursiveArrayIterator::hasChildrenRecursiveCachingIteratorRecursiveCachingIterator::__constructRecursiveCachingIterator::getChildrenRecursiveCachingIterator::hasChildrenRecursiveCallbackFilterIteratorRecursiveCallbackFilterIterator::__constructRecursiveCallbackFilterIterator::getChildrenRecursiveCallbackFilterIterator::hasChildrenRecursiveDirectoryIteratorRecursiveDirectoryIterator::__constructRecursiveDirectoryIterator::getChildrenRecursiveDirectoryIterator::getSubPathRecursiveDirectoryIterator::getSubPathnameRecursiveDirectoryIterator::hasChildrenRecursiveDirectoryIterator::keyRecursiveDirectoryIterator::nextRecursiveDirectoryIterator::rewindRecursiveFilterIteratorRecursiveFilterIterator::__constructRecursiveFilterIterator::getChildrenRecursiveFilterIterator::hasChildrenRecursiveIteratorIteratorRecursiveIteratorIterator::beginChildrenRecursiveIteratorIterator::beginIterationRecursiveIteratorIterator::callGetChildrenRecursiveIteratorIterator::callHasChildrenRecursiveIteratorIterator::__constructRecursiveIteratorIterator::currentRecursiveIteratorIterator::endChildrenRecursiveIteratorIterator::endIterationRecursiveIteratorIterator::getDepthRecursiveIteratorIterator::getInnerIteratorRecursiveIteratorIterator::getMaxDepthRecursiveIteratorIterator::getSubIteratorRecursiveIteratorIterator::keyRecursiveIteratorIterator::nextRecursiveIteratorIterator::nextElementRecursiveIteratorIterator::rewindRecursiveIteratorIterator::setMaxDepthRecursiveIteratorIterator::validRecursiveRegexIteratorRecursiveRegexIterator::__constructRecursiveRegexIterator::getChildrenRecursiveRegexIterator::hasChildrenRecursiveTreeIteratorRecursiveTreeIterator::beginChildrenRecursiveTreeIterator::beginIterationRecursiveTreeIterator::callGetChildrenRecursiveTreeIterator::callHasChildrenRecursiveTreeIterator::__constructRecursiveTreeIterator::currentRecursiveTreeIterator::endChildrenRecursiveTreeIterator::endIterationRecursiveTreeIterator::getEntryRecursiveTreeIterator::getPostfixRecursiveTreeIterator::getPrefixRecursiveTreeIterator::keyRecursiveTreeIterator::nextRecursiveTreeIterator::nextElementRecursiveTreeIterator::rewindRecursiveTreeIterator::setPrefixPartRecursiveTreeIterator::validRegexIteratorRegexIterator::acceptRegexIterator::__constructRegexIterator::getFlagsRegexIterator::getModeRegexIterator::getPregFlagsRegexIterator::getRegexRegexIterator::setFlagsRegexIterator::setModeRegexIterator::setPregFlags接口CountableCountable::countOuterIteratorOuterIterator::getInnerIteratorRecursiveIteratorRecursiveIterator::getChildrenRecursiveIterator::hasChildrenSeekableIteratorSeekableIterator::seek异常BadFunctionCallExceptionBadMethodCallExceptionDomainExceptionInvalidArgumentExceptionLengthExceptionLogicExceptionOutOfBoundsExceptionOutOfRangeExceptionOverflowExceptionRangeExceptionRuntimeExceptionUnderflowExceptionUnexpectedValueExceptionSPL 函数class_implementsclass_parentsclass_usesiterator_applyiterator_countiterator_to_arrayspl_autoload_callspl_autoload_extensionsspl_autoload_functionsspl_autoload_registerspl_autoload_unregisterspl_autoloadspl_classesspl_object_hash文件处理SplFileInfoSplFileInfo::__constructSplFileInfo::getATimeSplFileInfo::getBasenameSplFileInfo::getCTimeSplFileInfo::getExtensionSplFileInfo::getFileInfoSplFileInfo::getFilenameSplFileInfo::getGroupSplFileInfo::getInodeSplFileInfo::getLinkTargetSplFileInfo::getMTimeSplFileInfo::getOwnerSplFileInfo::getPathSplFileInfo::getPathInfoSplFileInfo::getPathnameSplFileInfo::getPermsSplFileInfo::getRealPathSplFileInfo::getSizeSplFileInfo::getTypeSplFileInfo::isDirSplFileInfo::isExecutableSplFileInfo::isFileSplFileInfo::isLinkSplFileInfo::isReadableSplFileInfo::isWritableSplFileInfo::openFileSplFileInfo::setFileClassSplFileInfo::setInfoClassSplFileInfo::__toStringSplFileObjectSplFileObject::__constructSplFileObject::currentSplFileObject::eofSplFileObject::fflushSplFileObject::fgetcSplFileObject::fgetcsvSplFileObject::fgetsSplFileObject::fgetssSplFileObject::flockSplFileObject::fpassthruSplFileObject::fputcsvSplFileObject::freadSplFileObject::fscanfSplFileObject::fseekSplFileObject::fstatSplFileObject::ftellSplFileObject::ftruncateSplFileObject::fwriteSplFileObject::getChildrenSplFileObject::getCsvControlSplFileObject::getCurrentLineSplFileObject::getFlagsSplFileObject::getMaxLineLenSplFileObject::hasChildrenSplFileObject::keySplFileObject::nextSplFileObject::rewindSplFileObject::seekSplFileObject::setCsvControlSplFileObject::setFlagsSplFileObject::setMaxLineLenSplFileObject::__toStringSplFileObject::validSplTempFileObjectSplTempFileObject::__construct各种类及接口ArrayObjectArrayObject::appendArrayObject::asortArrayObject::__constructArrayObject::countArrayObject::exchangeArrayArrayObject::getArrayCopyArrayObject::getFlagsArrayObject::getIteratorArrayObject::getIteratorClassArrayObject::ksortArrayObject::natcasesortArrayObject::natsortArrayObject::offsetExistsArrayObject::offsetGetArrayObject::offsetSetArrayObject::offsetUnsetArrayObject::serializeArrayObject::setFlagsArrayObject::setIteratorClassArrayObject::uasortArrayObject::uksortArrayObject::unserializeSplObserverSplObserver::updateSplSubjectSplSubject::attachSplSubject::detachSplSubject::notifySPL Types简介安装/配置需求安装运行时配置资源类型SplTypeSplType::__constructSplIntSplFloatSplEnumSplEnum::getConstListSplBoolSplStringStreams简介安装/配置需求安装运行时配置Stream Classes预定义常量Stream FiltersStream ContextsStream Errors范例Example class registered as stream wrapperphp_user_filterphp_user_filter::filterphp_user_filter::onClosephp_user_filter::onCreatestreamWrapperstreamWrapper::__constructstreamWrapper::__destructstreamWrapper::dir_closedirstreamWrapper::dir_opendirstreamWrapper::dir_readdirstreamWrapper::dir_rewinddirstreamWrapper::mkdirstreamWrapper::renamestreamWrapper::rmdirstreamWrapper::stream_caststreamWrapper::stream_closestreamWrapper::stream_eofstreamWrapper::stream_flushstreamWrapper::stream_lockstreamWrapper::stream_metadatastreamWrapper::stream_openstreamWrapper::stream_readstreamWrapper::stream_seekstreamWrapper::stream_set_optionstreamWrapper::stream_statstreamWrapper::stream_tellstreamWrapper::stream_truncatestreamWrapper::stream_writestreamWrapper::unlinkstreamWrapper::url_statStream 函数set_socket_blockingstream_bucket_appendstream_bucket_make_writeablestream_bucket_newstream_bucket_prependstream_context_createstream_context_get_defaultstream_context_get_optionsstream_context_get_paramsstream_context_set_defaultstream_context_set_optionstream_context_set_paramsstream_copy_to_streamstream_encodingstream_filter_appendstream_filter_prependstream_filter_registerstream_filter_removestream_get_contentsstream_get_filtersstream_get_linestream_get_meta_datastream_get_transportsstream_get_wrappersstream_is_localstream_notification_callbackstream_register_wrapperstream_resolve_include_pathstream_selectstream_set_blockingstream_set_chunk_sizestream_set_read_bufferstream_set_timeoutstream_set_write_bufferstream_socket_acceptstream_socket_clientstream_socket_enable_cryptostream_socket_get_namestream_socket_pairstream_socket_recvfromstream_socket_sendtostream_socket_serverstream_socket_shutdownstream_supports_lockstream_register_wrapperstream_wrapper_restorestream_wrapper_unregisterTidy简介安装/配置需求安装运行时配置资源类型预定义常量范例Tidy exampletidytidy::bodytidy_get_bodytidy::cleanRepairtidy_clean_repairtidy::__constructtidy::diagnosetidy_diagnosetidy::$errorBuffertidy_get_error_buffertidy::getConfigtidy_get_configtidy::getHtmlVertidy_get_html_vertidy::getOpttidy_getopttidy::getOptDoctidy_get_opt_doctidy::getReleasetidy_get_releasetidy::getStatustidy_get_statustidy::headtidy_get_headtidy::htmltidy_get_htmltidy::isXhtmltidy_is_xhtmltidy::isXmltidy_is_xmltidy::parseFiletidy_parse_filetidy::parseStringtidy_parse_stringtidy::repairFiletidy_repair_filetidy::repairStringtidy_repair_stringtidy::roottidy_get_roottidyNodetidyNode::getParenttidyNode::hasChildrentidyNode::hasSiblingstidyNode::isAsptidyNode::isCommenttidyNode::isHtmltidyNode::isJstetidyNode::isPhptidyNode::isTextTidy 函数ob_tidyhandlertidy_access_counttidy_config_counttidy_error_counttidy_get_outputtidy_load_configtidy_reset_configtidy_save_configtidy_set_encodingtidy_setopttidy_warning_countTokenizer简介安装/配置需求安装运行时配置资源类型预定义常量范例Tokenizer 函数token_get_alltoken_nameURLs简介安装/配置需求安装运行时配置资源类型预定义常量URL 函数base64_decodebase64_encodeget_headersget_meta_tagshttp_build_queryparse_urlrawurldecoderawurlencodeurldecodeurlencodeV8js简介安装/配置需求安装运行时配置资源类型范例V8JsV8Js::__constructV8Js::executeStringV8Js::getExtensionsV8Js::getPendingExceptionV8Js::registerExtensionV8JsExceptionV8JsException::getJsFileNameV8JsException::getJsLineNumberV8JsException::getJsSourceLineV8JsException::getJsTraceYaml简介安装/配置需求安装运行时配置资源类型预定义常量范例CallbacksParse callbacksEmit callbacksYaml 函数yaml_emit_fileyaml_emityaml_parse_fileyaml_parse_urlyaml_parseYaf简介安装/配置需求安装运行时配置资源类型预定义常量范例应用配置Yaf_ApplicationYaf_Application::appYaf_Application::bootstrapYaf_Application::clearLastErrorYaf_Application::__cloneYaf_Application::__constructYaf_Application::__destructYaf_Application::environYaf_Application::executeYaf_Application::getAppDirectoryYaf_Application::getConfigYaf_Application::getDispatcherYaf_Application::getLastErrorMsgYaf_Application::getLastErrorNoYaf_Application::getModulesYaf_Application::runYaf_Application::setAppDirectoryYaf_Application::__sleepYaf_Application::__wakeupYaf_Bootstrap_AbstractYaf_DispatcherYaf_Dispatcher::autoRenderYaf_Dispatcher::catchExceptionYaf_Dispatcher::__cloneYaf_Dispatcher::__constructYaf_Dispatcher::disableViewYaf_Dispatcher::dispatchYaf_Dispatcher::enableViewYaf_Dispatcher::flushInstantlyYaf_Dispatcher::getApplicationYaf_Dispatcher::getInstanceYaf_Dispatcher::getRequestYaf_Dispatcher::getRouterYaf_Dispatcher::initViewYaf_Dispatcher::registerPluginYaf_Dispatcher::returnResponseYaf_Dispatcher::setDefaultActionYaf_Dispatcher::setDefaultControllerYaf_Dispatcher::setDefaultModuleYaf_Dispatcher::setErrorHandlerYaf_Dispatcher::setRequestYaf_Dispatcher::setViewYaf_Dispatcher::__sleepYaf_Dispatcher::throwExceptionYaf_Dispatcher::__wakeupYaf_Config_AbstractYaf_Config_Abstract::getYaf_Config_Abstract::readonlyYaf_Config_Abstract::setYaf_Config_Abstract::toArrayYaf_Config_IniYaf_Config_Ini::__constructYaf_Config_Ini::countYaf_Config_Ini::currentYaf_Config_Ini::__getYaf_Config_Ini::__issetYaf_Config_Ini::keyYaf_Config_Ini::nextYaf_Config_Ini::offsetExistsYaf_Config_Ini::offsetGetYaf_Config_Ini::offsetSetYaf_Config_Ini::offsetUnsetYaf_Config_Ini::readonlyYaf_Config_Ini::rewindYaf_Config_Ini::__setYaf_Config_Ini::toArrayYaf_Config_Ini::validYaf_Config_SimpleYaf_Config_Simple::__constructYaf_Config_Simple::countYaf_Config_Simple::currentYaf_Config_Simple::__getYaf_Config_Simple::__issetYaf_Config_Simple::keyYaf_Config_Simple::nextYaf_Config_Simple::offsetExistsYaf_Config_Simple::offsetGetYaf_Config_Simple::offsetSetYaf_Config_Simple::offsetUnsetYaf_Config_Simple::readonlyYaf_Config_Simple::rewindYaf_Config_Simple::__setYaf_Config_Simple::toArrayYaf_Config_Simple::validYaf_Controller_AbstractYaf_Controller_Abstract::__cloneYaf_Controller_Abstract::__constructYaf_Controller_Abstract::displayYaf_Controller_Abstract::forwardYaf_Controller_Abstract::getInvokeArgYaf_Controller_Abstract::getInvokeArgsYaf_Controller_Abstract::getModuleNameYaf_Controller_Abstract::getRequestYaf_Controller_Abstract::getResponseYaf_Controller_Abstract::getViewYaf_Controller_Abstract::getViewpathYaf_Controller_Abstract::initYaf_Controller_Abstract::initViewYaf_Controller_Abstract::redirectYaf_Controller_Abstract::renderYaf_Controller_Abstract::setViewpathYaf_Action_AbstractYaf_Action_Abstract::executeYaf_Action_Abstract::getControllerYaf_View_InterfaceYaf_View_Interface::assignYaf_View_Interface::displayYaf_View_Interface::getScriptPathYaf_View_Interface::renderYaf_View_Interface::setScriptPathYaf_View_SimpleYaf_View_Simple::assignYaf_View_Simple::assignRefYaf_View_Simple::clearYaf_View_Simple::__constructYaf_View_Simple::displayYaf_View_Simple::evalYaf_View_Simple::__getYaf_View_Simple::getScriptPathYaf_View_Simple::__issetYaf_View_Simple::renderYaf_View_Simple::__setYaf_View_Simple::setScriptPathYaf_LoaderYaf_Loader::autoloadYaf_Loader::clearLocalNamespaceYaf_Loader::__cloneYaf_Loader::__constructYaf_Loader::getInstanceYaf_Loader::getLibraryPathYaf_Loader::getLocalNamespaceYaf_Loader::importYaf_Loader::isLocalNameYaf_Loader::registerLocalNamespaceYaf_Loader::setLibraryPathYaf_Loader::__sleepYaf_Loader::__wakeupYaf_Plugin_AbstractYaf_Plugin_Abstract::dispatchLoopShutdownYaf_Plugin_Abstract::dispatchLoopStartupYaf_Plugin_Abstract::postDispatchYaf_Plugin_Abstract::preDispatchYaf_Plugin_Abstract::preResponseYaf_Plugin_Abstract::routerShutdownYaf_Plugin_Abstract::routerStartupYaf_RegistryYaf_Registry::__cloneYaf_Registry::__constructYaf_Registry::delYaf_Registry::getYaf_Registry::hasYaf_Registry::setYaf_Request_AbstractYaf_Request_Abstract::getActionNameYaf_Request_Abstract::getBaseUriYaf_Request_Abstract::getControllerNameYaf_Request_Abstract::getEnvYaf_Request_Abstract::getExceptionYaf_Request_Abstract::getLanguageYaf_Request_Abstract::getMethodYaf_Request_Abstract::getModuleNameYaf_Request_Abstract::getParamYaf_Request_Abstract::getParamsYaf_Request_Abstract::getRequestUriYaf_Request_Abstract::getServerYaf_Request_Abstract::isCliYaf_Request_Abstract::isDispatchedYaf_Request_Abstract::isGetYaf_Request_Abstract::isHeadYaf_Request_Abstract::isOptionsYaf_Request_Abstract::isPostYaf_Request_Abstract::isPutYaf_Request_Abstract::isRoutedYaf_Request_Abstract::isXmlHttpRequestYaf_Request_Abstract::setActionNameYaf_Request_Abstract::setBaseUriYaf_Request_Abstract::setControllerNameYaf_Request_Abstract::setDispatchedYaf_Request_Abstract::setModuleNameYaf_Request_Abstract::setParamYaf_Request_Abstract::setRequestUriYaf_Request_Abstract::setRoutedYaf_Request_HttpYaf_Request_Http::__cloneYaf_Request_Http::__constructYaf_Request_Http::getYaf_Request_Http::getCookieYaf_Request_Http::getFilesYaf_Request_Http::getPostYaf_Request_Http::getQueryYaf_Request_Http::getRequestYaf_Request_Http::isXmlHttpRequestYaf_Request_SimpleYaf_Request_Simple::__cloneYaf_Request_Simple::__constructYaf_Request_Simple::getYaf_Request_Simple::getCookieYaf_Request_Simple::getFilesYaf_Request_Simple::getPostYaf_Request_Simple::getQueryYaf_Request_Simple::getRequestYaf_Request_Simple::isXmlHttpRequestYaf_Response_AbstractYaf_Response_Abstract::appendBodyYaf_Response_Abstract::clearBodyYaf_Response_Abstract::clearHeadersYaf_Response_Abstract::__cloneYaf_Response_Abstract::__constructYaf_Response_Abstract::__destructYaf_Response_Abstract::getBodyYaf_Response_Abstract::getHeaderYaf_Response_Abstract::prependBodyYaf_Response_Abstract::responseYaf_Response_Abstract::setAllHeadersYaf_Response_Abstract::setBodyYaf_Response_Abstract::setHeaderYaf_Response_Abstract::setRedirectYaf_Response_Abstract::__toStringYaf_Route_InterfaceYaf_Route_Interface::assembleYaf_Route_Interface::routeYaf_Route_MapYaf_Route_Map::assembleYaf_Route_Map::__constructYaf_Route_Map::routeYaf_Route_RegexYaf_Route_Regex::assembleYaf_Route_Regex::__constructYaf_Route_Regex::routeYaf_Route_RewriteYaf_Route_Rewrite::assembleYaf_Route_Rewrite::__constructYaf_Route_Rewrite::routeYaf_RouterYaf_Router::addConfigYaf_Router::addRouteYaf_Router::__constructYaf_Router::getCurrentRouteYaf_Router::getRouteYaf_Router::getRoutesYaf_Router::routeYaf_Route_SimpleYaf_Route_Simple::assembleYaf_Route_Simple::__constructYaf_Route_Simple::routeYaf_Route_StaticYaf_Route_Static::assembleYaf_Route_Static::matchYaf_Route_Static::routeYaf_Route_SupervarYaf_Route_Supervar::assembleYaf_Route_Supervar::__constructYaf_Route_Supervar::routeYaf_SessionYaf_Session::__cloneYaf_Session::__constructYaf_Session::countYaf_Session::currentYaf_Session::delYaf_Session::__getYaf_Session::getInstanceYaf_Session::hasYaf_Session::__issetYaf_Session::keyYaf_Session::nextYaf_Session::offsetExistsYaf_Session::offsetGetYaf_Session::offsetSetYaf_Session::offsetUnsetYaf_Session::rewindYaf_Session::__setYaf_Session::__sleepYaf_Session::startYaf_Session::__unsetYaf_Session::validYaf_Session::__wakeupYaf_ExceptionYaf_Exception::__constructYaf_Exception::getPreviousYaf_Exception_TypeErrorYaf_Exception_StartupErrorYaf_Exception_DispatchFailedYaf_Exception_RouterFailedYaf_Exception_LoadFailedYaf_Exception_LoadFailed_ModuleYaf_Exception_LoadFailed_ControllerYaf_Exception_LoadFailed_ActionYaf_Exception_LoadFailed_ViewTaint简介安装/配置需求安装运行时配置资源类型More DetailsFunctions and Statements which will spread the tainted mark of a tainted stringFunctions and statements which will check tainted stringFunctions which untaint the tainted stringTaint 函数is_taintedtaintuntaint其它服务chdb简介安装/配置需求安装运行时配置资源类型预定义常量范例chdbchdb::__constructchdb::getchdb 函数chdb_createcURL简介安装/配置需求安装运行时配置资源类型预定义常量范例curl 基础例子cURL 函数curl_closecurl_copy_handlecurl_errnocurl_errorcurl_escapecurl_execcurl_file_createcurl_getinfocurl_initcurl_multi_add_handlecurl_multi_closecurl_multi_execcurl_multi_getcontentcurl_multi_info_readcurl_multi_initcurl_multi_remove_handlecurl_multi_selectcurl_multi_setoptcurl_multi_strerrorcurl_pausecurl_resetcurl_setopt_arraycurl_setoptcurl_share_closecurl_share_initcurl_share_setoptcurl_strerrorcurl_unescapecurl_versionEvent简介安装/配置需求安装运行时配置资源类型范例Event flagsAbout event persistenceEvent callbacksConstructing signal eventsEventEvent::addEvent::addSignalEvent::addTimerEvent::__constructEvent::delEvent::delSignalEvent::delTimerEvent::freeEvent::getSupportedMethodsEvent::pendingEvent::setEvent::setPriorityEvent::setTimerEvent::signalEvent::timerEventBaseEventBase::__constructEventBase::dispatchEventBase::exitEventBase::freeEventBase::getFeaturesEventBase::getMethodEventBase::getTimeOfDayCachedEventBase::gotExitEventBase::gotStopEventBase::loopEventBase::priorityInitEventBase::reInitEventBase::stopEventBufferEventBuffer::addEventBuffer::addBufferEventBuffer::appendFromEventBuffer::__constructEventBuffer::copyoutEventBuffer::drainEventBuffer::enableLockingEventBuffer::expandEventBuffer::freezeEventBuffer::lockEventBuffer::prependEventBuffer::prependBufferEventBuffer::pullupEventBuffer::readEventBuffer::readFromEventBuffer::readLineEventBuffer::searchEventBuffer::searchEolEventBuffer::substrEventBuffer::unfreezeEventBuffer::unlockEventBuffer::writeEventBufferEventEventBufferEvent::closeEventBufferEvent::connectEventBufferEvent::connectHostEventBufferEvent::__constructEventBufferEvent::createPairEventBufferEvent::disableEventBufferEvent::enableEventBufferEvent::freeEventBufferEvent::getDnsErrorStringEventBufferEvent::getEnabledEventBufferEvent::getInputEventBufferEvent::getOutputEventBufferEvent::readEventBufferEvent::readBufferEventBufferEvent::setCallbacksEventBufferEvent::setPriorityEventBufferEvent::setTimeoutsEventBufferEvent::setWatermarkEventBufferEvent::sslErrorEventBufferEvent::sslFilterEventBufferEvent::sslGetCipherInfoEventBufferEvent::sslGetCipherNameEventBufferEvent::sslGetCipherVersionEventBufferEvent::sslGetProtocolEventBufferEvent::sslRenegotiateEventBufferEvent::sslSocketEventBufferEvent::writeEventBufferEvent::writeBufferAbout buffer event callbacksEventConfigEventConfig::avoidMethodEventConfig::__constructEventConfig::requireFeaturesEventConfig::setMaxDispatchIntervalEventDnsBaseEventDnsBase::addNameserverIpEventDnsBase::addSearchEventDnsBase::clearSearchEventDnsBase::__constructEventDnsBase::countNameserversEventDnsBase::loadHostsEventDnsBase::parseResolvConfEventDnsBase::setOptionEventDnsBase::setSearchNdotsEventHttpEventHttp::acceptEventHttp::addServerAliasEventHttp::bindEventHttp::__constructEventHttp::removeServerAliasEventHttp::setAllowedMethodsEventHttp::setCallbackEventHttp::setDefaultCallbackEventHttp::setMaxBodySizeEventHttp::setMaxHeadersSizeEventHttp::setTimeoutEventHttpConnectionEventHttpConnection::__constructEventHttpConnection::getBaseEventHttpConnection::getPeerEventHttpConnection::makeRequestEventHttpConnection::setCloseCallbackEventHttpConnection::setLocalAddressEventHttpConnection::setLocalPortEventHttpConnection::setMaxBodySizeEventHttpConnection::setMaxHeadersSizeEventHttpConnection::setRetriesEventHttpConnection::setTimeoutEventHttpRequestEventHttpRequest::addHeaderEventHttpRequest::cancelEventHttpRequest::clearHeadersEventHttpRequest::closeConnectionEventHttpRequest::__constructEventHttpRequest::findHeaderEventHttpRequest::freeEventHttpRequest::getBufferEventEventHttpRequest::getCommandEventHttpRequest::getConnectionEventHttpRequest::getHostEventHttpRequest::getInputBufferEventHttpRequest::getInputHeadersEventHttpRequest::getOutputBufferEventHttpRequest::getOutputHeadersEventHttpRequest::getResponseCodeEventHttpRequest::getUriEventHttpRequest::removeHeaderEventHttpRequest::sendErrorEventHttpRequest::sendReplyEventHttpRequest::sendReplyChunkEventHttpRequest::sendReplyEndEventHttpRequest::sendReplyStartEventListenerEventListener::__constructEventListener::disableEventListener::enableEventListener::getBaseEventListener::getSocketNameEventListener::setCallbackEventListener::setErrorCallbackEventSslContextEventSslContext::__constructEventUtilEventUtil::__constructEventUtil::getLastSocketErrnoEventUtil::getLastSocketErrorEventUtil::getSocketFdEventUtil::getSocketNameEventUtil::setSocketOptionEventUtil::sslRandPollFAM简介安装/配置需求安装运行时配置资源类型预定义常量FAM 函数fam_cancel_monitorfam_closefam_monitor_collectionfam_monitor_directoryfam_monitor_filefam_next_eventfam_openfam_pendingfam_resume_monitorfam_suspend_monitorFTP简介安装/配置需求安装运行时配置资源类型预定义常量范例基本用法FTP 函数ftp_allocftp_cdupftp_chdirftp_chmodftp_closeftp_connectftp_deleteftp_execftp_fgetftp_fputftp_get_optionftp_getftp_loginftp_mdtmftp_mkdirftp_nb_continueftp_nb_fgetftp_nb_fputftp_nb_getftp_nb_putftp_nlistftp_pasvftp_putftp_pwdftp_quitftp_rawftp_rawlistftp_renameftp_rmdirftp_set_optionftp_siteftp_sizeftp_ssl_connectftp_systypeGearman简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageBasic Gearman client and worker, backgroundBasic Gearman client and worker, submitting tasksGearmanClientGearmanClient::addOptionsGearmanClient::addServerGearmanClient::addServersGearmanClient::addTaskGearmanClient::addTaskBackgroundGearmanClient::addTaskHighGearmanClient::addTaskHighBackgroundGearmanClient::addTaskLowGearmanClient::addTaskLowBackgroundGearmanClient::addTaskStatusGearmanClient::clearCallbacksGearmanClient::cloneGearmanClient::__constructGearmanClient::contextGearmanClient::dataGearmanClient::doGearmanClient::doBackgroundGearmanClient::doHighGearmanClient::doHighBackgroundGearmanClient::doJobHandleGearmanClient::doLowGearmanClient::doLowBackgroundGearmanClient::doNormalGearmanClient::doStatusGearmanClient::echoGearmanClient::errorGearmanClient::getErrnoGearmanClient::jobStatusgearman_job_statusGearmanClient::pingGearmanClient::removeOptionsGearmanClient::returnCodeGearmanClient::runTasksGearmanClient::setClientCallbackGearmanClient::setCompleteCallbackGearmanClient::setContextGearmanClient::setCreatedCallbackGearmanClient::setDataGearmanClient::setDataCallbackGearmanClient::setExceptionCallbackGearmanClient::setFailCallbackGearmanClient::setOptionsGearmanClient::setStatusCallbackGearmanClient::setTimeoutGearmanClient::setWarningCallbackGearmanClient::setWorkloadCallbackGearmanClient::timeoutGearmanJobGearmanJob::completeGearmanJob::__constructGearmanJob::dataGearmanJob::exceptionGearmanJob::failGearmanJob::functionNameGearmanJob::handleGearmanJob::returnCodeGearmanJob::sendCompleteGearmanJob::sendDataGearmanJob::sendExceptionGearmanJob::sendFailGearmanJob::sendStatusGearmanJob::sendWarningGearmanJob::setReturnGearmanJob::statusGearmanJob::uniqueGearmanJob::warningGearmanJob::workloadGearmanJob::workloadSizeGearmanTaskGearmanTask::__constructGearmanTask::createGearmanTask::dataGearmanTask::dataSizeGearmanTask::functionGearmanTask::functionNameGearmanTask::isKnownGearmanTask::isRunningGearmanTask::jobHandlegearman_job_handleGearmanTask::recvDataGearmanTask::returnCodeGearmanTask::sendDataGearmanTask::sendWorkloadGearmanTask::taskDenominatorGearmanTask::taskNumeratorGearmanTask::uniqueGearmanTask::uuidGearmanWorkerGearmanWorker::addFunctionGearmanWorker::addOptionsGearmanWorker::addServerGearmanWorker::addServersGearmanWorker::cloneGearmanWorker::__constructGearmanWorker::echoGearmanWorker::errorGearmanWorker::getErrnoGearmanWorker::optionsGearmanWorker::registerGearmanWorker::removeOptionsGearmanWorker::returnCodeGearmanWorker::setIdGearmanWorker::setOptionsGearmanWorker::setTimeoutGearmanWorker::timeoutGearmanWorker::unregisterGearmanWorker::unregisterAllGearmanWorker::waitGearmanWorker::workGearmanExceptionGopher简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic ExampleGopher 函数gopher_parsedirGupnp简介安装/配置需求安装运行时配置资源类型预定义常量范例Browsing devices and servicesImplementing the BinaryLight deviceGupnp 函数gupnp_context_get_host_ipgupnp_context_get_portgupnp_context_get_subscription_timeoutgupnp_context_host_pathgupnp_context_newgupnp_context_set_subscription_timeoutgupnp_context_timeout_addgupnp_context_unhost_pathgupnp_control_point_browse_startgupnp_control_point_browse_stopgupnp_control_point_callback_setgupnp_control_point_newgupnp_device_action_callback_setgupnp_device_info_get_servicegupnp_device_info_getgupnp_root_device_get_availablegupnp_root_device_get_relative_locationgupnp_root_device_newgupnp_root_device_set_availablegupnp_root_device_startgupnp_root_device_stopgupnp_service_action_getgupnp_service_action_return_errorgupnp_service_action_returngupnp_service_action_setgupnp_service_freeze_notifygupnp_service_info_get_introspectiongupnp_service_info_getgupnp_service_introspection_get_state_variablegupnp_service_notifygupnp_service_proxy_action_getgupnp_service_proxy_action_setgupnp_service_proxy_add_notifygupnp_service_proxy_callback_setgupnp_service_proxy_get_subscribedgupnp_service_proxy_remove_notifygupnp_service_proxy_send_actiongupnp_service_proxy_set_subscribedgupnp_service_thaw_notifyHTTP简介安装/配置需求Installing the HTTP extension运行时配置资源类型预定义常量Request OptionsHttpDeflateStreamHttpDeflateStream::__constructHttpDeflateStream::factoryHttpDeflateStream::finishHttpDeflateStream::flushHttpDeflateStream::updateHttpInflateStreamHttpInflateStream::__constructHttpInflateStream::factoryHttpInflateStream::finishHttpInflateStream::flushHttpInflateStream::updateHttpMessageHttpMessage::addHeadersHttpMessage::__constructHttpMessage::detachHttpMessage::factoryHttpMessage::fromEnvHttpMessage::fromStringHttpMessage::getBodyHttpMessage::getHeaderHttpMessage::getHeadersHttpMessage::getHttpVersionHttpMessage::getParentMessageHttpMessage::getRequestMethodHttpMessage::getRequestUrlHttpMessage::getResponseCodeHttpMessage::getResponseStatusHttpMessage::getTypeHttpMessage::guessContentTypeHttpMessage::prependHttpMessage::reverseHttpMessage::sendHttpMessage::setBodyHttpMessage::setHeadersHttpMessage::setHttpVersionHttpMessage::setRequestMethodHttpMessage::setRequestUrlHttpMessage::setResponseCodeHttpMessage::setResponseStatusHttpMessage::setTypeHttpMessage::toMessageTypeObjectHttpMessage::toStringHttpQueryStringHttpQueryString::__constructHttpQueryString::getHttpQueryString::modHttpQueryString::setHttpQueryString::singletonHttpQueryString::toArrayHttpQueryString::toStringHttpQueryString::xlateHttpRequestHttpRequest::addCookiesHttpRequest::addHeadersHttpRequest::addPostFieldsHttpRequest::addPostFileHttpRequest::addPutDataHttpRequest::addQueryDataHttpRequest::addRawPostDataHttpRequest::addSslOptionsHttpRequest::clearHistoryHttpRequest::__constructHttpRequest::enableCookiesHttpRequest::getContentTypeHttpRequest::getCookiesHttpRequest::getHeadersHttpRequest::getHistoryHttpRequest::getMethodHttpRequest::getOptionsHttpRequest::getPostFieldsHttpRequest::getPostFilesHttpRequest::getPutDataHttpRequest::getPutFileHttpRequest::getQueryDataHttpRequest::getRawPostDataHttpRequest::getRawRequestMessageHttpRequest::getRawResponseMessageHttpRequest::getRequestMessageHttpRequest::getResponseBodyHttpRequest::getResponseCodeHttpRequest::getResponseCookiesHttpRequest::getResponseDataHttpRequest::getResponseHeaderHttpRequest::getResponseInfoHttpRequest::getResponseMessageHttpRequest::getResponseStatusHttpRequest::getSslOptionsHttpRequest::getUrlHttpRequest::resetCookiesHttpRequest::sendHttpRequest::setBodyHttpRequest::setContentTypeHttpRequest::setCookiesHttpRequest::setHeadersHttpRequest::setMethodHttpRequest::setOptionsHttpRequest::setPostFieldsHttpRequest::setPostFilesHttpRequest::setPutDataHttpRequest::setPutFileHttpRequest::setQueryDataHttpRequest::setRawPostDataHttpRequest::setSslOptionsHttpRequest::setUrlHttpRequestPoolHttpRequestPool::attachHttpRequestPool::__constructHttpRequestPool::__destructHttpRequestPool::detachHttpRequestPool::getAttachedRequestsHttpRequestPool::getFinishedRequestsHttpRequestPool::resetHttpRequestPool::sendHttpRequestPool::socketPerformHttpRequestPool::socketSelectHttpResponseHttpResponse::captureHttpResponse::getBufferSizeHttpResponse::getCacheHttpResponse::getCacheControlHttpResponse::getContentDispositionHttpResponse::getContentTypeHttpResponse::getDataHttpResponse::getETagHttpResponse::getFileHttpResponse::getGzipHttpResponse::getHeaderHttpResponse::getLastModifiedHttpResponse::getRequestBodyHttpResponse::getRequestBodyStreamHttpResponse::getRequestHeadersHttpResponse::getStreamHttpResponse::getThrottleDelayHttpResponse::guessContentTypeHttpResponse::redirectHttpResponse::sendHttpResponse::setBufferSizeHttpResponse::setCacheHttpResponse::setCacheControlHttpResponse::setContentDispositionHttpResponse::setContentTypeHttpResponse::setDataHttpResponse::setETagHttpResponse::setFileHttpResponse::setGzipHttpResponse::setHeaderHttpResponse::setLastModifiedHttpResponse::setStreamHttpResponse::setThrottleDelayHttpResponse::statusHTTP 函数http_cache_etaghttp_cache_last_modifiedhttp_chunked_decodehttp_deflatehttp_inflatehttp_build_cookiehttp_datehttp_get_request_body_streamhttp_get_request_bodyhttp_get_request_headershttp_match_etaghttp_match_modifiedhttp_match_request_headerhttp_supporthttp_negotiate_charsethttp_negotiate_content_typehttp_negotiate_languageob_deflatehandlerob_etaghandlerob_inflatehandlerhttp_parse_cookiehttp_parse_headershttp_parse_messagehttp_parse_paramshttp_persistent_handles_cleanhttp_persistent_handles_counthttp_persistent_handles_identhttp_gethttp_headhttp_post_datahttp_post_fieldshttp_put_datahttp_put_filehttp_put_streamhttp_request_body_encodehttp_request_method_existshttp_request_method_namehttp_request_method_registerhttp_request_method_unregisterhttp_requesthttp_redirecthttp_send_content_dispositionhttp_send_content_typehttp_send_datahttp_send_filehttp_send_last_modifiedhttp_send_statushttp_send_streamhttp_throttlehttp_build_strhttp_build_urlHyperwave API简介安装/配置需求安装运行时配置资源类型预定义常量Integration with ApacheHyperwave API 函数hw_api::checkinhw_api::checkouthw_api::childrenhw_api::contenthw_api::copyhw_api::dbstathw_api::dcstathw_api::dstanchorshw_api::dstofsrcanchorhw_api::findhw_api::ftstathw_api::hwstathw_api::identifyhw_api::infohw_api::inserthw_api::insertanchorhw_api::insertcollectionhw_api::insertdocumenthw_api::linkhw_api::lockhw_api::movehw_api::objecthw_api::objectbyanchorhw_api::parentshw_api::removehw_api::replacehw_api::setcommittedversionhw_api::srcanchorshw_api::srcsofdsthw_api::unlockhw_api::userhw_api::userlisthw_api_attribute::keyhw_api_attribute::langdepvaluehw_api_attribute::valuehw_api_attribute::valueshw_api_content::mimetypehw_api_content::readhw_api_error::counthw_api_error::reasonhw_api_object::assignhw_api_object::attreditablehw_api_object::counthw_api_object::inserthw_api_object::removehw_api_object::titlehw_api_object::valuehw_api_reason::descriptionhw_api_reason::typehwapi_attribute_newhwapi_content_newhwapi_hgcsphwapi_object_newLDAP简介安装/配置需求安装运行时配置资源类型预定义常量Using the PHP LDAP calls范例Basic usageLDAP 函数ldap_8859_to_t61ldap_addldap_bindldap_closeldap_compareldap_connectldap_control_paged_result_responseldap_control_paged_resultldap_count_entriesldap_deleteldap_dn2ufnldap_err2strldap_errnoldap_errorldap_escapeldap_explode_dnldap_first_attributeldap_first_entryldap_first_referenceldap_free_resultldap_get_attributesldap_get_dnldap_get_entriesldap_get_optionldap_get_values_lenldap_get_valuesldap_listldap_mod_addldap_mod_delldap_mod_replaceldap_modify_batchldap_modifyldap_next_attributeldap_next_entryldap_next_referenceldap_parse_referenceldap_parse_resultldap_readldap_renameldap_sasl_bindldap_searchldap_set_optionldap_set_rebind_procldap_sortldap_start_tlsldap_t61_to_8859ldap_unbindMemcache简介安装/配置需求安装运行时配置资源类型预定义常量范例示例MemcacheMemcache::addMemcache::addServerMemcache::closeMemcache::connectMemcache::decrementMemcache::deleteMemcache::flushMemcache::getMemcache::getExtendedStatsMemcache::getServerStatusMemcache::getStatsMemcache::getVersionMemcache::incrementMemcache::pconnectMemcache::replaceMemcache::setMemcache::setCompressThresholdMemcache::setServerParamsMemcache 函数memcache_debugMemcached简介安装/配置需求安装运行时配置资源类型预定义常量超时时间回调结果回调通读缓存回调Sessions支持MemcachedMemcached::addMemcached::addByKeyMemcached::addServerMemcached::addServersMemcached::appendMemcached::appendByKeyMemcached::casMemcached::casByKeyMemcached::__constructMemcached::decrementMemcached::decrementByKeyMemcached::deleteMemcached::deleteByKeyMemcached::deleteMultiMemcached::deleteMultiByKeyMemcached::fetchMemcached::fetchAllMemcached::flushMemcached::getMemcached::getAllKeysMemcached::getByKeyMemcached::getDelayedMemcached::getDelayedByKeyMemcached::getMultiMemcached::getMultiByKeyMemcached::getOptionMemcached::getResultCodeMemcached::getResultMessageMemcached::getServerByKeyMemcached::getServerListMemcached::getStatsMemcached::getVersionMemcached::incrementMemcached::incrementByKeyMemcached::isPersistentMemcached::isPristineMemcached::prependMemcached::prependByKeyMemcached::quitMemcached::replaceMemcached::replaceByKeyMemcached::resetServerListMemcached::setMemcached::setByKeyMemcached::setMultiMemcached::setMultiByKeyMemcached::setOptionMemcached::setOptionsMemcached::setSaslAuthDataMemcached::touchMemcached::touchByKeymqseries简介安装/配置需求安装运行时配置资源类型预定义常量mqseries 函数mqseries_backmqseries_beginmqseries_closemqseries_cmitmqseries_connmqseries_connxmqseries_discmqseries_getmqseries_inqmqseries_openmqseries_put1mqseries_putmqseries_setmqseries_strerror网络简介安装/配置需求安装运行时配置资源类型预定义常量网络 函数checkdnsrrcloselogdefine_syslog_variablesdns_check_recorddns_get_mxdns_get_recordfsockopengethostbyaddrgethostbynamegethostbynamelgethostnamegetmxrrgetprotobynamegetprotobynumbergetservbynamegetservbyportheader_register_callbackheader_removeheaderheaders_listheaders_senthttp_response_codeinet_ntopinet_ptonip2longlong2ipopenlogpfsockopensetcookiesetrawcookiesocket_get_statussocket_set_blockingsocket_set_timeoutsyslogRRD简介安装/配置需求安装运行时配置资源类型预定义常量范例Procedural PECL/rrd exampleOOP PECL/rrd exampleRRD 函数rrd_createrrd_errorrrd_fetchrrd_firstrrd_graphrrd_inforrd_lastrrd_lastupdaterrd_restorerrd_tunerrd_updaterrd_versionrrd_xportrrdc_disconnectRRDCreatorRRDCreator::addArchiveRRDCreator::addDataSourceRRDCreator::__constructRRDCreator::saveRRDGraphRRDGraph::__constructRRDGraph::saveRRDGraph::saveVerboseRRDGraph::setOptionsRRDUpdaterRRDUpdater::__constructRRDUpdater::updateSAM简介安装/配置需求安装运行时配置资源类型预定义常量范例ConnectionsMessagesMessaging operationsPublish/Subscribe and subscriptions to topicsError handlingSAM 函数SAMConnection::commitSAMConnection::connectSAMConnection::__constructSAMConnection::disconnectSAMConnection::errnoSAMConnection::errorSAMConnection::isConnectedSAMConnection::peekSAMConnection::peekAllSAMConnection::receiveSAMConnection::removeSAMConnection::rollbackSAMConnection::sendSAMConnection::setDebugSAMConnection::subscribeSAMConnection::unsubscribeSAMMessage::bodySAMMessage::__constructSAMMessage::headerSNMP简介安装/配置需求安装运行时配置资源类型预定义常量SNMP 函数snmp_get_quick_printsnmp_get_valueretrievalsnmp_read_mibsnmp_set_enum_printsnmp_set_oid_numeric_printsnmp_set_oid_output_formatsnmp_set_quick_printsnmp_set_valueretrievalsnmp2_getsnmp2_getnextsnmp2_real_walksnmp2_setsnmp2_walksnmp3_getsnmp3_getnextsnmp3_real_walksnmp3_setsnmp3_walksnmpgetsnmpgetnextsnmprealwalksnmpsetsnmpwalksnmpwalkoidSNMPSNMP::closeSNMP::__constructSNMP::getSNMP::getErrnoSNMP::getErrorSNMP::getnextSNMP::setSNMP::setSecuritySNMP::walkSNMPExceptionSockets简介安装/配置需求安装运行时配置资源类型预定义常量范例Socket ErrorsSocket 函数socket_acceptsocket_bindsocket_clear_errorsocket_closesocket_cmsg_spacesocket_connectsocket_create_listensocket_create_pairsocket_createsocket_get_optionsocket_getpeernamesocket_getsocknamesocket_import_streamsocket_last_errorsocket_listensocket_readsocket_recvsocket_recvfromsocket_recvmsgsocket_selectsocket_sendsocket_sendmsgsocket_sendtosocket_set_blocksocket_set_nonblocksocket_set_optionsocket_shutdownsocket_strerrorsocket_writeSSH2简介安装/配置需求安装运行时配置资源类型预定义常量SSH2 函数ssh2_auth_agentssh2_auth_hostbased_filessh2_auth_nonessh2_auth_passwordssh2_auth_pubkey_filessh2_connectssh2_execssh2_fetch_streamssh2_fingerprintssh2_methods_negotiatedssh2_publickey_addssh2_publickey_initssh2_publickey_listssh2_publickey_removessh2_scp_recvssh2_scp_sendssh2_sftp_chmodssh2_sftp_lstatssh2_sftp_mkdirssh2_sftp_readlinkssh2_sftp_realpathssh2_sftp_renamessh2_sftp_rmdirssh2_sftp_statssh2_sftp_symlinkssh2_sftp_unlinkssh2_sftpssh2_shellssh2_tunnelStomp简介安装/配置需求安装运行时配置资源类型范例Stomp 函数stomp_connect_errorstomp_versionStompStomp::abortstomp_abortStomp::ackstomp_ackStomp::beginstomp_beginStomp::commitstomp_commitStomp::__constructstomp_connectStomp::__destructstomp_closeStomp::errorstomp_errorStomp::getReadTimeoutstomp_get_read_timeoutStomp::getSessionIdstomp_get_session_idStomp::hasFramestomp_has_frameStomp::readFramestomp_read_frameStomp::sendstomp_sendStomp::setReadTimeoutstomp_set_read_timeoutStomp::subscribestomp_subscribeStomp::unsubscribestomp_unsubscribeStompFrameStompFrame::__constructStompExceptionStompException::getDetailsSVM简介安装/配置需求安装运行时配置资源类型范例SVMSVM::__constructSVM::crossvalidateSVM::getOptionsSVM::setOptionsSVM::trainSVMModelSVMModel::checkProbabilityModelSVMModel::__constructSVMModel::getLabelsSVMModel::getNrClassSVMModel::getSvmTypeSVMModel::getSvrProbabilitySVMModel::loadSVMModel::predict_probabilitySVMModel::predictSVMModel::saveSVN简介安装/配置需求安装运行时配置资源类型预定义常量SVN 函数svn_addsvn_auth_get_parametersvn_auth_set_parametersvn_blamesvn_catsvn_checkoutsvn_cleanupsvn_client_versionsvn_commitsvn_deletesvn_diffsvn_exportsvn_fs_abort_txnsvn_fs_apply_textsvn_fs_begin_txn2svn_fs_change_node_propsvn_fs_check_pathsvn_fs_contents_changedsvn_fs_copysvn_fs_deletesvn_fs_dir_entriessvn_fs_file_contentssvn_fs_file_lengthsvn_fs_is_dirsvn_fs_is_filesvn_fs_make_dirsvn_fs_make_filesvn_fs_node_created_revsvn_fs_node_propsvn_fs_props_changedsvn_fs_revision_propsvn_fs_revision_rootsvn_fs_txn_rootsvn_fs_youngest_revsvn_importsvn_logsvn_lssvn_mkdirsvn_repos_createsvn_repos_fs_begin_txn_for_commitsvn_repos_fs_commit_txnsvn_repos_fssvn_repos_hotcopysvn_repos_opensvn_repos_recoversvn_revertsvn_statussvn_updateTCP简介安装/配置需求安装运行时配置资源类型预定义常量TCP 函数tcpwrap_checkVarnish简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic VarnishAdmin usageBasic VarnishStat usageBasic VarnishLog usageVarnishAdminVarnishAdmin::authVarnishAdmin::banVarnishAdmin::banUrlVarnishAdmin::clearPanicVarnishAdmin::connectVarnishAdmin::__constructVarnishAdmin::disconnectVarnishAdmin::getPanicVarnishAdmin::getParamsVarnishAdmin::isRunningVarnishAdmin::setCompatVarnishAdmin::setHostVarnishAdmin::setIdentVarnishAdmin::setParamVarnishAdmin::setPortVarnishAdmin::setSecretVarnishAdmin::setTimeoutVarnishAdmin::startVarnishAdmin::stopVarnishStatVarnishStat::__constructVarnishStat::getSnapshotVarnishLogVarnishLog::__constructVarnishLog::getLineVarnishLog::getTagNameYAZ简介安装/配置需求安装运行时配置资源类型预定义常量范例YAZ 函数yaz_addinfoyaz_ccl_confyaz_ccl_parseyaz_closeyaz_connectyaz_databaseyaz_elementyaz_errnoyaz_erroryaz_es_resultyaz_esyaz_get_optionyaz_hitsyaz_itemorderyaz_presentyaz_rangeyaz_recordyaz_scan_resultyaz_scanyaz_schemayaz_searchyaz_set_optionyaz_sortyaz_syntaxyaz_waitYP/NIS简介安装/配置需求安装运行时配置资源类型预定义常量YP/NIS 函数yp_allyp_catyp_err_stringyp_errnoyp_firstyp_get_default_domainyp_masteryp_matchyp_nextyp_order0MQ消息系统简介安装/配置需求ZMQZMQ::__constructZMQContextZMQContext::__constructZMQContext::getOptZMQContext::getSocketZMQContext::isPersistentZMQContext::setOptZMQSocketZMQSocket::bindZMQSocket::connectZMQSocket::__constructZMQSocket::disconnectZMQSocket::getEndpointsZMQSocket::getPersistentIdZMQSocket::getSocketTypeZMQSocket::getSockOptZMQSocket::isPersistentZMQSocket::recvZMQSocket::recvMultiZMQSocket::sendZMQSocket::sendmultiZMQSocket::setSockOptZMQSocket::unbindZMQPollZMQPoll::addZMQPoll::clearZMQPoll::countZMQPoll::getLastErrorsZMQPoll::pollZMQPoll::removeZMQDeviceZMQDevice::__constructZMQDevice::getIdleTimeoutZMQDevice::getTimerTimeoutZMQDevice::runZMQDevice::setIdleCallbackZMQDevice::setIdleTimeoutZMQDevice::setTimerCallbackZMQDevice::setTimerTimeout搜索引擎扩展mnoGoSearch简介安装/配置需求安装运行时配置资源类型预定义常量mnoGoSearch 函数udm_add_search_limitudm_alloc_agent_arrayudm_alloc_agentudm_api_versionudm_cat_listudm_cat_pathudm_check_charsetudm_clear_search_limitsudm_crc32udm_errnoudm_errorudm_findudm_free_agentudm_free_ispell_dataudm_free_resudm_get_doc_countudm_get_res_fieldudm_get_res_paramudm_hash32udm_load_ispell_dataudm_set_agent_paramSolr简介安装/配置需求安装运行时配置资源类型预定义常量Solr 函数solr_get_version范例SolrUtilsSolrUtils::digestXmlResponseSolrUtils::escapeQueryCharsSolrUtils::getSolrVersionSolrUtils::queryPhraseSolrInputDocumentSolrInputDocument::addFieldSolrInputDocument::clearSolrInputDocument::__cloneSolrInputDocument::__constructSolrInputDocument::deleteFieldSolrInputDocument::__destructSolrInputDocument::fieldExistsSolrInputDocument::getBoostSolrInputDocument::getFieldSolrInputDocument::getFieldBoostSolrInputDocument::getFieldCountSolrInputDocument::getFieldNamesSolrInputDocument::mergeSolrInputDocument::resetSolrInputDocument::setBoostSolrInputDocument::setFieldBoostSolrInputDocument::sortSolrInputDocument::toArraySolrDocumentSolrDocument::addFieldSolrDocument::clearSolrDocument::__cloneSolrDocument::__constructSolrDocument::currentSolrDocument::deleteFieldSolrDocument::__destructSolrDocument::fieldExistsSolrDocument::__getSolrDocument::getFieldSolrDocument::getFieldCountSolrDocument::getFieldNamesSolrDocument::getInputDocumentSolrDocument::__issetSolrDocument::keySolrDocument::mergeSolrDocument::nextSolrDocument::offsetExistsSolrDocument::offsetGetSolrDocument::offsetSetSolrDocument::offsetUnsetSolrDocument::resetSolrDocument::rewindSolrDocument::serializeSolrDocument::__setSolrDocument::sortSolrDocument::toArraySolrDocument::unserializeSolrDocument::__unsetSolrDocument::validSolrDocumentFieldSolrDocumentField::__constructSolrDocumentField::__destructSolrObjectSolrObject::__constructSolrObject::__destructSolrObject::getPropertyNamesSolrObject::offsetExistsSolrObject::offsetGetSolrObject::offsetSetSolrObject::offsetUnsetSolrClientSolrClient::addDocumentSolrClient::addDocumentsSolrClient::commitSolrClient::__constructSolrClient::deleteByIdSolrClient::deleteByIdsSolrClient::deleteByQueriesSolrClient::deleteByQuerySolrClient::__destructSolrClient::getByIdSolrClient::getByIdsSolrClient::getDebugSolrClient::getOptionsSolrClient::optimizeSolrClient::pingSolrClient::querySolrClient::requestSolrClient::rollbackSolrClient::setResponseWriterSolrClient::setServletSolrClient::systemSolrClient::threadsSolrResponseSolrResponse::getDigestedResponseSolrResponse::getHttpStatusSolrResponse::getHttpStatusMessageSolrResponse::getRawRequestSolrResponse::getRawRequestHeadersSolrResponse::getRawResponseSolrResponse::getRawResponseHeadersSolrResponse::getRequestUrlSolrResponse::getResponseSolrResponse::setParseModeSolrResponse::successSolrQueryResponseSolrQueryResponse::__constructSolrQueryResponse::__destructSolrUpdateResponseSolrUpdateResponse::__constructSolrUpdateResponse::__destructSolrPingResponseSolrPingResponse::__constructSolrPingResponse::__destructSolrPingResponse::getResponseSolrGenericResponseSolrGenericResponse::__constructSolrGenericResponse::__destructSolrParamsSolrParams::addSolrParams::addParamSolrParams::getSolrParams::getParamSolrParams::getParamsSolrParams::getPreparedParamsSolrParams::serializeSolrParams::setSolrParams::setParamSolrParams::toStringSolrParams::unserializeSolrModifiableParamsSolrModifiableParams::__constructSolrModifiableParams::__destructSolrQuerySolrQuery::addExpandFilterQuerySolrQuery::addExpandSortFieldSolrQuery::addFacetDateFieldSolrQuery::addFacetDateOtherSolrQuery::addFacetFieldSolrQuery::addFacetQuerySolrQuery::addFieldSolrQuery::addFilterQuerySolrQuery::addGroupFieldSolrQuery::addGroupFunctionSolrQuery::addGroupQuerySolrQuery::addGroupSortFieldSolrQuery::addHighlightFieldSolrQuery::addMltFieldSolrQuery::addMltQueryFieldSolrQuery::addSortFieldSolrQuery::addStatsFacetSolrQuery::addStatsFieldSolrQuery::collapseSolrQuery::__constructSolrQuery::__destructSolrQuery::getExpandSolrQuery::getExpandFilterQueriesSolrQuery::getExpandQuerySolrQuery::getExpandRowsSolrQuery::getExpandSortFieldsSolrQuery::getFacetSolrQuery::getFacetDateEndSolrQuery::getFacetDateFieldsSolrQuery::getFacetDateGapSolrQuery::getFacetDateHardEndSolrQuery::getFacetDateOtherSolrQuery::getFacetDateStartSolrQuery::getFacetFieldsSolrQuery::getFacetLimitSolrQuery::getFacetMethodSolrQuery::getFacetMinCountSolrQuery::getFacetMissingSolrQuery::getFacetOffsetSolrQuery::getFacetPrefixSolrQuery::getFacetQueriesSolrQuery::getFacetSortSolrQuery::getFieldsSolrQuery::getFilterQueriesSolrQuery::getGroupSolrQuery::getGroupCachePercentSolrQuery::getGroupFacetSolrQuery::getGroupFieldsSolrQuery::getGroupFormatSolrQuery::getGroupFunctionsSolrQuery::getGroupLimitSolrQuery::getGroupMainSolrQuery::getGroupNGroupsSolrQuery::getGroupOffsetSolrQuery::getGroupQueriesSolrQuery::getGroupSortFieldsSolrQuery::getGroupTruncateSolrQuery::getHighlightSolrQuery::getHighlightAlternateFieldSolrQuery::getHighlightFieldsSolrQuery::getHighlightFormatterSolrQuery::getHighlightFragmenterSolrQuery::getHighlightFragsizeSolrQuery::getHighlightHighlightMultiTermSolrQuery::getHighlightMaxAlternateFieldLengthSolrQuery::getHighlightMaxAnalyzedCharsSolrQuery::getHighlightMergeContiguousSolrQuery::getHighlightRegexMaxAnalyzedCharsSolrQuery::getHighlightRegexPatternSolrQuery::getHighlightRegexSlopSolrQuery::getHighlightRequireFieldMatchSolrQuery::getHighlightSimplePostSolrQuery::getHighlightSimplePreSolrQuery::getHighlightSnippetsSolrQuery::getHighlightUsePhraseHighlighterSolrQuery::getMltSolrQuery::getMltBoostSolrQuery::getMltCountSolrQuery::getMltFieldsSolrQuery::getMltMaxNumQueryTermsSolrQuery::getMltMaxNumTokensSolrQuery::getMltMaxWordLengthSolrQuery::getMltMinDocFrequencySolrQuery::getMltMinTermFrequencySolrQuery::getMltMinWordLengthSolrQuery::getMltQueryFieldsSolrQuery::getQuerySolrQuery::getRowsSolrQuery::getSortFieldsSolrQuery::getStartSolrQuery::getStatsSolrQuery::getStatsFacetsSolrQuery::getStatsFieldsSolrQuery::getTermsSolrQuery::getTermsFieldSolrQuery::getTermsIncludeLowerBoundSolrQuery::getTermsIncludeUpperBoundSolrQuery::getTermsLimitSolrQuery::getTermsLowerBoundSolrQuery::getTermsMaxCountSolrQuery::getTermsMinCountSolrQuery::getTermsPrefixSolrQuery::getTermsReturnRawSolrQuery::getTermsSortSolrQuery::getTermsUpperBoundSolrQuery::getTimeAllowedSolrQuery::removeExpandFilterQuerySolrQuery::removeExpandSortFieldSolrQuery::removeFacetDateFieldSolrQuery::removeFacetDateOtherSolrQuery::removeFacetFieldSolrQuery::removeFacetQuerySolrQuery::removeFieldSolrQuery::removeFilterQuerySolrQuery::removeHighlightFieldSolrQuery::removeMltFieldSolrQuery::removeMltQueryFieldSolrQuery::removeSortFieldSolrQuery::removeStatsFacetSolrQuery::removeStatsFieldSolrQuery::setEchoHandlerSolrQuery::setEchoParamsSolrQuery::setExpandSolrQuery::setExpandQuerySolrQuery::setExpandRowsSolrQuery::setExplainOtherSolrQuery::setFacetSolrQuery::setFacetDateEndSolrQuery::setFacetDateGapSolrQuery::setFacetDateHardEndSolrQuery::setFacetDateStartSolrQuery::setFacetEnumCacheMinDefaultFrequencySolrQuery::setFacetLimitSolrQuery::setFacetMethodSolrQuery::setFacetMinCountSolrQuery::setFacetMissingSolrQuery::setFacetOffsetSolrQuery::setFacetPrefixSolrQuery::setFacetSortSolrQuery::setGroupSolrQuery::setGroupCachePercentSolrQuery::setGroupFacetSolrQuery::setGroupFormatSolrQuery::setGroupLimitSolrQuery::setGroupMainSolrQuery::setGroupNGroupsSolrQuery::setGroupOffsetSolrQuery::setGroupTruncateSolrQuery::setHighlightSolrQuery::setHighlightAlternateFieldSolrQuery::setHighlightFormatterSolrQuery::setHighlightFragmenterSolrQuery::setHighlightFragsizeSolrQuery::setHighlightHighlightMultiTermSolrQuery::setHighlightMaxAlternateFieldLengthSolrQuery::setHighlightMaxAnalyzedCharsSolrQuery::setHighlightMergeContiguousSolrQuery::setHighlightRegexMaxAnalyzedCharsSolrQuery::setHighlightRegexPatternSolrQuery::setHighlightRegexSlopSolrQuery::setHighlightRequireFieldMatchSolrQuery::setHighlightSimplePostSolrQuery::setHighlightSimplePreSolrQuery::setHighlightSnippetsSolrQuery::setHighlightUsePhraseHighlighterSolrQuery::setMltSolrQuery::setMltBoostSolrQuery::setMltCountSolrQuery::setMltMaxNumQueryTermsSolrQuery::setMltMaxNumTokensSolrQuery::setMltMaxWordLengthSolrQuery::setMltMinDocFrequencySolrQuery::setMltMinTermFrequencySolrQuery::setMltMinWordLengthSolrQuery::setOmitHeaderSolrQuery::setQuerySolrQuery::setRowsSolrQuery::setShowDebugInfoSolrQuery::setStartSolrQuery::setStatsSolrQuery::setTermsSolrQuery::setTermsFieldSolrQuery::setTermsIncludeLowerBoundSolrQuery::setTermsIncludeUpperBoundSolrQuery::setTermsLimitSolrQuery::setTermsLowerBoundSolrQuery::setTermsMaxCountSolrQuery::setTermsMinCountSolrQuery::setTermsPrefixSolrQuery::setTermsReturnRawSolrQuery::setTermsSortSolrQuery::setTermsUpperBoundSolrQuery::setTimeAllowedSolrDisMaxQuerySolrDisMaxQuery::addBigramPhraseFieldSolrDisMaxQuery::addBoostQuerySolrDisMaxQuery::addPhraseFieldSolrDisMaxQuery::addQueryFieldSolrDisMaxQuery::addTrigramPhraseFieldSolrDisMaxQuery::addUserFieldSolrDisMaxQuery::__constructSolrDisMaxQuery::removeBigramPhraseFieldSolrDisMaxQuery::removeBoostQuerySolrDisMaxQuery::removePhraseFieldSolrDisMaxQuery::removeQueryFieldSolrDisMaxQuery::removeTrigramPhraseFieldSolrDisMaxQuery::removeUserFieldSolrDisMaxQuery::setBigramPhraseFieldsSolrDisMaxQuery::setBigramPhraseSlopSolrDisMaxQuery::setBoostFunctionSolrDisMaxQuery::setBoostQuerySolrDisMaxQuery::setMinimumMatchSolrDisMaxQuery::setPhraseFieldsSolrDisMaxQuery::setPhraseSlopSolrDisMaxQuery::setQueryAltSolrDisMaxQuery::setQueryPhraseSlopSolrDisMaxQuery::setTieBreakerSolrDisMaxQuery::setTrigramPhraseFieldsSolrDisMaxQuery::setTrigramPhraseSlopSolrDisMaxQuery::setUserFieldsSolrDisMaxQuery::useDisMaxQueryParserSolrDisMaxQuery::useEDisMaxQueryParserSolrCollapseFunctionSolrCollapseFunction::__constructSolrCollapseFunction::getFieldSolrCollapseFunction::getHintSolrCollapseFunction::getMaxSolrCollapseFunction::getMinSolrCollapseFunction::getNullPolicySolrCollapseFunction::getSizeSolrCollapseFunction::setFieldSolrCollapseFunction::setHintSolrCollapseFunction::setMaxSolrCollapseFunction::setMinSolrCollapseFunction::setNullPolicySolrCollapseFunction::setSizeSolrCollapseFunction::__toStringSolrExceptionSolrException::getInternalInfoSolrClientExceptionSolrClientException::getInternalInfoSolrServerExceptionSolrServerException::getInternalInfoSolrIllegalArgumentExceptionSolrIllegalArgumentException::getInternalInfoSolrIllegalOperationExceptionSolrIllegalOperationException::getInternalInfoSolrMissingMandatoryParameterExceptionSphinx简介安装/配置需求安装运行时配置资源类型预定义常量范例SphinxClientSphinxClient::addQuerySphinxClient::buildExcerptsSphinxClient::buildKeywordsSphinxClient::closeSphinxClient::__constructSphinxClient::escapeStringSphinxClient::getLastErrorSphinxClient::getLastWarningSphinxClient::openSphinxClient::querySphinxClient::resetFiltersSphinxClient::resetGroupBySphinxClient::runQueriesSphinxClient::setArrayResultSphinxClient::setConnectTimeoutSphinxClient::setFieldWeightsSphinxClient::setFilterSphinxClient::setFilterFloatRangeSphinxClient::setFilterRangeSphinxClient::setGeoAnchorSphinxClient::setGroupBySphinxClient::setGroupDistinctSphinxClient::setIDRangeSphinxClient::setIndexWeightsSphinxClient::setLimitsSphinxClient::setMatchModeSphinxClient::setMaxQueryTimeSphinxClient::setOverrideSphinxClient::setRankingModeSphinxClient::setRetriesSphinxClient::setSelectSphinxClient::setServerSphinxClient::setSortModeSphinxClient::statusSphinxClient::updateAttributesSwish简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic usageSwish 函数Swish::__constructSwish::getMetaListSwish::getPropertyListSwish::prepareSwish::querySwishResult::getMetaListSwishResult::stemSwishResults::getParsedWordsSwishResults::getRemovedStopwordsSwishResults::nextResultSwishResults::seekResultSwishSearch::executeSwishSearch::resetLimitSwishSearch::setLimitSwishSearch::setPhraseDelimiterSwishSearch::setSortSwishSearch::setStructure针对服务器的扩展Apache简介安装/配置需求安装运行时配置资源类型预定义常量Apache 函数apache_child_terminateapache_get_modulesapache_get_versionapache_getenvapache_lookup_uriapache_noteapache_request_headersapache_reset_timeoutapache_response_headersapache_setenvgetallheadersvirtualFastCGI 进程管理器简介安装/配置FPM 函数fastcgi_finish_requestIIS简介安装/配置需求安装运行时配置资源类型预定义常量IIS 函数iis_add_serveriis_get_dir_securityiis_get_script_mapiis_get_server_by_commentiis_get_server_by_pathiis_get_server_rightsiis_get_service_stateiis_remove_serveriis_set_app_settingsiis_set_dir_securityiis_set_script_mapiis_set_server_rightsiis_start_serveriis_start_serviceiis_stop_serveriis_stop_serviceNSAPI简介安装/配置需求安装运行时配置资源类型预定义常量NSAPI 函数nsapi_request_headersnsapi_response_headersnsapi_virtualSession 扩展Msession简介安装/配置需求安装运行时配置资源类型预定义常量Msession 函数msession_connectmsession_countmsession_createmsession_destroymsession_disconnectmsession_findmsession_get_arraymsession_get_datamsession_getmsession_incmsession_listmsession_listvarmsession_lockmsession_pluginmsession_randstrmsession_set_arraymsession_set_datamsession_setmsession_timeoutmsession_uniqmsession_unlockSessions简介安装/配置需求安装运行时配置资源类型预定义常量范例基本用法传送会话ID自定义会话管理器Session 上传进度会话和安全Session 函数session_abortsession_cache_expiresession_cache_limitersession_commitsession_decodesession_destroysession_encodesession_get_cookie_paramssession_idsession_is_registeredsession_module_namesession_namesession_regenerate_idsession_register_shutdownsession_registersession_resetsession_save_pathsession_set_cookie_paramssession_set_save_handlersession_startsession_statussession_unregistersession_unsetsession_write_closeSessionHandlerSessionHandler::closeSessionHandler::create_sidSessionHandler::destroySessionHandler::gcSessionHandler::openSessionHandler::readSessionHandler::writeSessionHandlerInterfaceSessionHandlerInterface::closeSessionHandlerInterface::destroySessionHandlerInterface::gcSessionHandlerInterface::openSessionHandlerInterface::readSessionHandlerInterface::writeSession PgSQL简介安装/配置需求安装运行时配置资源类型Table definitions预定义常量Session PgSQL 函数session_pgsql_add_errorsession_pgsql_get_errorsession_pgsql_get_fieldsession_pgsql_resetsession_pgsql_set_fieldsession_pgsql_status文本处理BBCode简介安装/配置需求安装运行时配置资源类型预定义常量BBCode 函数bbcode_add_elementbbcode_add_smileybbcode_createbbcode_destroybbcode_parsebbcode_set_arg_parserbbcode_set_flagsPCRE简介安装/配置需求安装运行时配置资源类型预定义常量范例PCRE模式PCRE 正则语法简介分隔符元字符转义序列(反斜线)Unicode字符属性句点字符类(方括号)可选路径(|)内部选项设置子组(子模式)重复/量词后向引用断言一次性子组条件子组注释递归模式性能正则表达式模式中可用的模式修饰符与 perl 的不同之处与POSIX正则表达式的不同PCRE 函数preg_filterpreg_greppreg_last_errorpreg_match_allpreg_matchpreg_quotepreg_replace_callback_arraypreg_replace_callbackpreg_replacepreg_splitPOSIX Regex简介安装/配置需求安装运行时配置资源类型预定义常量范例POSIX Regex 函数ereg_replaceeregeregi_replaceeregisplitsplitisql_regcasessdeep简介安装/配置需求安装运行时配置资源类型预定义常量ssdeep 函数ssdeep_fuzzy_comparessdeep_fuzzy_hash_filenamessdeep_fuzzy_hash字符串简介安装/配置需求安装运行时配置资源类型预定义常量字符串 函数addcslashesaddslashesbin2hexchopchrchunk_splitconvert_cyr_stringconvert_uudecodeconvert_uuencodecount_charscrc32cryptechoexplodefprintfget_html_translation_tablehebrevhebrevchex2binhtml_entity_decodehtmlentitieshtmlspecialchars_decodehtmlspecialcharsimplodejoinlcfirstlevenshteinlocaleconvltrimmd5_filemd5metaphonemoney_formatnl_langinfonl2brnumber_formatordparse_strprintprintfquoted_printable_decodequoted_printable_encodequotemetartrimsetlocalesha1_filesha1similar_textsoundexsprintfsscanfstr_getcsvstr_ireplacestr_padstr_repeatstr_replacestr_rot13str_shufflestr_splitstr_word_countstrcasecmpstrchrstrcmpstrcollstrcspnstrip_tagsstripcslashesstriposstripslashesstristrstrlenstrnatcasecmpstrnatcmpstrncasecmpstrncmpstrpbrkstrposstrrchrstrrevstrriposstrrposstrspnstrstrstrtokstrtolowerstrtoupperstrtrsubstr_comparesubstr_countsubstr_replacesubstrtrimucfirstucwordsvfprintfvprintfvsprintfwordwrap更新日志变量与类型相关扩展数组简介安装/配置需求安装运行时配置资源类型预定义常量对数组进行排序数组 函数array_change_key_casearray_chunkarray_columnarray_combinearray_count_valuesarray_diff_assocarray_diff_keyarray_diff_uassocarray_diff_ukeyarray_diffarray_fill_keysarray_fillarray_filterarray_fliparray_intersect_assocarray_intersect_keyarray_intersect_uassocarray_intersect_ukeyarray_intersectarray_key_existsarray_keysarray_maparray_merge_recursivearray_mergearray_multisortarray_padarray_poparray_productarray_pusharray_randarray_reducearray_replace_recursivearray_replacearray_reversearray_searcharray_shiftarray_slicearray_splicearray_sumarray_udiff_assocarray_udiff_uassocarray_udiffarray_uintersect_assocarray_uintersect_uassocarray_uintersectarray_uniquearray_unshiftarray_valuesarray_walk_recursivearray_walkarrayarsortasortcompactcountcurrenteachendextractin_arraykey_existskeykrsortksortlistnatcasesortnatsortnextposprevrangeresetrsortshufflesizeofsortuasortuksortusort类/对象简介安装/配置需求安装运行时配置资源类型预定义常量范例类/对象 函数__autoloadcall_user_method_arraycall_user_methodclass_aliasclass_existsget_called_classget_class_methodsget_class_varsget_classget_declared_classesget_declared_interfacesget_declared_traitsget_object_varsget_parent_classinterface_existsis_ais_subclass_ofmethod_existsproperty_existstrait_existsClasskit简介安装/配置需求安装运行时配置资源类型预定义常量Classkit 函数classkit_importclasskit_method_addclasskit_method_copyclasskit_method_redefineclasskit_method_removeclasskit_method_renameCtype简介安装/配置需求安装运行时配置资源类型预定义常量Ctype 函数ctype_alnumctype_alphactype_cntrlctype_digitctype_graphctype_lowerctype_printctype_punctctype_spacectype_upperctype_xdigitFilter简介安装/配置需求安装运行时配置资源类型Types of filtersValidate filtersSanitize filtersOther filtersFilter flags预定义常量范例ValidationSanitizationFilter 函数filter_has_varfilter_idfilter_input_arrayfilter_inputfilter_listfilter_var_arrayfilter_varFunction Handling简介安装/配置需求安装运行时配置资源类型预定义常量Function handling 函数call_user_func_arraycall_user_funccreate_functionforward_static_call_arrayforward_static_callfunc_get_argfunc_get_argsfunc_num_argsfunction_existsget_defined_functionsregister_shutdown_functionregister_tick_functionunregister_tick_functionQuickhash简介安装/配置需求安装运行时配置预定义常量范例QuickHashIntSetQuickHashIntSet::addQuickHashIntSet::__constructQuickHashIntSet::deleteQuickHashIntSet::existsQuickHashIntSet::getSizeQuickHashIntSet::loadFromFileQuickHashIntSet::loadFromStringQuickHashIntSet::saveToFileQuickHashIntSet::saveToStringQuickHashIntHashQuickHashIntHash::addQuickHashIntHash::__constructQuickHashIntHash::deleteQuickHashIntHash::existsQuickHashIntHash::getQuickHashIntHash::getSizeQuickHashIntHash::loadFromFileQuickHashIntHash::loadFromStringQuickHashIntHash::saveToFileQuickHashIntHash::saveToStringQuickHashIntHash::setQuickHashIntHash::updateQuickHashStringIntHashQuickHashStringIntHash::addQuickHashStringIntHash::__constructQuickHashStringIntHash::deleteQuickHashStringIntHash::existsQuickHashStringIntHash::getQuickHashStringIntHash::getSizeQuickHashStringIntHash::loadFromFileQuickHashStringIntHash::loadFromStringQuickHashStringIntHash::saveToFileQuickHashStringIntHash::saveToStringQuickHashStringIntHash::setQuickHashStringIntHash::updateQuickHashIntStringHashQuickHashIntStringHash::addQuickHashIntStringHash::__constructQuickHashIntStringHash::deleteQuickHashIntStringHash::existsQuickHashIntStringHash::getQuickHashIntStringHash::getSizeQuickHashIntStringHash::loadFromFileQuickHashIntStringHash::loadFromStringQuickHashIntStringHash::saveToFileQuickHashIntStringHash::saveToStringQuickHashIntStringHash::setQuickHashIntStringHash::update反射简介安装/配置需求安装运行时配置资源类型预定义常量范例扩展ReflectionReflection::exportReflection::getModifierNamesReflectionClassReflectionClass::__constructReflectionClass::exportReflectionClass::getConstantReflectionClass::getConstantsReflectionClass::getConstructorReflectionClass::getDefaultPropertiesReflectionClass::getDocCommentReflectionClass::getEndLineReflectionClass::getExtensionReflectionClass::getExtensionNameReflectionClass::getFileNameReflectionClass::getInterfaceNamesReflectionClass::getInterfacesReflectionClass::getMethodReflectionClass::getMethodsReflectionClass::getModifiersReflectionClass::getNameReflectionClass::getNamespaceNameReflectionClass::getParentClassReflectionClass::getPropertiesReflectionClass::getPropertyReflectionClass::getShortNameReflectionClass::getStartLineReflectionClass::getStaticPropertiesReflectionClass::getStaticPropertyValueReflectionClass::getTraitAliasesReflectionClass::getTraitNamesReflectionClass::getTraitsReflectionClass::hasConstantReflectionClass::hasMethodReflectionClass::hasPropertyReflectionClass::implementsInterfaceReflectionClass::inNamespaceReflectionClass::isAbstractReflectionClass::isCloneableReflectionClass::isFinalReflectionClass::isInstanceReflectionClass::isInstantiableReflectionClass::isInterfaceReflectionClass::isInternalReflectionClass::isIterateableReflectionClass::isSubclassOfReflectionClass::isTraitReflectionClass::isUserDefinedReflectionClass::newInstanceReflectionClass::newInstanceArgsReflectionClass::newInstanceWithoutConstructorReflectionClass::setStaticPropertyValueReflectionClass::__toStringReflectionZendExtensionReflectionZendExtension::__cloneReflectionZendExtension::__constructReflectionZendExtension::exportReflectionZendExtension::getAuthorReflectionZendExtension::getCopyrightReflectionZendExtension::getNameReflectionZendExtension::getURLReflectionZendExtension::getVersionReflectionZendExtension::__toStringReflectionExtensionReflectionExtension::__cloneReflectionExtension::__constructReflectionExtension::exportReflectionExtension::getClassesReflectionExtension::getClassNamesReflectionExtension::getConstantsReflectionExtension::getDependenciesReflectionExtension::getFunctionsReflectionExtension::getINIEntriesReflectionExtension::getNameReflectionExtension::getVersionReflectionExtension::infoReflectionExtension::isPersistentReflectionExtension::isTemporaryReflectionExtension::__toStringReflectionFunctionReflectionFunction::__constructReflectionFunction::exportReflectionFunction::getClosureReflectionFunction::invokeReflectionFunction::invokeArgsReflectionFunction::isDisabledReflectionFunction::__toStringReflectionFunctionAbstractReflectionFunctionAbstract::__cloneReflectionFunctionAbstract::getClosureScopeClassReflectionFunctionAbstract::getClosureThisReflectionFunctionAbstract::getDocCommentReflectionFunctionAbstract::getEndLineReflectionFunctionAbstract::getExtensionReflectionFunctionAbstract::getExtensionNameReflectionFunctionAbstract::getFileNameReflectionFunctionAbstract::getNameReflectionFunctionAbstract::getNamespaceNameReflectionFunctionAbstract::getNumberOfParametersReflectionFunctionAbstract::getNumberOfRequiredParametersReflectionFunctionAbstract::getParametersReflectionFunctionAbstract::getReturnTypeReflectionFunctionAbstract::getShortNameReflectionFunctionAbstract::getStartLineReflectionFunctionAbstract::getStaticVariablesReflectionFunctionAbstract::hasReturnTypeReflectionFunctionAbstract::inNamespaceReflectionFunctionAbstract::isClosureReflectionFunctionAbstract::isDeprecatedReflectionFunctionAbstract::isGeneratorReflectionFunctionAbstract::isInternalReflectionFunctionAbstract::isUserDefinedReflectionFunctionAbstract::isVariadicReflectionFunctionAbstract::returnsReferenceReflectionFunctionAbstract::__toStringReflectionMethodReflectionMethod::__constructReflectionMethod::exportReflectionMethod::getClosureReflectionMethod::getDeclaringClassReflectionMethod::getModifiersReflectionMethod::getPrototypeReflectionMethod::invokeReflectionMethod::invokeArgsReflectionMethod::isAbstractReflectionMethod::isConstructorReflectionMethod::isDestructorReflectionMethod::isFinalReflectionMethod::isPrivateReflectionMethod::isProtectedReflectionMethod::isPublicReflectionMethod::isStaticReflectionMethod::setAccessibleReflectionMethod::__toStringReflectionObjectReflectionObject::__constructReflectionObject::exportReflectionParameterReflectionParameter::allowsNullReflectionParameter::canBePassedByValueReflectionParameter::__cloneReflectionParameter::__constructReflectionParameter::exportReflectionParameter::getClassReflectionParameter::getDeclaringClassReflectionParameter::getDeclaringFunctionReflectionParameter::getDefaultValueReflectionParameter::getDefaultValueConstantNameReflectionParameter::getNameReflectionParameter::getPositionReflectionParameter::getTypeReflectionParameter::hasTypeReflectionParameter::isArrayReflectionParameter::isCallableReflectionParameter::isDefaultValueAvailableReflectionParameter::isDefaultValueConstantReflectionParameter::isOptionalReflectionParameter::isPassedByReferenceReflectionParameter::isVariadicReflectionParameter::__toStringReflectionPropertyReflectionProperty::__cloneReflectionProperty::__constructReflectionProperty::exportReflectionProperty::getDeclaringClassReflectionProperty::getDocCommentReflectionProperty::getModifiersReflectionProperty::getNameReflectionProperty::getValueReflectionProperty::isDefaultReflectionProperty::isPrivateReflectionProperty::isProtectedReflectionProperty::isPublicReflectionProperty::isStaticReflectionProperty::setAccessibleReflectionProperty::setValueReflectionProperty::__toStringReflectorReflector::exportReflector::__toStringReflectionExceptionVariable handling简介安装/配置需求安装运行时配置资源类型预定义常量Variable handling 函数boolvaldebug_zval_dumpdoublevalemptyfloatvalget_defined_varsget_resource_typegettypeimport_request_variablesintvalis_arrayis_boolis_callableis_doubleis_floatis_intis_integeris_longis_nullis_numericis_objectis_realis_resourceis_scalaris_stringissetprint_rserializesettypestrvalunserializeunsetvar_dumpvar_exportWeb 服务OAuth简介安装/配置需求安装运行时配置资源类型预定义常量范例FireEagleOAuth 函数oauth_get_sbsoauth_urlencodeOAuthOAuth::__constructOAuth::__destructOAuth::disableDebugOAuth::disableRedirectsOAuth::disableSSLChecksOAuth::enableDebugOAuth::enableRedirectsOAuth::enableSSLChecksOAuth::fetchOAuth::generateSignatureOAuth::getAccessTokenOAuth::getCAPathOAuth::getLastResponseOAuth::getLastResponseHeadersOAuth::getLastResponseInfoOAuth::getRequestHeaderOAuth::getRequestTokenOAuth::setAuthTypeOAuth::setCAPathOAuth::setNonceOAuth::setRequestEngineOAuth::setRSACertificateOAuth::setSSLChecksOAuth::setTimestampOAuth::setTokenOAuth::setVersionOAuthProviderOAuthProvider::addRequiredParameterOAuthProvider::callconsumerHandlerOAuthProvider::callTimestampNonceHandlerOAuthProvider::calltokenHandlerOAuthProvider::checkOAuthRequestOAuthProvider::__constructOAuthProvider::consumerHandlerOAuthProvider::generateTokenOAuthProvider::is2LeggedEndpointOAuthProvider::isRequestTokenEndpointOAuthProvider::removeRequiredParameterOAuthProvider::reportProblemOAuthProvider::setParamOAuthProvider::setRequestTokenPathOAuthProvider::timestampNonceHandlerOAuthProvider::tokenHandlerOAuthExceptionSCA简介安装/配置需求安装运行时配置资源类型预定义常量范例The structure of a Service ComponentObtaining a proxy for another Service ComponentCalling another Service ComponentLocating and calling services from a script which is not an SCA ComponentExposing a Service Component as a Web serviceDeploying an SCA componentObtaining the WSDL for an SCA component offering a Service as a Web serviceUnderstanding how the WSDL is generatedWorking with Data StructuresError handlingSCA 函数SCA::createDataObjectSCA::getServiceSCA_LocalProxy::createDataObjectSCA_SoapProxy::createDataObjectSOAP简介安装/配置需求安装运行时配置资源类型预定义常量SOAP 函数is_soap_faultuse_soap_error_handlerSoapClientSoapClient::__callSoapClient::__constructSoapClient::__doRequestSoapClient::__getFunctionsSoapClient::__getLastRequestSoapClient::__getLastRequestHeadersSoapClient::__getLastResponseSoapClient::__getLastResponseHeadersSoapClient::__getTypesSoapClient::__setCookieSoapClient::__setLocationSoapClient::__setSoapHeadersSoapClient::__soapCallSoapClient::SoapClientSoapServerSoapServer::addFunctionSoapServer::addSoapHeaderSoapServer::__constructSoapServer::faultSoapServer::getFunctionsSoapServer::handleSoapServer::setClassSoapServer::setObjectSoapServer::setPersistenceSoapServer::SoapServerSoapFaultSoapFault::__constructSoapFault::SoapFaultSoapFault::__toStringSoapHeaderSoapHeader::__constructSoapHeader::SoapHeaderSoapParamSoapParam::__constructSoapParam::SoapParamSoapVarSoapVar::__constructSoapVar::SoapVarYar简介安装/配置需求安装运行时配置资源类型预定义常量范例Yar_ServerYar_Server::__constructYar_Server::handleYar_ClientYar_Client::__callYar_Client::__constructYar_Client::setOptYar_Concurrent_ClientYar_Concurrent_Client::callYar_Concurrent_Client::loopYar_Concurrent_Client::resetYar_Server_ExceptionYar_Server_Exception::getTypeYar_Client_ExceptionYar_Client_Exception::getTypeXML-RPC简介安装/配置需求安装运行时配置资源类型预定义常量XML-RPC 函数xmlrpc_decode_requestxmlrpc_decodexmlrpc_encode_requestxmlrpc_encodexmlrpc_get_typexmlrpc_is_faultxmlrpc_parse_method_descriptionsxmlrpc_server_add_introspection_dataxmlrpc_server_call_methodxmlrpc_server_createxmlrpc_server_destroyxmlrpc_server_register_introspection_callbackxmlrpc_server_register_methodxmlrpc_set_typeWindows 专用扩展COM简介安装/配置需求安装运行时配置资源类型预定义常量Errors and error handling范例For EachArrays and Array-style COM propertiesCOMDOTNETVARIANTCOM 函数com_create_guidcom_event_sinkcom_get_active_objectcom_load_typelibcom_message_pumpcom_print_typeinfovariant_absvariant_addvariant_andvariant_castvariant_catvariant_cmpvariant_date_from_timestampvariant_date_to_timestampvariant_divvariant_eqvvariant_fixvariant_get_typevariant_idivvariant_impvariant_intvariant_modvariant_mulvariant_negvariant_notvariant_orvariant_powvariant_roundvariant_set_typevariant_setvariant_subvariant_xorwin32ps简介安装/配置需求安装运行时配置资源类型预定义常量范例Win32ps exampleswin32ps 函数win32_ps_list_procswin32_ps_stat_memwin32_ps_stat_procwin32service简介安装/配置需求安装运行时配置资源类型预定义常量Win32Service Service Type BitmasksWin32Service Service Status ConstantsWin32Service Service Control Message ConstantsWin32Service Service Control Message Accepted BitmasksWin32Service Service Start Type ConstantsWin32Service Service Error Control ConstantsWin32Service Service Flag ConstantsWin32 Error CodesWin32 Base Priority Classes范例win32service 函数win32_continue_servicewin32_create_servicewin32_delete_servicewin32_get_last_control_messagewin32_pause_servicewin32_query_service_statuswin32_set_service_statuswin32_start_service_ctrl_dispatcherwin32_start_servicewin32_stop_serviceXML 操作DOM简介安装/配置需求安装运行时配置资源类型预定义常量范例DOMAttrDOMAttr::__constructDOMAttr::isIdDOMCdataSectionDOMCdataSection::__constructDOMCharacterDataDOMCharacterData::appendDataDOMCharacterData::deleteDataDOMCharacterData::insertDataDOMCharacterData::replaceDataDOMCharacterData::substringDataDOMCommentDOMComment::__constructDOMDocumentDOMDocument::__constructDOMDocument::createAttributeDOMDocument::createAttributeNSDOMDocument::createCDATASectionDOMDocument::createCommentDOMDocument::createDocumentFragmentDOMDocument::createElementDOMDocument::createElementNSDOMDocument::createEntityReferenceDOMDocument::createProcessingInstructionDOMDocument::createTextNodeDOMDocument::getElementByIdDOMDocument::getElementsByTagNameDOMDocument::getElementsByTagNameNSDOMDocument::importNodeDOMDocument::loadDOMDocument::loadHTMLDOMDocument::loadHTMLFileDOMDocument::loadXMLDOMDocument::normalizeDocumentDOMDocument::registerNodeClassDOMDocument::relaxNGValidateDOMDocument::relaxNGValidateSourceDOMDocument::saveDOMDocument::saveHTMLDOMDocument::saveHTMLFileDOMDocument::saveXMLDOMDocument::schemaValidateDOMDocument::schemaValidateSourceDOMDocument::validateDOMDocument::xincludeDOMDocumentFragmentDOMDocumentFragment::appendXMLDOMDocumentTypeDOMElementDOMElement::__constructDOMElement::getAttributeDOMElement::getAttributeNodeDOMElement::getAttributeNodeNSDOMElement::getAttributeNSDOMElement::getElementsByTagNameDOMElement::getElementsByTagNameNSDOMElement::hasAttributeDOMElement::hasAttributeNSDOMElement::removeAttributeDOMElement::removeAttributeNodeDOMElement::removeAttributeNSDOMElement::setAttributeDOMElement::setAttributeNodeDOMElement::setAttributeNodeNSDOMElement::setAttributeNSDOMElement::setIdAttributeDOMElement::setIdAttributeNodeDOMElement::setIdAttributeNSDOMEntityDOMEntityReferenceDOMEntityReference::__constructDOMExceptionDOMImplementationDOMImplementation::__constructDOMImplementation::createDocumentDOMImplementation::createDocumentTypeDOMImplementation::hasFeatureDOMNamedNodeMapDOMNamedNodeMap::getNamedItemDOMNamedNodeMap::getNamedItemNSDOMNamedNodeMap::itemDOMNodeDOMNode::appendChildDOMNode::C14NDOMNode::C14NFileDOMNode::cloneNodeDOMNode::getLineNoDOMNode::getNodePathDOMNode::hasAttributesDOMNode::hasChildNodesDOMNode::insertBeforeDOMNode::isDefaultNamespaceDOMNode::isSameNodeDOMNode::isSupportedDOMNode::lookupNamespaceURIDOMNode::lookupPrefixDOMNode::normalizeDOMNode::removeChildDOMNode::replaceChildDOMNodeListDOMNodelist::itemDOMNotationDOMProcessingInstructionDOMProcessingInstruction::__constructDOMTextDOMText::__constructDOMText::isWhitespaceInElementContentDOMText::splitTextDOMXPathDOMXPath::__constructDOMXPath::evaluateDOMXPath::queryDOMXPath::registerNamespaceDOMXPath::registerPhpFunctionsDOM 函数dom_import_simplexmllibxml简介安装/配置需求安装运行时配置资源类型预定义常量libXMLErrorlibxml 函数libxml_clear_errorslibxml_disable_entity_loaderlibxml_get_errorslibxml_get_last_errorlibxml_set_external_entity_loaderlibxml_set_streams_contextlibxml_use_internal_errorsSDO简介安装/配置需求安装运行时配置资源类型预定义常量Limitations范例Basic usageSetting and Getting Property ValuesWorking with Sequenced Data ObjectsReflecting on Service Data ObjectsSDO 函数SDO_DAS_ChangeSummary::beginLoggingSDO_DAS_ChangeSummary::endLoggingSDO_DAS_ChangeSummary::getChangeTypeSDO_DAS_ChangeSummary::getChangedDataObjectsSDO_DAS_ChangeSummary::getOldContainerSDO_DAS_ChangeSummary::getOldValuesSDO_DAS_ChangeSummary::isLoggingSDO_DAS_DataFactory::addPropertyToTypeSDO_DAS_DataFactory::addTypeSDO_DAS_DataFactory::getDataFactorySDO_DAS_DataObject::getChangeSummarySDO_DAS_Setting::getListIndexSDO_DAS_Setting::getPropertyIndexSDO_DAS_Setting::getPropertyNameSDO_DAS_Setting::getValueSDO_DAS_Setting::isSetSDO_DataFactory::createSDO_DataObject::clearSDO_DataObject::createDataObjectSDO_DataObject::getContainerSDO_DataObject::getSequenceSDO_DataObject::getTypeNameSDO_DataObject::getTypeNamespaceURISDO_Exception::getCauseSDO_List::insertSDO_Model_Property::getContainingTypeSDO_Model_Property::getDefaultSDO_Model_Property::getNameSDO_Model_Property::getTypeSDO_Model_Property::isContainmentSDO_Model_Property::isManySDO_Model_ReflectionDataObject::__constructSDO_Model_ReflectionDataObject::exportSDO_Model_ReflectionDataObject::getContainmentPropertySDO_Model_ReflectionDataObject::getInstancePropertiesSDO_Model_ReflectionDataObject::getTypeSDO_Model_Type::getBaseTypeSDO_Model_Type::getNameSDO_Model_Type::getNamespaceURISDO_Model_Type::getPropertiesSDO_Model_Type::getPropertySDO_Model_Type::isAbstractTypeSDO_Model_Type::isDataTypeSDO_Model_Type::isInstanceSDO_Model_Type::isOpenTypeSDO_Model_Type::isSequencedTypeSDO_Sequence::getPropertySDO_Sequence::insertSDO_Sequence::moveSDO-DAS-Relational简介安装/配置需求安装运行时配置资源类型预定义常量范例Creating, retrieving, updating and deleting dataSpecifying the metadataOne-table examplesTwo-table examplesThree-table exampleLimitationsSDO-DAS-Relational 函数SDO_DAS_Relational::applyChangesSDO_DAS_Relational::__constructSDO_DAS_Relational::createRootDataObjectSDO_DAS_Relational::executePreparedQuerySDO_DAS_Relational::executeQuerySDO DAS XML简介安装/配置需求安装运行时配置资源类型预定义常量范例SDO DAS XML 函数SDO_DAS_XML::addTypesSDO_DAS_XML::createSDO_DAS_XML::createDataObjectSDO_DAS_XML::createDocumentSDO_DAS_XML::loadFileSDO_DAS_XML::loadStringSDO_DAS_XML::saveFileSDO_DAS_XML::saveStringSDO_DAS_XML_Document::getRootDataObjectSDO_DAS_XML_Document::getRootElementNameSDO_DAS_XML_Document::getRootElementURISDO_DAS_XML_Document::setEncodingSDO_DAS_XML_Document::setXMLDeclarationSDO_DAS_XML_Document::setXMLVersionSimpleXML简介安装/配置需求安装运行时配置资源类型预定义常量范例Basic SimpleXML usageDealing with XML errorsSimpleXMLElementSimpleXMLElement::addAttributeSimpleXMLElement::addChildSimpleXMLElement::asXMLSimpleXMLElement::attributesSimpleXMLElement::childrenSimpleXMLElement::__constructSimpleXMLElement::countSimpleXMLElement::getDocNamespacesSimpleXMLElement::getNameSimpleXMLElement::getNamespacesSimpleXMLElement::registerXPathNamespaceSimpleXMLElement::saveXMLSimpleXMLElement::__toStringSimpleXMLElement::xpathSimpleXMLIteratorSimpleXMLIterator::currentSimpleXMLIterator::getChildrenSimpleXMLIterator::hasChildrenSimpleXMLIterator::keySimpleXMLIterator::nextSimpleXMLIterator::rewindSimpleXMLIterator::validSimpleXML 函数simplexml_import_domsimplexml_load_filesimplexml_load_stringWDDX简介安装/配置需求安装运行时配置资源类型预定义常量范例wddx examplesWDDX 函数wddx_add_varswddx_deserializewddx_packet_endwddx_packet_startwddx_serialize_valuewddx_serialize_varsXMLDiff简介安装/配置需求安装XMLDiff\BaseXMLDiff\Base::__constructXMLDiff\Base::diffXMLDiff\Base::mergeXMLDiff\DOMXMLDiff\DOM::diffXMLDiff\DOM::mergeXMLDiff\MemoryXMLDiff\Memory::diffXMLDiff\Memory::mergeXMLDiff\FileXMLDiff\File::diffXMLDiff\File::mergeXML 解析器简介安装/配置需求安装运行时配置资源类型预定义常量事件处理器Case Folding(大写转换)错误代码字符编码范例XML 元素结构例程XML 标签映射例程XML 外部实体例程XML 解析器函数utf8_decodeutf8_encodexml_error_stringxml_get_current_byte_indexxml_get_current_column_numberxml_get_current_line_numberxml_get_error_codexml_parse_into_structxml_parsexml_parser_create_nsxml_parser_createxml_parser_freexml_parser_get_optionxml_parser_set_optionxml_set_character_data_handlerxml_set_default_handlerxml_set_element_handlerxml_set_end_namespace_decl_handlerxml_set_external_entity_ref_handlerxml_set_notation_decl_handlerxml_set_objectxml_set_processing_instruction_handlerxml_set_start_namespace_decl_handlerxml_set_unparsed_entity_decl_handlerXMLReader简介安装/配置需求安装运行时配置资源类型XMLReaderXMLReader::closeXMLReader::expandXMLReader::getAttributeXMLReader::getAttributeNoXMLReader::getAttributeNsXMLReader::getParserPropertyXMLReader::isValidXMLReader::lookupNamespaceXMLReader::moveToAttributeXMLReader::moveToAttributeNoXMLReader::moveToAttributeNsXMLReader::moveToElementXMLReader::moveToFirstAttributeXMLReader::moveToNextAttributeXMLReader::nextXMLReader::openXMLReader::readXMLReader::readInnerXMLXMLReader::readOuterXMLXMLReader::readStringXMLReader::setParserPropertyXMLReader::setRelaxNGSchemaXMLReader::setRelaxNGSchemaSourceXMLReader::setSchemaXMLReader::XMLXMLWriter简介安装/配置需求安装运行时配置资源类型预定义常量XMLWriter 函数XMLWriter::endAttributexmlwriter_end_attributeXMLWriter::endCDataxmlwriter_end_cdataXMLWriter::endCommentxmlwriter_end_commentXMLWriter::endDocumentxmlwriter_end_documentXMLWriter::endDTDAttlistxmlwriter_end_dtd_attlistXMLWriter::endDTDElementxmlwriter_end_dtd_elementXMLWriter::endDTDEntityxmlwriter_end_dtd_entityXMLWriter::endDTDxmlwriter_end_dtdXMLWriter::endElementxmlwriter_end_elementXMLWriter::endPIxmlwriter_end_piXMLWriter::flushxmlwriter_flushXMLWriter::fullEndElementxmlwriter_full_end_elementXMLWriter::openMemoryxmlwriter_open_memoryXMLWriter::openURIxmlwriter_open_uriXMLWriter::outputMemoryxmlwriter_output_memoryXMLWriter::setIndentStringxmlwriter_set_indent_stringXMLWriter::setIndentxmlwriter_set_indentXMLWriter::startAttributeNSxmlwriter_start_attribute_nsXMLWriter::startAttributexmlwriter_start_attributeXMLWriter::startCDataxmlwriter_start_cdataXMLWriter::startCommentxmlwriter_start_commentXMLWriter::startDocumentxmlwriter_start_documentXMLWriter::startDTDAttlistxmlwriter_start_dtd_attlistXMLWriter::startDTDElementxmlwriter_start_dtd_elementXMLWriter::startDTDEntityxmlwriter_start_dtd_entityXMLWriter::startDTDxmlwriter_start_dtdXMLWriter::startElementNSxmlwriter_start_element_nsXMLWriter::startElementxmlwriter_start_elementXMLWriter::startPIxmlwriter_start_piXMLWriter::textxmlwriter_textXMLWriter::writeAttributeNSxmlwriter_write_attribute_nsXMLWriter::writeAttributexmlwriter_write_attributeXMLWriter::writeCDataxmlwriter_write_cdataXMLWriter::writeCommentxmlwriter_write_commentXMLWriter::writeDTDAttlistxmlwriter_write_dtd_attlistXMLWriter::writeDTDElementxmlwriter_write_dtd_elementXMLWriter::writeDTDEntityxmlwriter_write_dtd_entityXMLWriter::writeDTDxmlwriter_write_dtdXMLWriter::writeElementNSxmlwriter_write_element_nsXMLWriter::writeElementxmlwriter_write_elementXMLWriter::writePIxmlwriter_write_piXMLWriter::writeRawxmlwriter_write_rawXSL简介安装/配置需求安装运行时配置资源类型预定义常量范例Example collection.xml and collection.xsl filesError handling with libxml error handling functionsXSLTProcessorXSLTProcessor::__constructXSLTProcessor::getParameterXsltProcessor::getSecurityPrefsXSLTProcessor::hasExsltSupportXSLTProcessor::importStylesheetXSLTProcessor::registerPHPFunctionsXSLTProcessor::removeParameterXSLTProcessor::setParameterXSLTProcessor::setProfilingXsltProcessor::setSecurityPrefsXSLTProcessor::transformToDocXSLTProcessor::transformToUriXSLTProcessor::transformToXMLPHP 核心:骇客指南序言内存管理内存管理基础数据持久化线程安全的资源管理器变量的使用介绍创建变量并设置值函数的编写类和对象的使用资源的使用INI 设置的使用流的使用"counter" 扩展 - 一个连续的实例安装/配置简介运行时配置资源类型预定义常量范例简单接口扩展接口对象化接口CounterCounter::__constructCounter::getValueCounter::bumpValueCounter::resetValueCounter::getMetaCounter::getNamedCounter::setCounterClassBasiccounter_getcounter_bumpcounter_resetExtendedcounter_createcounter_get_valuecounter_bump_valuecounter_reset_valuecounter_get_metacounter_get_namedPHP 5 构建系统PHP 扩展开发构建ext_skel 脚本与 UNIX 构建系统交互: config.m4使用 Windows 构建系统:config.w32扩展的结构组成扩展的文件Basic constructsThe zend_module structureExtension globalsLife cycle of an extensionTesting an extensionPDO 驱动前提条件配置与管理Fleshing out your skeletonBuildingTestingPackaging and distributionpdo_dbh_t definitionpdo_stmt_t definitionConstantsError handling扩展相关 FAQZend Engine 2 API 参考Zend Engine 2 操作码列表Opcode Descriptions and ExamplesADDADD_ARRAY_ELEMENTADD_CHARADD_INTERFACEADD_STRINGADD_VARASSIGNASSIGN_ADDASSIGN_BW_ANDASSIGN_BW_ORASSIGN_BW_XORASSIGN_CONCATASSIGN_DIMASSIGN_DIVASSIGN_MODASSIGN_MULASSIGN_OBJASSIGN_REFASSIGN_SLASSIGN_SRASSIGN_SUBBEGIN_SILENCEBOOLBOOL_NOTBOOL_XORBRKBW_ANDBW_NOTBW_ORBW_XORCASECASTCATCHCLONECONCATCONTDECLARE_CLASSDECLARE_CONSTDECLARE_FUNCTIONDECLARE_INHERITED_CLASSDECLARE_INHERITED_CLASS_DELAYEDDIVDO_FCALLDO_FCALL_BY_NAMEECHOEND_SILENCEEXITEXT_FCALL_BEGINEXT_FCALL_ENDEXT_NOPEXT_STMTFE_FETCHFE_RESETFETCH_CLASSFETCH_CONSTANTFETCH_DIM_FUNC_ARGFETCH_DIM_ISFETCH_DIM_RFETCH_DIM_RWFETCH_DIM_TMP_VARFETCH_DIM_UNSETFETCH_DIM_WFETCH_FUNC_ARGFETCH_ISFETCH_OBJ_FUNC_ARGFETCH_OBJ_ISFETCH_OBJ_RFETCH_OBJ_RWFETCH_OBJ_UNSETFETCH_OBJ_WFETCH_RFETCH_RWFETCH_UNSETFETCH_WFREEGOTOHANDLE_EXCEPTIONINCLUDE_OR_EVALINIT_ARRAYINIT_FCALL_BY_NAMEINIT_METHOD_CALLINIT_NS_FCALL_BY_NAMEINIT_STATIC_METHOD_CALLINIT_STRINGINSTANCEOFIS_EQUALIS_IDENTICALIS_NOT_EQUALIS_NOT_IDENTICALIS_SMALLERIS_SMALLER_OR_EQUALISSET_ISEMPTY_DIM_OBJISSET_ISEMPTY_PROP_OBJISSET_ISEMPTY_VARJMPJMPNZJMPNZ_EXJMPZJMPZ_EXJMPZNZMODMULNEWNOPPOST_DECPOST_DEC_OBJPOST_INCPOST_INC_OBJPRE_DECPRE_DEC_OBJPRE_INCPRE_INC_OBJPRINTQM_ASSIGNRAISE_ABSTRACT_ERRORRECVRECV_INITRETURNRETURN_BY_REFSEND_REFSEND_VALSEND_VARSEND_VAR_NO_REFSLSRSUBSWITCH_FREETHROWTICKSUNSET_DIMUNSET_OBJUNSET_VARUSER_OPCODEVERIFY_ABSTRACT_CLASSZEND_DECLARE_LAMBDA_FUNCTIONZEND_JMP_SETZend Engine 1旧的介绍Streams API for PHP Extension AuthorsZend API:深入 PHP 内核TSRM APIFAQ一般信息PHP 是什么?PHP 这个缩写指的是什么?PHP 版本之间有什么联系?可以同时运行几个不同版本的 PHP 吗?PHP4 和 PHP5 有什么不同?我觉得自己发现了一个 bug!应该告诉谁?邮件列表有没有 PHP 的邮件列表?还有其它的团体吗?我可以建立我自己的PHP邮件列表吗?救命!我看来不能订阅/取消任何一个邮件列表!在哪里有个邮件列表的归档吗?我可以在邮件列表中问什么?向邮件列表发帖子时我需要包括些什么信息?获取 PHPPHP 可以从哪里得到?有预先编译好的可执行版本吗?编译一些可选的 PHP 扩展库所需的库文件可以从哪里得到?怎样使这些库起作用?我在 Windows 机器中从 SVN 里得到了最新版的 PHP 源代码,需要什么去编译它?哪里可以找到 browscap.ini 文件?数据库问题听说 PHP 有可能访问 Microsoft SQL Server,怎样访问?能访问 Microsoft Access 数据库吗?我升级到了 PHP 4,结果 MySQL 不断报告'Warning: MySQL: Unable to save result set in ..',这是怎么回事?Why is the MySQL extension (ext/mysql) that I've been using for over10 years discouraged from use? Is it deprecated? What do I use instead?How can I migrate?PHP 5 不再绑定 MySQL 客户端库,这对我意味着什么?我还能在 PHP 中使用 MySQL 吗?我试着使用 MySQL 结果得到'function undefined'错误,怎么办?在安装共享 MySQL 支持之后,只要一加载 libphp4.so,Apache就会 core dump。这个问题能解决吗?为什么我得到类似如下的错误:'Warning: 0 is not a MySQL result index in <file> on line <x>'或者'Warning: Supplied argument is not a valid MySQL result resource in <file> on line <x>'?安装为什么不应该在实际运作环境中的 Apache2 中使用线程化的 MPM?Unix/Windows:应该上哪儿去找我的 php.ini 文件?Unix:我安装了 PHP,但每次我打开一个页面时,只得到一条'Document Contains No Data'消息!这是怎么回事?Unix:我从 RPMS 安装了 PHP,但是 Apache 不处理 PHP 页面!这是怎么回事?Unix:我从 RPMS 安装了 PHP 3,但它没有把我需要的数据库支持编译进去!这是怎么回事?Unix:我给 Apache 加上了 FrontPage extensions 补丁,结果 PHP 突然不工作了。PHP 和 Apache FrontPage extensions 兼容吗?Unix/Windows:我已经安装了 PHP,但当我试着通过浏览器访问 PHP 脚本时,得到了一个空白页面。Unix/Windows:我已经安装了 PHP,但当我试着通过浏览器访问 PHP 脚本时,得到了一个服务器的 500 错误。某些操作系统:我已经在不出错的情况下安装了 PHP,但当我试着启动 Apache 时得到了一个未定义符号错误: [mybox:user /src/php4] root# apachectl configtest apachectl: /usr/local/apache/bin/httpd Undefined symbols: _compress _uncompressWindows:我已经安装了 PHP,但当我试着通过浏览器访问 PHP 脚本时,得到如下错误: cgi error: The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:Windows:我已经照着所有的说明做了,但还是不能让 PHP 和 IIS 一起工作!当在 IIS,PWS,OmniHTTPD 或者 Xitami 中以 CGI 方式运行 PHP 时,出现如下错误:Security Alert! PHP CGI cannot be accessed directly..怎样得知我的 php.ini 是否被找到和应用了?似乎我做的修改都没有生效。怎样将 PHP 目录加入到 Windows 路径 PATH中去?怎样使 php.ini 文件在 Windows 下被 PHP 所用?有可能使 PHP 运作于 Apache 的 content negotiation(MultiViews 选项)吗?PHP 是否仅限于处理 GET 和 POST 请求方法?编译问题我用匿名 GIT 服务得到了最新版的 PHP,但是里面没有 configure 脚本!我在配置 PHP 和 Apache 一起工作时遇到了问题。说没找到 httpd.h,但这个文件明明就在那里!当运行 PHP 配置时( ./configure),遇到类似如下的问题: checking lex output file root... ./configure: lex: command not found configure: error: cannot find output from lex; giving up当试图启动 Apache 时,得到类似如下错误信息: fatal: relocation error: file /path/to/libphp4.so: symbol ap_block_alarms: referenced symbol not found当运行 configure 时,报告说找不到头文件或 GD 库或 gdbm,或其它的什么包!当编译 language-parser.tab.c文件时,报错说 yytname undeclared。当我运行 make时,看上去一切正常,可当连接最后的程序时报告说找不到某些文件而失败了。当连接 PHP 时,报告说有一些未定义的引用。我不知道怎样把 PHP 和 Apache 1.3 一起编译。我按照所有的步骤在 UNIX 下安装了PHP 的 Apache 模块版本,但我的 PHP 脚本被显示在浏览器中或者提示保存此文件。说要用:--activate-module=src/modules/php4/libphp4.a,但是此文件根本不存在,于是我改成了 --activate-module=src/modules/php4/libmodphp4.a,结果不行。怎么回事?当我用 --activate-module=src/modules/php4/libphp4.a试着把 PHP 编译成 Apache 的静态模块时,报告说我的编译器不服从 ANSI 标准。当我用 --with-apxs编译 PHP 时得到奇怪的错误信息。在 make的过程中,在 microtime 中出错,还有很多 RUSAGE_之类的东西。当带 MySQL 编译 PHP 时,可以正确地运行configure,但是在make的过程中出现了类似以下的错误信息: ext/mysql/ libmysqlclient /my_tempnam.o(.text+0x46): In function my_tempnam': /php4/ext/mysql/ libmysqlclient /my_tempnam.c:103: the 我想升级我的 PHP。上哪里找到我用来配置目前的 PHP 的 ./configure的参数呢?和 GD 库一起编译 PHP 时,要么给出一个奇怪的编译错误,要么在运行时出现 segfaults。当编译 PHP 时我看到一些随机的错误,好像死了。我用的是 Solaris,不知道有没有关系。使用 PHP我忘了PHP函数的参数顺序,它们是随机的吗?我想写一个可以处理任何表单来的数据的通用 PHP 脚本。我怎么知道哪个 POST 方法变量可用呢?我需要在所有的单引号(')前加一个反斜线(),使它们变成(\'),我如何能够通过正则表达式来实现?我同样希望能够将(")转换成("),将(\)转换成(\)。我所有的(")和(')都被变成了(")和('),我如何才能去掉这些不必要的反斜线?它们为什么及如何出现?PHP 选项 register_globals 对我有什么影响?当我这样做时,输出显示的次序是错的: <?phpfunction myfunc($argument){echo $argument + 10;}$variable = 10;echo "myfunc($variable) = " . myfunc($variable);?>这是怎么回事?下面代码怎么没有分成两行显示? <pre><?php echo "This should be the first line."; ?><?php echo "This should show up after the new line above."; ?></pre>我得到消息'Warning: Cannot send session cookie - headers already sent...'或者'Cannot add header information - headers already sent...'。我需要直接访问请求报头中的信息,怎么能办到?当我用 IIS 进行 HTTP 认证时得到'No Input file specified'消息。Windows:不能访问另一台电脑上用 IIS 共享的文件。我怎样混合使用 XML 和 PHP?它不认我的 <?xml 标记!怎样用 FrontPage 或者其它非要把我的代码移来移去的 HTML 编辑器来编辑 PHP?哪里可以找到所有可用的 PHP 预定义变量的完整列表?怎样才能不用非免费的商业库(例如 PDFLib) 来生成 PDF 文档?我想要个免费的并且不需要再连接别的 PDF 库。我试着在用户自定义函数中访问一个标准的 CGI 变量(例如 $DOCUMENT_ROOT 或 $HTTP_REFERER),但是找不到,哪里出了错?有些 PHP 选项可以接受缩写的字节值,与仅能接受 integer字节值相反。都有哪些缩写字节值?可以将其用于 php.ini 之外吗?Windows: I keep getting connection timeouts when using localhost, whereas "127.0.0.1"works?密码散列为什么需要把应用程序中用户的密码进行散列化?为何诸如 md5 和sha1 这样的常见散列函数不适合用在密码保护场景?如果不建议使用常用散列函数保护密码, 那么我应该如何对密码进行散列处理?'盐'是什么?我应该如何保存'盐'?PHP 和 HTML当我通过表单/URL 传值时需要用什么编码/解码方法?我在试用 <input type="image"> 标记,但是没有 $foo.x和 $foo.y变量,它们哪去了?怎样在 HTML 的 <form> 中建立数组?怎样从可多选的 HTML 的 select multiple 标记中得到所有结果?怎样从 Javascript 传递一个变量到 PHP?PHP 和 COM我建立了一个 DLL 来做某种计算。有办法在 PHP 中运行这个 DLL 吗?'Unsupported variant type: xxxx (0xxxxx)'是什么意思?在 PHP 中有可能操纵可视对象吗?可以将一个 COM 对象保存在 session 中吗?怎样可以捕获 COM 的错误?我能像在 Perl 中一样从 PHP 脚本生成 DLL 文件吗?'Unable to obtain IDispatch interface for CLSID {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}'是什么意思?怎样从远端服务器运行 COM 对象?我得到一个'DCOM is disabled in C:\path...\scriptname.php on line 6'信息,应该怎么办?有可能在 PHP 页面中加载/操纵 ActiveX 对象吗?有可能得到一个组件在运行中的实例吗?有办法处理 COM 对象中发送的事件吗?我在尝试调用一个打开了多于一个接口的 COM 对象中的方法时碰到问题,应该怎么办?这么说 PHP 可以和 COM 一起工作,那么 COM+ 呢?如果 PHP 可以操纵 COM 对象,那么可以设想结合 PHP 用 MTS 来管理组件资源吗?从 PHP 4 移植到 PHP 5从 PHP 4 向 PHP 5 移植PHP 5 中还能用 MySQL 吗?好像找不到了。听说 PHP 有个全新的 OOP 模型,那现有的 OOP 代码还能运行吗?上哪去找这些新的 OOP 特性的信息?除了 OOP 模型,PHP 5 还有哪些改动?此外,有没有专门针对 PHP 5 的手册?杂类问题在 Windows 中怎样处理 bz2 压缩的文档?在函数定义中,参数旁边的 & 是什么意思?例如 asort。怎么处理 register_globals?附录PHP 及其相关工程的历史PHP 的历史PHP 相关工程的历史PHP 相关书籍PHP 相关文章Migrating from PHP 5.6.x to PHP 7.0.x不向后兼容的变更新特性Changes in SAPI ModulesDeprecated features in PHP 7.0.xChanged functionsNew functionsNew Classes and InterfacesNew Global ConstantsRemoved Extensions and SAPIsOther Changes从PHP 5.5.x 移植到 PHP 5.6.x向后不兼容新特性PHP 5.6.x 中已废止的特性Changed functions新加函数OpenSSL changes in PHP 5.6.x扩展中的变动新加的全局常量从 PHP 5.4.x 迁移到 PHP 5.5.xPHP 5.5.x 中的变更不向后兼容的变更新的特性PHP 5.5.x 中废弃的特性变更的函数新的函数新的类和接口新的方法扩展中的其他变更新的全局常量INI 文件处理的变化PHP 内部的变化从 PHP 5.3.X 迁移到 PHP 5.4.XPHP 5.4.x 中的变更不向后兼容的变更新特性SAPI 模块中的变化在 PHP 5.4.x 中过时的特性变更的函数新的函数新的类和接口新的方法移除的扩展扩展中的其他变化新的全局常量INI 文件处理的变化其他变化从 PHP 5.2.x 移植到 PHP 5.3.xPHP 5.3.x 的变化不向下兼容的变化新特性Windows 支持改变SAPI 模块的改变PHP 5.3.x 中弃用的功能PHP 5.3.x 保留的功能新参数新函数新的流包装器新的流过滤器新增的类常量新增的方法新的扩展被移除的扩展Other changes to extensions新类新的全局常量INI 文件处理改变其他改变Migrating from PHP 5.1.x to PHP 5.2.xWhat has changed in PHP 5.2.xBackward Incompatible ChangesNew Error MessagesChanges in PHP datetime supportNew ParametersNew FunctionsNew MethodsRemoved ExtensionsNew ExtensionsNew ClassesNew Global ConstantsNew Class ConstantsNew INI Configuration DirectivesError ReportingOther EnhancementsMigrating from PHP 5.0.x to PHP 5.1.xKey PHP 5.1.x featuresChanges in reference handlingReading []Integer values in function parametersClass and object changesExtensionsDate/time supportChanges in database supportChecking for E_STRICT从 PHP 4 移植到 PHP 5PHP 5 中有哪些改变未向下兼容的改变CLI 和 CGI移植配置文件新函数新指令数据库新对象模型错误报告类与对象(PHP 4)继承构造函数范围解析操作符(::)parent序列化对象 - 会话中的对象魔术函数 __sleep 和 __wakeup构造函数中的引用对象的比较PHP 的调试关于调试器配置选项核心配置选项列表php.ini 配置php.ini 配置选项列表php.ini 配置段列表php.ini 核心配置选项说明扩展库列表/归类按字母顺序按归属分按状态分函数别名列表保留字列表关键词列表预定义类预定义常量资源类型列表可用过滤器列表字符串过滤器转换过滤器压缩过滤器加密过滤器所支持的套接字传输器(Socket Transports)列表Internet 领域:TCP,UDP,SSL 和 TLSUnix 领域:Unix 和 UDGPHP 类型比较表解析器代号列表用户空间命名指南全局命名空间规则提示关于本手册手册的格式关于用户注释如何阅读函数的定义(函数原型)本手册中所涉及的 PHP 版本如何得到关于 PHP 更多的信息如何帮助改进本文档如何生成手册的各种格式手册译文Creative Commons Attribution 3.0索引
文字

session_start

(PHP 4, PHP 5)

session_start启动新会话或者重用现有会话

说明

bool session_start ([ array $options = [] ] )

session_start() 会创建新会话或者重用现有会话。 如果通过 GET 或者 POST 方式,或者使用 cookie 提交了会话 ID, 则会重用现有会话。

当会话自动开始或者通过 session_start() 手动开始的时候, PHP 内部会调用会话管理器的 open 和 read 回调函数。 会话管理器可能是 PHP 默认的, 也可能是扩展提供的(SQLite 或者 Memcached 扩展), 也可能是通过 session_set_save_handler() 设定的用户自定义会话管理器。 通过 read 回调函数返回的现有会话数据(使用特殊的序列化格式存储), PHP 会自动反序列化数据并且填充 $_SESSION 超级全局变量。

要想使用命名会话,请在调用 session_start() 函数 之前调用 session_name() 函数。

如果启用了 session.use_trans_sid 选项, session_start() 函数会注册一个内部输出管理器, 该输出管理器完成 URL 重写的工作。

如果用户联合使用 ob_start() ob_gzhandler 函数, 那么函数的调用顺序会影响输出结果。 例如,必须在开始会话之前调用 ob_gzhandler 函数完成注册。

参数

options

此参数是一个关联数组,如果提供,那么会用其中的项目覆盖 会话配置指示 中的配置项。此数组中的键无需包含 session. 前缀。

除了常规的会话配置指示项, 还可以在此数组中包含 read_and_close 选项。如果将此选项的值设置为 TRUE , 那么会话文件会在读取完毕之后马上关闭, 因此,可以在会话数据没有变动的时候,避免不必要的文件锁。

返回值

成功开始会话返回 TRUE ,反之返回 FALSE

更新日志

版本 说明
7.0.0 新加 options 参数。
5.3.0 如果函数调用失败返回 FALSE , 之前版本返回了 TRUE
4.3.3 在 PHP 4.3.3 中, 会话开始之后调用 session_start() 函数 会引发 E_NOTICE 级别的错误, 并且第二次请求开始会话的调用会被忽略。

范例

基本的会话示例

Example #1 page1.php

<?php
// page1.php

session_start ();

echo 
'Welcome to page #1' ;

$_SESSION [ 'favcolor' ] =  'green' ;
$_SESSION [ 'animal' ]   =  'cat' ;
$_SESSION [ 'time' ]     =  time ();

// 如果使用 cookie 方式传送会话 ID
echo  '<br /><a href="page2.php">page 2</a>' ;

// 如果不是使用 cookie 方式传送会话 ID,则使用 URL 改写的方式传送会话 ID
echo  '<br /><a href="page2.php?'  SID  '">page 2</a>' ;
?>

请求 page1.php 页面之后, 第二个页面 page2.php 会包含会话数据。 请查阅 会话参考 获取更多关于 会话 ID 传送的信息, 在该参考页面中有关于常量 SID 的详细说明。

Example #2 page2.php

<?php
// page2.php

session_start ();

echo 
'Welcome to page #2<br />' ;

echo 
$_SESSION [ 'favcolor' ];  // green
echo  $_SESSION [ 'animal' ];    // cat
echo  date ( 'Y m d H:i:s' $_SESSION [ 'time' ]);

// 类似 page1.php 中的代码,你可能需要在这里处理使用 SID 的场景
echo  '<br /><a href="page1.php">page 1</a>' ;
?>

调用 session_start() 的时候指定选项

Example #3 覆盖 Cookie 超时时间设定

<?php
// 设置 cookie 的有效时间为 1 天
session_start ([
    
'cookie_lifetime'  =>  86400 ,
]);
?>

Example #4 读取会话之后立即关闭会话存储文件

<?php
// 如果确定不修改会话中的数据,
// 我们可以在会话文件读取完毕之后立即关闭它
// 来避免由于给会话文件加锁导致其他页面阻塞
session_start ([
    
'cookie_lifetime'  =>  86400 ,
    
'read_and_close'   =>  true ,
]);

注释

Note:

要使用基于 cookie 的会话, 必须在输出开始之前调用 session_start() 函数。

Note:

建议使用 zlib.output_compression 来替代 ob_gzhandler()

Note:

根据配置不同,本函数会发送几个 HTTP 响应头。 参考 session_cache_limiter() 来自定义 HTTP 响应头。

参见

  • $_SESSION
  • session.auto_start 配置指示
  • session_id() - 获取/设置当前会话 ID

用户评论:

[#1] jeferson dot a30g at gmail dot com [2015-10-25 02:18:10]

Para resolver o erro:
warning session start function session start cannot send session cache limiter headers already sent output started at...

Basta usar o comando "session_start()" antes de qualquer c??digo html, pois ao mostrar algum html antes de iniciar a sess?o j?? estar?? inicializando o header.
Resumindo: ?? preciso iniciar a sess?o antes de inicializar o header html.
Exemplo: 
<?php
session_start
();
?>

<html>
<head>
....
Dica: 
Ao usar:  echo "Ol??!";
J?? estar?? inicializando o header tamb??m, por isso ?? preciso tomar cuidado.

[#2] aaronw at catalyst dot net dot nz [2015-04-23 06:56:48]

As others have noted, PHP's session handler is blocking. When one of your scripts calls session_start(), any other script that also calls session_start() with the same session ID will sleep until the first script closes the session.

A common workaround to this is call session_start() and session_write_close() each time you want to update the session.

The problem with this, is that each time you call session_start(), PHP prints a duplicate copy of the session cookie to the HTTP response header. Do this enough times (as you might do in a long-running script), and the response header can get so large that it causes web servers & browsers to crash or reject your response as malformed.

This error has been reported to PHP HQ, but they've marked it "Won't fix" because they say you're not supposed to open and close the session during a single script like this. https://bugs.php.net/bug.php?id=31455

As a workaround, I've written a function that uses headers_list() and header_remove() to clear out the duplicate cookies. It's interesting to note that even on requests when PHP sends duplicate session cookies, headers_list() still only lists one copy of the session cookie. Nonetheless, calling header_remove() removes all the duplicate copies.

<?php

function clear_duplicate_cookies() {
    
// If headers have already been sent, there's nothing we can do
    
if (headers_sent()) {
        return;
    }

    
$cookies = array();
    foreach (
headers_list() as $header) {
        
// Identify cookie headers
        
if (strpos($header'Set-Cookie:') === 0) {
            
$cookies[] = $header;
        }
    }
    
// Removes all cookie headers, including duplicates
    
header_remove('Set-Cookie');

    
// Restore one copy of each cookie
    
foreach(array_unique($cookies) as $cookie) {
        
header($cookiefalse);
    }
}
?>

[#3] elitescripts2000 at yahoo dot com [2014-01-25 03:56:08]

3 easy but vital things about Sessions in AJAX Apps.

<?php
// session start

//  It is VERY important to include a Period if using
// a whole domain.  (.yourdomain.com)
// It is VERY important to set the root path your session will always
// operate in... (/members) will ensure sessions will NOT be interfered
// with a session with a path of say (/admin) ... so you can log in
// as /admin and as /members... NEVER do unset($_SESSION)
// $_SESSION=array(); is preferred, session_unset();  session_destroy();

session_set_cookie_params(0'/members''.yourdomain.com'01);
session_start();
$_SESSION = array();
session_unset();
session_destroy();

session_set_cookie_params(0'/members''.yourdomain.com'01);
session_start();

$_SESSION['whatever'] = 'youwhat';

// session destroying 

// To be safe, clear out your $_SESSION array
// Next, what most people do NOT do is delete the session cookie!
// It is easy to delete a cookie by expiring it long before the current time.
// The ONLY WAY to delete a cookie, is to make sure ALL parameters match the
// cookie to be deleted...which is easy to get those params with 
// session_get_cookie_params()...
// FInally, use  session_unset(); and session_destroy(); in this order to ensure
// Chrome, IE, Firefox and others, are properly destroying the session.
$_SESSION = array();
if (
ini_get('session.use_cookies'))
{
    
$p session_get_cookie_params();
    
setcookie(session_name(), ''time() - 31536000$p['path'], $p['domain'], $p['secure'], $p['httponly']);
 }
session_unset();
session_destroy();

// AJAX and SESSIONS.
// Example... you start a session based PHP page, which then calls an Ajax (XMLHTTP) authenticated
// using the SAME SESSION to Poll and output the data, for example.  But, you notice when you
// try to start the Polling AJAX call always HANGS and seems to hang at the session_start().
// This is because the session is opened in the first page, calls the AJAX polling example, and
// tries to open the same session (for authentication) and do the AJAX call, you MUST call
// session_write_close(); meaning you are done writing to the $_SESSION variable, which really
// represents a file that must be CLOSED with session_write_close();....
// THAN you can call your AJAX Polling code to reopen the same session and do its polling...
// Normally, the $_SESSION is closed automatically when the script is closed or finished executing
// So, if you need to keep a PHP page running after opening a SESSION, simply close it when finished
// writing to $_SESSION so the AJAX polling page can authenticate and use the same session in a
// seperate web page...

session_write_close();

?>


Hope this helps someone with their sessions...
Thanks.

[#4] web at metelab dot com [2014-01-12 15:18:10]

IMPORTAN NOTE for all newby!!!
Before session_start() !
you must set session_cache_limiter()
 in the value public, private_no_expire or private,
otherwise the standard session will be send headers 1981year (nocache)
and you will be very long to find someone sends headers!
 
Maybe this will help, because not find the headers are sent in the browser

[#5] ohcc at 163 dot com [2013-12-25 16:00:37]

The constant SID would always be '' (an empty string) if directive session.use_trans_sid in php ini file is set to 0. 

So remember to set session.use_trans_sid to 1 and restart your server before you use SID in your php script.

[#6] Anonymous [2013-08-21 17:56:12]

In the Classes and Objects docs, there is this: In order to be able to unserialize() an object, the class of that object needs to be defined.

An object made by SimpleXML_Load_String() cannot be serialized.  An attempt to do so will result in a run-time failure, throwing an exception.  If you store such an object in $_SESSION, you will get a post-execution error that says this:

Fatal error: Uncaught exception 'Exception' with message 'Serialization of 'SimpleXMLElement' is not allowed' in [no active file]:0 Stack trace: #0 {main} thrown in [no active file] on line 0

The entire contents of the session will be lost.  This script demonstrates the failure.  Hope this saves someone some time!

<?php // RAY_temp_ser.php
error_reporting(E_ALL);
session_start();
var_dump($_SESSION);
$_SESSION['hello'] = 'World';
var_dump($_SESSION);

// AN XML STRING FOR TEST DATA
$xml '<?xml version="1.0"?>

<families>
  <parent>
    <child index="1" value="Category 1">Child One</child>
  </parent>
</families>';

// MAKE AN OBJECT (GIVES SimpleXMLElement)
$obj = SimpleXML_Load_String($xml);

// STORE THE OBJECT IN THE SESSION
$_SESSION['obj'] = $obj;

[#7] ilnomedellaccount at gmail dot com [2013-08-13 15:53:46]

A note about session_start(), custom handlers and database foreign key constraints, which I think may be of some use...

We know that if we want our sessions into a database table (rather than the default storage), we can refer to session_set_save_handler(...) to get them there. Note that session_set_save_handler must (obviously) be called before session_start(), but let me get to the point...

Upon calling session_start() the "first time", when the session does not already exist, php will spawn a new session but will not call the write handler until script execution finishes.

Thus, the session at this point exists in the server process memory, but won't be visible as a row in the DB before the script ends.

This seems reasonable, because this avoids some unnecessary database access and resource usage before we even populate our session with meaningfull and definitive data, but this also has side-effects.

In my case, the script called session_start() to make sure a session was initiated, then used session_id() to populate another table in the DB, which had foreign_key constraint to the "sessions" table. This failed because no session was in the db at that point, yet!

I know I could simply force the creation of the row in the DB by manually calling the write handler after session_start(), when necessary, but I am not sure if this is the best possible approach.

As soon as I find an "elegant" solution, or a completely different approach, I will post some working sample code.

In the meanwhile... have fun!

[#8] AlexW [2013-02-07 12:22:37]

Please note:

If your session contains a class, include the class definition *before* calling session_start() otherwise you will get an error!

[#9] someOne_01 at somewhere dot com [2012-11-17 14:30:44]

When you have an import script that takes long to execute, the browser seem to lock up and you cannot access the website anymore. this is because a request is reading and locking the session file to prevent corruption.

you can either 
- use a different session handler with session_set_save_handler()
- use session_write_close() in the import script as soon you don't need session anymore (best moment is just before the long during part takes place), you can session_start when ever you want and as many times you like if your import script requires session variables changed. 

example
<?php
session_start
(); //initiate / open session
$_SESSION['count'] = 0// store something in the session
session_write_close(); //now close it, 
# from here every other script can be run (and makes it seem like multitasking)
for($i=0$i<=100$i++){ //do 100 cycles
    
session_start(); //open the session again for editing a variable
    
$_SESSION['count'] += 1//change variable
    
session_write_close(); //now close the session again!
    
sleep(2); //every cycle sleep two seconds, or do a heavy task
}
?>

[#10] foxz [2012-07-23 14:34:27]

Cannot send session cache limiter...

if you use UTF-8 charactere format
*** dont use BOM ! ***

(convert to UTF-8 without BOM)

config your FTP client to transfert *.php in BINARY format

BOM is an mark in start of file.
"hey, I'm UTF-8 encoded" <?php session_start() ?>
           ^--- something before  !

Syl

[#11] henrik at raketten dot net [2012-05-28 22:59:16]

I have found, like many others, that sometimes IE looses SESSION variables. In my case, this was caused due to a CNAME foirwarded IP address and it went away, when I changed it to a A node in my DNS settings. 
I hope this will help somebody....

[#12] LaKing at D250 dot hu [2012-03-02 15:13:32]

I had a warning complaining about session_start() after adding an include file.

- It broke the functionality of my php code in a very strange manner.
- The included tree did not contain any additional session_start calls.
- it produced this warning only with with php -l from my development environment, and didn't produce any errors in the error_log.
- the warning pointed into a non-existing line, 1 line after last line of the file.

I use gedit on CentOS 6.1 with UTF-8 as current locale.
- Switching encoding back and forth didn't help. 
- Commented out all the included content, only the php tags left, the error wa still there. .. 

The solution was to clear out everything, and re-writing the php tags and posting back the content.

As it seems "hidden" unsupported characters produce errors and warnings falsely pointing to this function.

[#13] max_bilyk at yahoo dot com [2011-11-04 06:53:12]

An interesting bug/misfunction was discovered when using Flash-based file uploader (in my case jQuery plugin Uploadify, but also found similar problem reports about SWFupload).

Problem occurs with PHP 5.2 (and probably later as well) when it is compiled with Suhosin patch.

The problem is that session_start() does not load session data into $_SESSION variable when it gets request from Flash, and in this case $_SESSION variable becomes empty and at the end  of script execution erases session data when script execution ends (PHP saves this empty $_SESSION to file).

The fact that Flash is using its own session management is solved by passing via POST/GET correct session ID, but erasing session data is definitely a problem.

The reason for the problem is method of session data encryption - Suhosin uses user-agent data as a part of encryption key.

And in case client machine makes requests from two different user-agents (browser + flash) Suhosin generates different session decryption key which is unable to decrypt session data (and notice that there's no message about this fact in any log-file).

So the solution for such case may be either by disabling encryption of session data by putting such directive in php.ini:

suhosin.session.encrypt=Off

or, alternatively, still keep session data encrypted but exclude user-agent data from encryption key by using this directive in php.ini:

suhosin.session.cryptua=Off

[#14] Dark Angel [2011-10-16 07:49:33]

I had script which should under CLI restore session set by web interface.

Spent like few hours understanding why script with session_id($sid) and session_start() is not restoring session, but generating new one. No any notices or anything helping to resolve.

$sid was read from STDIN. Issue was that value from STDIN contained '\n' character at the end, which is invalid for session identifier. Discovered by stracing CLI script.

Hope this will save you a lot of time.

[#15] sanjuro at 1up-games dot com [2011-08-18 11:56:55]

The problem with SID is that if on occasions you don't start a session, instead of outputting an empty string for transparent integration it will return the regular undefined constant notice. So you might want to test the constant with defined() beforehand.

[#16] egonrp [2011-07-19 06:59:24]

SOLVED: Session data lost

My session data lost problem was resolved by using a short name for session key.
This error happens with PHP version 5.2.6 (Debian Lenny), others versions works fine without any modification.

Before:
$_SESSION['current_user_search_filter'] = serialize($myArray);
$value = unserialize($_SESSION['current_user_search_filter']);

After (short key name):
$_SESSION['usearchfilter'] = serialize($myArray);
$value = unserialize($_SESSION['usearchfilter']);

Good Luck! :)

[#17] gkemaldag at gmail dot com [2011-04-20 00:37:07]

For the error:

Warning: session_start(): Cannot send session cache limiter - headers already sent ...

this kind of errors would occur, when the encoding of your script file needs to send some headers just after your script starts to execute,

this happens mostly with the scripts using normal utf8 encoding.

To overcome the issue, use utf8(without BOM) encoding provided by notepad++ and most modern editors. Using utf8 encoding and cookie based sessions, will result in headers already sent by error.

[#18] alakys [2011-03-03 08:26:19]

Sorry for the noob comment but for those having the error : 

Warning: session_start(): Cannot send session cache limiter - headers already sent ...

And before trying all the solutions added by the experts, simply ensure to have your php code before even the DOCTYPE tag like this (and not between the doctype and html tags as I was doing):

<?php session_start(); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Test Page</title>
</head>

<body>
etc ....

It might sound funny but I am sure this post will save time to some others noobs like me ... !

[#19] linblow at hotmail dot fr [2011-02-16 05:06:33]

If you want to handle sessions with a class, I wrote this little class:

<?php



class Session
{
    const 
SESSION_STARTED TRUE;
    const 
SESSION_NOT_STARTED FALSE;
    
    
// The state of the session
    
private $sessionState self::SESSION_NOT_STARTED;
    
    
// THE only instance of the class
    
private static $instance;
    
    
    private function 
__construct() {}
    
    
    

    
    
public static function getInstance()
    {
        if ( !isset(
self::$instance))
        {
            
self::$instance = new self;
        }
        
        
self::$instance->startSession();
        
        return 
self::$instance;
    }
    
    
    

    
    
public function startSession()
    {
        if ( 
$this->sessionState == self::SESSION_NOT_STARTED )
        {
            
$this->sessionState session_start();
        }
        
        return 
$this->sessionState;
    }
    
    
    

    
    
public function __set$name $value )
    {
        
$_SESSION[$name] = $value;
    }
    
    
    

    
    
public function __get$name )
    {
        if ( isset(
$_SESSION[$name]))
        {
            return 
$_SESSION[$name];
        }
    }
    
    
    public function 
__isset$name )
    {
        return isset(
$_SESSION[$name]);
    }
    
    
    public function 
__unset$name )
    {
        unset( 
$_SESSION[$name] );
    }
    
    
    

    
    
public function destroy()
    {
        if ( 
$this->sessionState == self::SESSION_STARTED )
        {
            
$this->sessionState = !session_destroy();
            unset( 
$_SESSION );
            
            return !
$this->sessionState;
        }
        
        return 
FALSE;
    }
}



// We get the instance
$data Session::getInstance();

// Let's store datas in the session
$data->nickname 'Someone';
$data->age 18;

// Let's display datas
printf'<p>My name is %s and I\'m %d years old.</p>' $data->nickname $data->age );



printf'<pre>%s</pre>' print_r$_SESSION TRUE ));

// TRUE
var_dump( isset( $data->nickname ));

// We destroy the session
$data->destroy();

// FALSE
var_dump( isset( $data->nickname ));

?>


I prefer using this class instead of using directly the array $_SESSION.

[#20] math[dot]lechat[at-at]gmail[dot]com [2011-02-14 01:08:25]

"Cannot send session cookie - headers already sent" comes most often when the file is encoded in UTF-8 WITH BOM under Windows.
When transfered on an UNIX server the BOM is considered as text and sent before any header you can define.

[#21] anon at ymous dot com [2011-02-04 01:51:04]

I am trying to get a session created by a browser call to be used by a command line cli->curl php call (in this case, both calls to the same server and php.ini), for a set of flexible media import routines, 

but the cli->curl call always starts a new session despite me putting PHPSESSID=validID as the first parameter for the url called by curl.

I was able to fix it by calling session_id($_GET['PHPSESSID']) before calling session_start() in the script called via curl.

[#22] nizamgok at gmail dot com [2011-01-16 23:59:00]

Be aware that when you deliver your flash file through php, you cannot access the session vars that are set from the parent page in Opera, Safari and IE9. I didn't test it with IE6-8. Chrome and Firefox are OK. I don't know the real reason but guessing some of the header data are missing.

swf.php:
<?php

session_start
();

//$_SESSION['test'] --> doesn't exist!
//session_id() --> != 'hey123'

header('Content-type: application/x-shockwave-flash');

readfile('/path/to/flash.swf');

?>


index.php"
<?php

session_id
('hey123');
session_start();
$_SESSION['test'] = 'test';

?>

<object width="550" height="400">
<param name="movie" value="http://example.com/swf/">
</object>

* swf directory has an .htaccess file which points to swf.php

[#23] dave1010 at gmail dot com [2010-12-17 01:35:59]

PHP locks the session file until it is closed. If you have 2 scripts using the same session (i.e. from the same user) then the 2nd script will not finish its call to session_start() until the first script finishes execution.

If you have scripts that run for more than a second and users may be making more than 1 request at a time then it is worth calling session_write_close() as soon as you've finished writing session data.

<?php
// a lock is places on the session, so other scripts will have to wait
session_start();

// do all your writing to $_SESSION
$_SESSION['a'] = 1;

// $_SESSION can still be read, but writing will not update the session.
// the lock is removed and other scripts can now read the session
session_write_close();

do_something_slow();
?>


Found this out from http://konrness.com/php5/how-to-prevent-blocking-php-requests/

[#24] chong at completemr dot com [2010-12-08 19:11:02]

We are facing a problem and getting an error when loading a php page

Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cookie - headers already sent by (output started at /www/http/example/zh_CN/unsubscribe.php:1) in /www/http/example/inc/common.php on line 4

We had google and browse through some helps file and found some suggestion as below.

1. Use ob_start to cache any output before session_start function.

2. Make sure the session.save_path in php.ini is set and point to a valid path

We had tried the above but still having some the same problem.

We are using notepad ++ for the coding.

And we notice that this file is somehow being encoded to UTF-8 by one of my colleague because he though that this will help to display the result in the correct languages.

Solution:
Change the encode to use ANSI and make sure the EOL conversion is set to UNIX.
Bingo. Things are back to normal as expected.

Note:
The encode might cause this problem in certain machine but not others. So i had no clue on this. We had no problem running the php code with UTF-8 encode in a 64bits Linux Enterprise but hit the problem running in a 32 bits Linux slackware.

Hope this helps.

[#25] user at annon dot org [2010-08-08 16:48:02]

I recently stumbled upon a problem in my download script where a download link would be clicked but then no other links would work until that download had finished. Other instances/windows would not work either.

This is because session_start() locks the session data until the script finishes. In my case, until the script had finished sending the file data (which in a throttling script can take a while).

The solution is to use session_write_close();
This writes the current session data back to the session and closes the session so that other instances/windows can access the script using the same session.

Since adding it to my script my site can now have several files downloading at once from the same session and still serve pages.

[#26] milanzivanovic at gmail dot com [2010-08-05 13:48:11]

Resolve for:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at

is in changing text editor encoding to ANSI or UTF-8 without BOM.

Thanks God I found the answer!

[#27] aladinfajr at gmail dot com [2010-05-31 21:18:06]

my problem was in
session_start();
when i include this term in my first code it show me Warning Message: Cannot Modfie cache limiter
i had tryed many solves and dosn't work

finally

i write my code in other encode
and it sccussfully worked

i hope that help

[#28] info.at.merchandisinginteractive.sk [2010-03-01 18:46:22]

A handy script that checks fot the presence of uft-8 byte order mark (BOM) in all files in all directories starting on current dir. Combined from the work of other people here...

<?php
function fopen_utf8 ($filename) {
    
$file = @fopen($filename"r");
    
$bom fread($file3);
    if (
$bom != b"\xEF\xBB\xBF")
    {
        return 
false;
    }
    else
    {
        return 
true;
    }


function 
file_array($path$exclude ".|..|design"$recursive true) {
    
$path rtrim($path"/") . "/";
    
$folder_handle opendir($path);
    
$exclude_array explode("|"$exclude);
    
$result = array();
    while(
false !== ($filename readdir($folder_handle))) {
        if(!
in_array(strtolower($filename), $exclude_array)) {
            if(
is_dir($path $filename "/")) {
                                
// Need to include full "path" or it's an infinite loop
                
if($recursive$result[] = file_array($path $filename "/"$excludetrue);
            } else {
                if ( 
fopen_utf8($path $filename) )
                {
                    
//$result[] = $filename;
                    
echo ($path $filename "<br>");
                }
            }
        }
    }
    return 
$result;
}

$files file_array(".");
?>

[#29] info at nospam dot mmfilm dot sk [2009-12-29 19:58:54]

For those of you running in problems with UTF-8 encoded files:

I was getting an error because of the BOM, although i set Dreamweaver to "save as" the without the BOM. It appears that DW will not change this setting in already existing files. After creating a new file withou the BOM, everything worked well.

I also recommend http://people.w3.org/rishida/utils/bomtester/index.php - a utility that remote checks for the presence of BOM.

[#30] jamestrowbridge at gmail dot com [2009-12-29 09:57:23]

Unfortunately, after pulling my hair out trying to figure out why my application was working fine in every browser other than IE ( Internet Explorer) (Opera, Chrome, Firefox, Safari are what I've tested this in) - when using a DNS CNAME record (like a vanity name that is different from the DNS A record, which is the hostname of the server) sessions do not work correctly.

If you store a session var while on the CNAME:
vanity.example.com and the hostname of the server is hosname.example.com
Then try to call the variable from a different page, it will not find it because of the CNAME (I guess it store the variable under the hostname, then when trying to read it it's still looking under the CNAME) the same application works fine when accessing it under the hostname directly.  Keep in mind that I was testing this on an internal network.

[#31] eugene at ultimatecms dot co dot za [2009-11-24 10:39:50]

Ever get an error like this:

Warning: Unknown: open(/tmp/sess_lLFJ,tk9eFs5PGtWKKf559oKFM3, O_RDWR) failed: Permission denied (13) ?

Don't ask me how, but I managed to fix it by calling
session_id() before session_start(), at the top of the page.

Try it. Hopefully it'll help someone else.

[#32] myemail gerolf at pictureparking dot com [2009-10-08 04:12:01]

please note that at least in php 5.3.0 the setting session.use_only_cookies (in php.ini) defaults to "on". This means that using trans_id, and passing the PHPSESSID via the url does not work untill you change that setting.

[#33] Charlie at NOSPAM dot example dot com [2009-09-22 07:04:44]

Be warned that depending on end of script to close the session will effectively serialize concurrent session requests.   Concurrent background "data retrieval" (e.g. applications such as AJAX or amfphp/Flex) expecting to retrieve data in parallel can fall into this trap easily.

Holding the session_write_close until after an expensive operation is likewise problematic.

To minimize effects, call session_write_close (aka session_commit) as early as practical (e.g. without introducing race conditions) or otherwise avoid the serialization bottleneck.

[#34] schlang [2009-07-26 22:44:40]

if you store your sessions in a database, always ensure that the type of the database column is large enough for your session values

[#35] emre@yazici [2009-07-23 14:46:08]

PHP Manual specifically denotes this common mistake:

Depending on the session handler, not all characters are allowed within the session id. For example, the file session handler only allows characters in the range a-z A-Z 0-9 , (comma) and - (minus)!

See session_id() manual page for more details.

[#36] dstuff at brainsware dot org [2009-07-21 05:53:06]

It seems like spaces in the name don't work either - got a new session id generated each time

[#37] abiusx at gmail dot com [2009-07-12 03:03:46]

Working with Comet, or any other parallel or simultaneous requests from a single browser (a single session) would lock the application if it uses a centralized session management. 

To fix this, you should add session_commit() (Alias of session_write_close() ) after ALL session management, i.e using any session_* functions except session_start() is forbidden after that an causes an error.

[#38] hperrin at gmail dot com [2009-06-24 13:41:16]

When using session_start() multiple times in one script, it seems to only maintain $_SESSION variables with string keys.

<?php
session_start
();
$_SESSION[0] = 'this is a test';
$_SESSION[1] = 'this is also a test';
$_SESSION['test0'] = 'this is a test';
$_SESSION['test1'] = 'this is also a test';
session_write_close();

session_start();
echo 
"Session var 0 = ".$_SESSION[0]."<br />";
echo 
"Session var 1 = ".$_SESSION[1]."<br />";
echo 
"Session var 'test0' = ".$_SESSION['test0']."<br />";
echo 
"Session var 'test1' = ".$_SESSION['test1'];

?>


Outputs:
Session var 0 =
Session var 1 =
Session var 'test0' = this is a test
Session var 'test1' = this is also a test

[#39] gilthans NOSPAN at gmail dot com [2009-06-04 05:55:09]

If two different files don't access the same session, it can only mean one thing: they aren't on the same directory level.
Examples:
a) One is under https, and one is under http. (very common and annoying error)
b) One is under /, another is under /dir1, and /dir1 was first to run. The cookie created by the session is for /dir1 and deeper only, so the other script can't read it; it sees no session so it starts a new one.

Solutions:
1) Session start should always happen at root dir. If one of your scripts discovers user is not logged in, for example, use session_destroy() and send him to the login in the root dir. Scripts that use session without requiring login needs more creative solutions, like redirecting to the root dir, setting the session, and redirecting back.
2) Use SID from page to page, instead of cookies. The upside is that this also works with http/https. The downside is very ugly URL codes and more difficult maintainability ('which pages links to gallery.php without using SID?!').

[#40] kavih7 at yahoo dot com [2009-05-18 16:52:36]

I ran into a problem that has a solution that may not be quite intuitive to people (well, atleast it wasn't for me). I had one script that called session_start() and that script would run for an indefinite amount of time. I had a second script that would also call session_start(), but would only run for a few seconds each time it is called.

Here is where the problem occurs: Once session_start is called from the long living script, no other script can call session_start until that long running script calls session_commit() (session_write_close()) or ends.

In any case, this may have seem very intuitive to others, but having an abstracted system in place, I never see the session management at the script level, so it was hard to figure out what was locking any other requests.

Hope this helps others.

[#41] Gravis [2009-04-01 11:04:48]

If you want to check if a session has already been activated, you can check $_COOKIE["PHPSESSID"] for a value before reactivating that session.

Example code:

== login.php ==
<?php
  session_start
();
  
$_SESSION["data"] = "you have an active session!";
  echo 
"<a href=\"page.php\">go</a>";
?>


== page.php ==
<?php
  
if(isset($_COOKIE["PHPSESSID"]))
  {
    
session_start();
    echo 
$_SESSION["data"];
  }
  else
  {
    echo 
"no cookies required!";
  }
?>


This can prevent forcing a cookie on someone (very annoying in lynx) that doesnt intend to login on your site.

[#42] LaurenceJ44 at Hotmail dot com [2009-04-01 00:36:29]

I kept getting:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at myfile.php:2)

Only when I had uploaded my pages from my home development server to my hosted website.  the same page worked fine in development, so there must be a difference in the php setup, but since this is a site that hosts many different clients web sites, I can't get them to change thier config.

After a little bit of research and trial and error, I found the cure was to move the line:
<?php session_start(); ?>  

to be the very 1st line in any .php file.

orginally I had:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php session_start(); ?>
<html>
<head>
...etc

so I changed it to :
<?php session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
...etc

and all is well...

The clue is in the warning message, it ends :2)  which means the session_start() call is not on line 1 of the file!

Hope this helps & good Luck

Loz

[#43] microvalen at NOSPAM dot microvalen dot com [2009-03-22 22:09:46]

I have tried many times a lot of login scripts but sometimes when you have a lot of traffic you can note the "overloading" of the server tring to deal with all sessions specialy with the long, long scripts and classes ... checking all stuffs (ids, ips, usernames, etc) the loading page increase ...specialy when you have a "home" server with a small blog..

if you open the folder "/tmp" you will thousands of files that do nothing else that increasing the size of the folder.
Sessions are good and I just offer an alternative.
.. and for that I just created in about 20 min a simple script that can handle a simple login.

<b>(Be aware !! this is just an example .. it not make use of any check of xss atacks or other scripts !!!</b>

and make use of cookies [today all moderns browsers use cookies])

<?php

$mysqli 
= new mysqli('localhost''root''pass''nameofDB');

if (
mysqli_connect_errno()) {
    
printf("Connect failed: %s\n"mysqli_connect_error());
    exit(); }

$cookie = (isset($_COOKIE['vuid'])) ? $_COOKIE['vuid'] : '';

if(!
$cookie) {
    
$user_level 0;
    
setcookie('vuid''0.' md5('anonymous')); }
else {
    
$part explode('.'$cookie);
    
$user_level = (int) $part[0];
    
$user_name = (string) $part[1];

    if(
$user_level != 0) {
        
$is_logged check_login($user_level$user_name); }
    else {
        
$is_logged false; } }

if(isset(
$_GET['login'])) {
       
// here you MUST make a form and a function that realy check the login ...
        
if($YourFunctionCheckIsOk) {
    
setcookie('vuid' '9.' md5('PutTheUserNameHere'));
    echo 
'<meta http-equiv="refresh" content="1;URL=index.php">
    Correct Login<br>
    You will be redirected to the main page'
; } }
elseif(isset(
$_GET['logout'])) {
    
setcookie('vuid''0.' md5('anonymous'));
    echo 
'<meta http-equiv="refresh" content="1;URL=index.php">
    You are out now ... see you soon<br>
    You will be redirected to the main page'
; }
else {
    if(
$is_logged) {
        echo 
'Welcome ' USERNAME ' <a href="?logout">LOGOUT</a>'; }
    else {
        echo 
'You are a Anonymous. LOGIN <a href="?login">HERE</a>'; } }

function 
check_login($user_level$user_name) {
    global 
$mysqli;

    
$is_logged false;

    
$result $mysqli->query('SELECT nick FROM accounts WHERE user_level = ' $user_level);
    
$row $result->fetch_array();
    
$result->close();
    if(
$user_name === md5($row['nick'])) {
        
define('USERNAME'$row['nick']);
        return 
$is_logged true; }
    return 
$is_logged false; }

$mysqli->close();

?>


PS: you can change the nick with the ip or better use both !
like:
 "level.md5(sha1(nick)).sha1(md5(ip)) etc ...
 "0.4aea7c7d495676.4aea7c7d495676"
and check them separetly by <a href="http://php.net/explode">"exploding"</a> them ..
play arround ...

[#44] tchalvakspam at gmail dot com [2009-02-23 13:25:33]

Be aware that if a browser isn't accepting cookies, it can cause the session to invisibly not save between two pages.

So for example, in Firefox 3.0.6 there is a bug where "localhost" addresses are currently not saving cookies.  This will kill any attempts to use session code in development where localhost is used.

One workaround for this is to use a different synonym for the localhost address, i.e. http://127.0.0.1/, or set up a virtualhost, e.g. http://localdevelopment/

Overall, pay close attention if you see to different, unexpected session behavior in two different browsers, it may be a result of the cookies being handled differently or being dropped.

[#45] yesmarklapointe at hotmail dot com [2009-02-04 16:32:51]

Here is some info about how to use SID with session_start(). 
Experiment run on WAMPserver, PHP version 5.2.6. 
Using FireFox 3.0.

The definition found at http://www.php.net/manual/en/session.constants.php  
describes SID is a ??pre-defined constant?? containing either: 
1). the session name and session ID in the form of "name=ID" .
This is the same name as would be returned by session_name(), and the same id as would be returned 
by session_id().  

2).  Or an empty string,  if the session ID was set in an appropriate session cookie. 

Example code:
<?php
session_start
();
echo 
'<a href="page2.php?' SID '">page2</a>';
?>


This code will yield in the browser one of the following: 
a).   ??page 2??      (as a hyperlink, but mouseover shows the link is to something in the form of 
http://www.example.com/page2.php?PHPSESSID=e2bd7072....  )

b).   ??page 2??     (as a hyperlink, but mouseover shows http://www.example.com/page2.php? )

Which result is determined by whether or not the browser is sending a matching session cookie back to the script. Result ??a?? above always appears at least initially since the script hasn??t yet set a cookie and neither has it been done automatically yet by the php.ini setting session.use_cookies. However, after refreshing or using the back button, the form in "b" will appear because then the cookie exists (either you set it or session.use_cookies did it automatically).

[#46] info at vanylla dot it [2009-01-30 04:06:12]

If while testing locally on your Windows machine you get many warnigns like:

Warning: session_start()... failed: No such file or directory
Warning: session_start()...: Cannot send session cache limiter - headers already sent 
etc.

you need to configure properly the session.save_path in your php.ini file.

Set session.save_path to an existing folder on your PC.
For example: session.save_path="C:\Temp";

[#47] philippe dot latulippe at xxxxgmail dot com [2009-01-11 18:12:21]

When using session_start() with cookies over an encrypted connection (like HTTPS) it is important to set php_ini('session.cookie_secure',true).  This sets a flag in the cookie which will stop browsers from sending this cookie over an unsecured connection.  If this is not done, a Man-In-The-Middle could easily cause the victim's browser to send his session ID in plaintext, gaining access to the account and defeating the goal of the secure connection.

http://fscked.org/blog/fully-automated-active-https-cookie-hijacking

[#48] zidaine_38 at yahoo dot com [2008-12-05 20:31:25]

<?php
class SESSION 
{
   public function 
__construct ()
   {
   
self :: commence ();
   }

   public function 
commence ()
   {
    if ( !isset( 
$_SESSION ['ready'] ) ) 
     { 
      
session_start ();
      
$_SESSION ['ready'] = TRUE;
     } 
   }

   public function 
set $fld $val 
   {
   
self :: commence ();
   
$_SESSION $fld]  = $val;
   }
   public function 
un_set $fld )  
   {
   
self :: commence ();
   unset( 
$_SESSION [$fld] );
   }
   public function 
destroy ()
   {
   
self :: commence ();
   unset ( 
$_SESSION );
   
session_destroy ();
   }
   public function 
get $fld 
   {
   
self :: commence ();
   return 
$_SESSION [$fld];
   }
   public function 
is_set $fld ) {
   
self :: commence ();
   return isset( 
$_SESSION [$fld] );
   }
}
?>


This Class is handy to all who want easy session handling.
Just include () or require () this to pages where you will have to use session.

example:

<?php
 
include ( "/path/to/sess.inc.php" );
 if( !
SESSION :: is_set "number" ) )
  {
   
SESSION :: set "number" );
  }
 else 
  {
   
$_SESSION ["number"] ++;
  }
  echo 
SESSION :: get "number" );
?>

[#49] andy_isherwood at hotmail dot com [2008-11-18 06:54:59]

A session created with session_start will only be available to pages within the directory tree of the page that first created it.

i.e. If the page that first creates the session is /dir1/dir2/index.php and the user then goes to any page above dir2 (e.g. /dir1/index.php), session_start will create a new session rather than use the existing one.

[#50] aban at datahouselibya dot com [2008-07-17 08:11:22]

for resolve the problem with session_start()
Cannot send session cache limiter - headers already sent (output started at ..."

write it at first line of the page like

<?php session_start(); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<body>
<?php $_SESSION['name']='mohamed'?>
</body>
<html>

[#51] michael at pythontech dot net dot au [2008-07-13 20:17:15]

@ash

Whilst this may prevent session hijacking attempts, it also ruins the user experience, pressing back and forward will result in the 'security' token being out of sync. Also opening new tabs/ windows will also cause issues.

A better method would be to simply check the ip address or ip block of the user. But this is not without problems either.

To access highly sensitive information, the user should be required to enter his/her password again, even tho they are logged in. This ensures that session hijackers can not access this information.

All this goes hand-in-hand with regenerating session ids on login, and good use of https.

[#52] ash at atomic-network dot co dot uk [2008-05-28 09:33:23]

@My last post...
the function will generate the session "token" you just need to do a check and regenerate it on each page load...

[#53] ash at atomic-network dot co dot uk [2008-05-28 09:29:22]

When developing applications or just creating a general website with the use of sessions, many developers do not think about securing session hijacking attacks. For further information I recommend searching google, however I have produced a small function to be called immediately after session_start().

your_page.php:
<?php
session_start
();
include_once 
'session_secure.inc.php';
session_secure();
# Your content here.
?>


session_secure.inc.php :
<?php
function session_secure(){
    
// wrapped for the php entry....
    
$alph =array('A','a','B','b','C','c','D','d','E',
    
'e','F','f','G','g','H','h','I','i','J','K','k',
    
'L','l','M','m','N','n','O','o','P','p','Q','q',
    
'R','r','S','s','T','t','U','u','V','v','W','w',
    
'X','x','Y','y','Z','z');
    for(
$i=0;$i<rand(10,20);$i++){
        
$tmp[] =$alph[rand(0,count($alph))];
        
$tmp[] =rand(0,9);
    }
    return 
implode("",shuffle($tmp));
}
?>


There are quicker ways like md5(time()*rand()), however the function above is completely random, and will render an attackers hijacking task almost impossible.

[#54] vladimir at pixeltomorrow dot com [2008-05-14 07:31:28]

Kind of ankward it's not mentioned here, but you should also trigger the session_write_close() function as soon as possible so you'll release the lock over the session files.

Cheers,
Vladimir Ghetau

[#55] chrismckeeuk at gmail dot com [2008-05-10 12:51:44]

If your sessions are failing to hold the stored data ensure that session.use_only_cookies is set to 1 in your PHP.ini config.

Also using the session auto start saves on a lot of issues and removes the issue of people setting the session_start after the html begins.

[#56] Anthony Catel p at NOSPAM dot rabol dot fr [2008-05-03 08:02:37]

session_start() generate a warning if PHPSESSID contains illegal characters

Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/para/dev/mon_site/header.php on line 17

To avoid i wrote this :

<?php
    
function my_session_start()
    {
        if (isset(
$_COOKIE['PHPSESSID'])) {
            
$sessid $_COOKIE['PHPSESSID'];
        } else if (isset(
$_GET['PHPSESSID'])) {
            
$sessid $_GET['PHPSESSID'];
        } else {
            
session_start();
            return 
false;
        }
        
        if (!
preg_match('/^[a-z0-9]{32}$/'$sessid)) {
            return 
false;
        }
        
session_start();
        
        return 
true;
    }
?>

[#57] php at hogerheijde dot net [2008-02-29 11:53:43]

That's why you shouldn't use register_globals and refer to
$_GET['id']
for the page.php?id=1
or if you don't care if it is GET or POST you can use
$_REQUEST['id']

Those will not be cleared by session_start().

To complete: you should use $_SESSION['id'] to get the content of the session.

[#58] jphansen at uga dot edu [2008-02-25 11:12:11]

I just wrote that session_start() will erase your querystring variable(s) once called. I want to clarify that it will only do this if a variable by the same subscript is defined in $_SESSION[].

[#59] jphansen at uga dot edu [2008-02-25 10:55:00]

Warning, calling session_start() will reset your querystring values.

Navigating to page.php?id=1

<?php
echo "id = $id"// 1
session_start();
echo 
"id = $id"// ""
?>

[#60] fixis at nexus dot com [2008-02-16 06:42:17]

I also found using session_write_close(); after you send your custom headers sometimes helps on some servers.  This protects any data from being cleared out by some of these errors mentioned.

[#61] cbake6807 at comcast dot net [2008-02-05 08:20:57]

Having a problem in IE causing your getFile.php script to be pushed to the browser as an empty text file, instead of the intended attachment?

If your php config causes session_start() to output a cookie, or anything funky, IE will not like the filename and will also try and read the file contents inline into the browser window. 

Don't use session_start() or USE Output Buffering after the session is started.

<?php //session_start();

    
function force_download($file)
    {
        if ((isset(
$file))&&(file_exists($file))) {
           
$fileArray explode("/"$file);
           
header("Content-type: application/force-download");
           
header("Content-Disposition: attachment; filename=".$fileArray[sizeof($fileArray)-1]);
           
header("Content-Transfer-Encoding: Binary");
           
header("Content-length: ".filesize($file));
           
header('Content-Type: application/octet-stream');
           
header("Content-Disposition: attachment; filename=".$fileArray[sizeof($fileArray)-1]);
           
readfile("$file");
        } else {
           echo 
"No file selected";
        } 
//end if

    
}//end function

?>

[#62] rudylattae at gmail dot com [2008-01-27 17:58:01]

File Encoding was causing my session_start() statement to generate an unexpected warning.

Environment:
OS: Windows XP Pro (32bit)
PHP: v5.2.5
Apache: v2.0.61

I was having this warning:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at ...

I was rather pissed off because I know of this issue and I know how to fix it:

1) Just make sure the session_start() directive is processed before any other statements that modify the content headers.

2) Failing #1 above, you should also make sure that your script files do not have any beginning/trailing space or carriage return characters.

3) As a last stand, you could use output buffering to hold your stuff in memory and then spit it out at the very end. This would essentially allow you to manipulate the headers to your heart's content without getting any crap from php.

Note: with regards to #2 above, I know some devels use the interesting construct of no closing php braces e.g.:

> info.php
<?php
    phpinfo
();

?>
 (they omit this)

It seems the tag is not required by php (at least php does not puke) so the parser does not treat any trailing spaces as output to be sent to the user agent. I'm not using this loop-hole at the moment.

Anyway the above resolutions *did not* work for me (yer even #3) and I was about to give up and just gag php with good ol "@". 

It was then that I thought to check the encoding of my php file. Turns out I had left my editor in UTF-8 encode mode from some previous (i18n) work I had done. I switched to ANSI and that fixed the problem. Suddenly the same file that had caused php to scream in pain was being processed without any issues. 

I also noted that I could set the editor to "Encode in UTF-8 without BOM" and that also works. The BOM is the byte order mark which php probably glosses over (or does not understand). I didn't look too far into it. 

I hope this helps someone else.

Cheers!

[#63] omnibus at omnibus dot edu dot pl [2008-01-07 03:29:00]

You probably know it but in case somebody did not:
session_start() must be called BEFORE any explicit operations on the $_SESSION variable; otherwise $_SESSION will be treated as an ordinary variable and not stored for future use.

[#64] k dot dafalias at ist dot eduhi dot at [2007-11-14 04:25:31]

If you encounter "The session id contains illegal characters" error, find out, if you get an empty session id.
If so, the problem ist fixed easily:

if(!session_id()) session_regenerate_id();

[#65] ehassler at synapsestudios dot com [2007-09-19 16:32:04]

At work we had an odd warning, "Cannot send session cache limiter - headers already sent". In the following: 

header('meta:1'); 
session_start();

the first header went across fine, but the session_start died with the warning.  

What was happening was that the session contained an object which fired __autoload() when it was unserialized. The __autoload() then included the file with the class definition, but that file also output non-header text.  This caused session_start() to be unable to add the session_id to the headers.

This was difficult to find because we weren't able to see the text that was output from the file that was __autoload()ed, only the warning.

[#66] (zero)luke(zero)(at)gmail(dot)com [2007-07-06 15:55:00]

Regarding the posts discussing ways of checking if a session is active, I've found that this is the best way, aslong as you dont assign any variables to the $_SESSION superglobal before calling the function.

The Function:

<?php

function session_started(){

    if(isset(
$_SESSION)){ return true; }else{ return false; }

}

?>


An Example:

<?php

function session_started(){
    if(isset(
$_SESSION)){ return true; }else{ return false; }
}

//Start the output buffer so we dont create any errors with headers
ob_start(); 

//Check to see if it has been started
if(session_started()){
    echo 
'The session has been started.<br />';
}else{
    echo 
'The session has not been started.<br />';
}

//Start the session
echo 'Starting Session...<br />';
session_start();

//Check again
if(session_started()){
    echo 
'The session has been started.<br />';
}else{
    echo 
'The session has not been started.<br />';
}

//Flush the buffer to screen
ob_end_flush();

?>


Hope this helps some people.

[#67] Steffen dot Pietsch at berlinonline dot de [2007-05-15 03:05:33]

Beware to use $_SESSION as parameter to a function.
(here: php5  5.1.2)

Use:
    $s=array(); foreach($_SESSION as $k => $v) $s[$k]=$v;
    $result = VeranstaltungTermin::search($s, $quellen, $KatCount);

otherwise the garbage-collection of php5 will destroy at end of script Your $_SESSION array before writing to disk

[#68] Chris Brown [2007-04-24 04:17:31]

Here's another session tip for you, relevant to IE6:

If you find that your session is unexpectedly lost when your application opens a page in a pop-up window, try closing down any other copies of IE running on your machine.

The problem is that IE doesn't always use the same IE process to host a new pop-up window - it chooses one (using some mysterious strategy) from the pool of running IE processes! Since session information (cookies) is not preserved across processes, the pop-up may loose the session (and probably redirect the user to your log-in page.)

I don't know a work-around for this, except for close all other IE windows. Microsoft state that they do not guarantee that sessions will be preserved across multiple windows: http://support.microsoft.com/default.aspx/kb/196383

[#69] leandroico---at---gmail---dot---com [2007-03-17 04:21:44]

TAGS: session_start headers output errors include_once require_once php tag new line

Errors with output headers related to *session_start()* being called inside include files.

If you are starting your session inside an include file you must be aware of the presence of undesired characters after php end tag.

Let's take an example:
> page.php
<?php
include_once 'i_have_php_end_tag.inc.php';
include_once 
'init_session.inc.php';

echo 
"Damn! Why I'm having these output header errors?";
?>


> i_have_php_end_tag.inc.php
<?php
$_JUST_A_GLOBAL_VAR 
'Yes, a global var, indeed';
?>


> init_session.inc.php
<?php
session_start
();
$_SESSION['blabla'] = 123;
?>


With all this stuff we will get an error, something like:
"... Cannot send session cache limiter - headers already sent (output started at ...", right?

To solve this problem we have to ignore all output sent by include files. To ensure that we need to use the couple of functions: *ob_start()* and *ob_end_clean()* to suppress the output. So, all we have to do is changing the *page.php* to this:

<?php
ob_start
();
include_once 
'i_have_php_end_tag.inc.php';
include_once 
'init_session.inc.php';
ob_end_clean();

echo 
"Woo hoo! All right! Die you undesired outputs!!!";
?>

[#70] iam1981 [2007-02-26 05:45:45]

I had the same "session data lost" issue. I couldn't solve it with a single session_start(). Instead I had to include session_start() in each page.

Another X File archived...

[#71] design at ericcorriel dot com [2007-02-15 08:08:34]

For those encoding their pages in UTF-8 but running into problems with BOM data (Byte Order Marks) being outputted before anything else - such as $_SESSION data - but wish to use UTF-8 encoding, and who do NOT wish to use UTF-8 No BOM encoding because the latter produces weird results when using foreign language accented characters, try the following :

- Save your document with UTF-8 No BOM encoding (on a mac, using BBEdit, this is normally found on the very bottom left corner of the window).  This will produce a document that will not output BOM data.
- then, in your scripts, include the following:  

header('Content-Type: text/html; charset=UTF-8'); 

before your call to session_start()

hope that helps someone.

[#72] r dot s dot goldsmith at far-blue dot co dot uk [2007-01-24 15:22:41]

If you ever want to know whether a session is open or has already been closed (e.g. with session_write_close()) when you need to open one (in my case, writing a framework and, therefore, not controlling the session directly), I have been unable to find an official check. However, I did notice that session_start() has the following behaviour:

* If the session has been open before but is now closed, when you call session_start() the $_SESSION array is reset to the content of the session.

* If the session is already open, the $_SESSION array is left totally untouched.

Therefore, I came up with the following (obviously assuming you have already tested $_SESSION exists):

<?php
$_SESSION
['testMe']='test';
@
session_start();

if(isset(
$_SESSION['testMe']))
{
    echo 
"Session was open\n";
    unset(
$_SESSION['testMe']);
}
else
    echo 
"Session was closed\n";
?>


Until someone can tell me the 'official' way to do it, this seems to work.

Just to save some confusion, $_SESSION, session_id() and the SID define all maintain their values after a session_write_close() so are of no use in identifying if a session is currently open or not. Hence this trick.

[#73] Devour [2007-01-18 14:51:46]

How many times you've seen this error when actually your code is perfect:

Warning: session_start(): The session id contains invalid characters,
valid characters are only a-z, A-Z and 0-9 in

Usually there are MANY reasons why such an error can appear into your logs, page, etc. (one way to generate it, is to send PHPSESSID='').

But it wasn't our case. We checked everything, and we even logged the entire request ($_GET, $_POST) that was generating the error.
Still no luck. Until one point, when we checked what the session cookie contains.
It seems there are few bots that are trying to buffer overflow (?) a page, using session cookies manually changed to contain something else than session id (strlen == 32 and  hex number) The bot in our case was trying to mass submit spam on pages.
So we needed to check and destroy any session id that do not comply.

After adding this code:
$sn=session_name();
if(isset($_GET[$sn])) if(strlen($_GET[$sn])!=32) unset($_GET[$sn]);
if(isset($_POST[$sn])) if(strlen($_POST[$sn])!=32) unset($_POST[$sn]);
if(isset($_COOKIE[$sn])) if(strlen($_COOKIE[$sn])!=32) unset($_COOKIE[$sn]);
if(isset($PHPSESSID)) if(strlen($PHPSESSID)!=32) unset($PHPSESSID);
session_start();
we got rid of that.

( Note: The code is before session_start() )

Strange, kinda paranoid, but effective.

[#74] cppforlife at yahoo dot com [2006-12-18 10:12:09]

If you are getting headers sent error check what is the encoding of your file. In my case i had utf-8, so i changed it to ansi, and everything worked.

hope it helps!

[#75] mike at mikebird dot co dot uk [2006-12-10 14:34:40]

It seems that the session file is opened exclusively.
On some occasions (Windows) I have found that the file lock is not released properly for whatever reason, therefore causing session_start() to hang infinitely on any future script executions.
My way round this problem was to use session_set_save_handler() and make sure the write function used fopen($file, 'w') instead of fopen($file, 'x')

[#76] evil dot 2000 at web dot de [2006-10-07 16:06:08]

I had a problem accessing a session which is open in another frame at the same time.
I had a frame, which is displaying a live text like a chat. It has an opend and locked session. I tried to add data to this session with another frame, but this wouldn't work.
In the first frame i had a loop which is looking for fresh data in the session and prints it out like this:
<?php
 session_start
();

 [...]

 while (
true) {
  echo 
$_SESSION["input"]."\n";
  
sleep(1);
 }
?>

But this locks the session, and no other frame can access the session data at the same time.
So i modified this loop a bit like this:
<?php
 session_start
();

 [...]

 
session_commit();
 while (
true) {
  
ob_start(); session_start(); ob_end_clean();
  echo 
$_SESSION["input"]."\n";
  
session_commit();
  
sleep(1);
 }
?>

Now the second frame is able to access the session.
The ob_start() and ob_end_clean() is just for surpressing the cookie output to the browser.

[#77] Dino [2006-09-30 06:36:42]

With IE and FF, session_start() appears to stop form values being preserved when the user browses 'back' to a page (I'm using SBS2K3 IIS6 PHP5.1.1).

For example if you set some hidden form values from javascript in one page, then navigate to another page and come back using the browsers back button, the form values should be preserved. But this does not happen when your your form page uses session_start().

The following seems to sort this out nicely:

session_cache_limiter('public');
session_start();

[#78] double at dumpit dot de [2006-09-29 19:35:15]

A bedder way to check wether the session is started including ip logging, so it will be a little saver. in 4 small lines.

<?php

    
if( !isset( $_SESSION ) ) { session_start(); }
    if( isset( 
$_SESSION['REMOTE_ADDR'] ) && $_SESSION['REMOTE_ADDR'] != $_SERVER['REMOTE_ADDR'] ) 
    { 
session_regenerate_id(); $_SESSION['REMOTE_ADDR'] = $_SERVER['REMOTE_ADDR']; }
    if( !isset( 
$_SESSION['REMOTE_ADDR'] ) ) { $_SESSION['REMOTE_ADDR'] = $_SERVER['REMOTE_ADDR']; }
    
?>


Yes, the code is a little bit self-willed ;)

[#79] ben dot morin at spaboom dot com [2006-09-29 09:49:14]

James at skinsupport dot com raises a good point (warning) about additional requests from the browser.  The request for favicon.ico, depending on how it is handled, can have unintended results on your sessions.  

For example, suppose you have ErrorDocument 404 /signin.php, no favicon.ico file and all pages in your site where the user signs in are also redirected to /signin.php if they're not already signed in.  

If signin.php does any clean up or reassigning of session_id (as all good signin.php pages should) then the additional request from the browser for favicon.ico could potentially corrupt the session as set by the actual request.  

Kudos to James for pointing it out and shame on me for skimming past it and not seeing how it applied to my problem.  Thanks too to the Firefox Live HTTP Headers extension for showing the additional request.  

Don't waste days or even hours on this if your session cookies are not being sent or if the session data isn't what you expect it to be.  At a minimum, eliminate this case and see if any additional requests could be at fault.

[#80] truthhunter [2006-09-25 17:57:08]

Another one bitten by the "a different domain name gives you a new session" in IE...

My site uses interactive PDF documents.  A user saves data from them into FDF documents, and when this happens, the site also includes the URL of the PDF in the FDF data (using the FDF "/F" tag).

This URL is generated using the $_SERVER["HTTP_HOST"] value from PHP.  For some as-yet-undetermined reason, when my hosting provider updated PHP (I believe to 4.4.1), for a time the $_SERVER["HTTP_HOST"] value apparently dropped the "www." from my domain name.  So, some FDF files were saved with this different URL value.  Needless to say, when one of these FDFs loaded the corresponding PDF, although the load and display of the PDF worked, any subsequent save operation (which relies on current session information for validating the user, etc.) initiated from within the PDF failed.  The original session had been established for the "www.example.com", but because the PDF URL lacked the "www.", PHP/IE had established a new, essentially empty, session.

I scratched my head over this problem for months and only recently happened upon this fix.  In my case, manually patching the failing (binary) FDF files to include the "www." in the URL for the PDF did fix it.

Hopefully someone else finds this helpful...!

[#81] mjr-php at ranney dot com [2006-09-14 09:55:28]

For some reason, MSIE gets confused when session_start() is called and the Content-disposition has been set to "attachment".  The only solution I've found is this:

<?php
if(strpos($_SERVER['HTTP_USER_AGENT'],"MSIE")) {
  
session_cache_limiter('public');
}
session_start();
?>

[#82] roope dot luhtalaNOSPAM at iki dot fi [2006-09-07 10:36:08]

If your session_start() does not set a cookie, but instead just generates a new session_id on every request, you should check if your script is echoing something before the function call. Even a line change in the code before the session_start() function prevents the cookie to be set.

[#83] colemanc at colemanesolutions dot com [2006-08-28 15:30:27]

In reference to the "Cannot send session cache limiter..." error message, I have tried a number of ways to supress the error. An If/Then block will work only if you store the flag in a session variable, cookie, or other method. Or, you can obviously supress error messages by the error level. However, the simplest way to do it is a simple:

@session_start();

This will hide all error messages resulting from that line of code. I would only recommend this method AFTER you have fully tested your code but it is very effective when that is your only error and you do not want to completely stop code exectution by means of a die() or exit() function.

[#84] core58 at mail dot ru [2006-08-08 06:36:52]

when you're using session trans sid ENABLED, and you perform redirect such as Header( "Location..." ), redirected client will SURELY loose his session.
to avoid this, you can use a modified version of redirect function, like this:

<?php

function Redirect302$location )
{
    
$sname session_name();
    
$sid session_id();
    if( 
strlen$sid ) < )
    {
        
Header$location );
        return;
    }
    
    if( isset( 
$_COOKIE$sname ] ) || strpos$location$sname."=".$sid ) !== false )
    {
        
Header$location );
        return;
    }
    else
    {
        if( 
strpos$location"?" ) > )
            
$separator "&";
        else
            
$separator "?";

        
$fixed $location $separator $sname."=".$sid;
        
Header$fixed );
        return;
    }
}

?>


expamle:
Redirect302( "Location: /YourPage/index.php" );

the function performs common redirect if no session is active, and appends session "name=sid" to query string when session is already started,  like PHP parser does when outputting your page.

hope, you'll find it useful.
yours:)

[#85] devonmitton at gmail dot com [2006-07-26 01:35:49]

I ran into the problem of losing the session after i redirect the user with header( location:);

I found that the problem doesn't occur in php5. Atleast for myself. I tested it on IIS as well as Apache and both times using php5 fixed the issue.

Secondly, I found a weird solution: The website i'm building required Cyrillic type, so i encode the pages using UTF-8. The problem that happens is that UTF-8 sends information before the php tags, and therefore before the session_start(); which ultimately renders the session_start(); call ineffective.

The UTF-8 encoding sends a small chunk of information before anything. This is called BOM (byte order marks).

To ensure that they don't show up, you need to save your files with a UTF-8 encoding which bypasses BOM. BBEdit for the Macintosh with allow for this under the file encoding options.

To recap: In this instance and for my situation, UTF-8, no BOM will allow sessions to pass through the header( location:); redirect, or using PHP5.

Hope this helps someone! [i will also repeat this comment under the header() function]

[#86] James [2006-07-13 16:22:25]

To avoid the notice commited by PHP since 4.3.3 when you start a session twice, check session_id() first:

if (session_id() == "")
  session_start();

[#87] saykyo (mail at gmail dot com) [2006-07-12 08:23:23]

Watch out for using UTF-8 encoding in your php scripts!

I don't know about other enviroments, but in Windows XP, if you edit a document and set it to be UTF-8, the editor (notepad for exapmle) inserts two invisible bytes at the beginning of the file (they read FF FE in hex for me). I suppose this happens so Windows can identify the file as UTF-8.

Since these two bytes are placed before anything else in the file, including  <?php ?>  tags, when you execute the php script, they get outputed to the browser (even tough they won't be shown in the source of the result document, they're there!) before your php code gets a chance to run anything. This effectively cripples functions like session_start() ($_COOKIE to be exact).

The solution is to save the php file in a different encoding, or to manually remove them (I prefer the former).

I hope I helped somebody.

[#88] admin at haravikk dot com [2006-05-10 06:00:00]

Just a note for any of you who have the same trouble as I did. $_SESSION appears to break horribly if you attempt to assign information into integer keys.

For example, a result from a MySQL query may look like:

<?php
array(
    
=> 'haravikk',
    
'username' => 'haravikk',
    
=> 'fish',
    
'password' => 'fish'
    
);
?>


Attempting to assign that to $_SESSION either as a straight array, or by placing all keys (for example using a foreach) will FAIL and the data will be unavailable when you move to another page. My solution was to do this:

<?php
function storeSessionArray($array) {
    foreach(
$array as $k => $v
        if (
is_string($k)) $_SESSION[$k] = $v;
}
?>


This worked correctly =)

[#89] james at skinsupport dot com [2005-12-22 18:17:33]

One thing of note that caused me three days of trouble:

It's important to note that Firefox (for one) makes two calls to the server automatically.  One for the page, and one for favicon.ico.

If you are setting session variables (as I was) to certain values when a page exists, and other values when pages don't exist, the values for non-existent pages will overwrite the values for existing pages if favicon.ico doesn't exist.

I doubt many of you are doing this, but if you are, this is a consideration you need to address or you'll be bald over the course of a three day period!

[#90] zackbloom at gmail dot com [2005-12-03 23:16:22]

Yes php does not automatically insert the SID in header redirects.  You must use something like:
'<address>?SID='.SID
to manually insert the SID.

[#91] jeremygiberson at gmail dot com [2005-10-17 11:13:20]

foltscane at yahoo dot com wrote about people losing session information on page redirects. 

The problem is some times the redirect may kick you off to the next page before all the session variables have been saved. The true solution to lost session vars on redirect is to simply call session_write_close(); before setting the redirect header. This will insure that php finishes writing the session info before page redirect gets underway.

ie:
<?php
    session_start
();
    
$_SESSION['forward'] = "This session data will not be lost!";

    
session_write_close();
    
header('Location: nextpage.php');
?>

[#92] erm[at]the[dash]erm[dot]com [2005-05-27 13:04:42]

If you are insane like me, and want to start a session from the cli so other scripts can access the same information.

I don't know how reliable this is.  The most obvious use I can see is setting pids.

// temp.php

#!/usr/bin/php -q
<?php

session_id 
("temp");
session_start();

if (
$_SESSION) {
    
print_r ($_SESSION);
}

$_SESSION['test'] = "this is a test if sessions are usable inside scripts";

?>


// Temp 2

#!/usr/bin/php -q
<?php

session_id 
("temp");
session_start();

    
print_r ($_SESSION);

?>

[#93] corey at eyewantmedia dot com [2005-05-19 19:19:40]

Here is a crazy feature -- you get one concurrent database connection per session, transparent to the programmer!

I am running php 5.0.4 on iis 6 (yeah, I know...). I noticed under stress testing that database connections were my bottleneck. I spent like 5 hours turning this on, that off, etc because I could not get php to create more than one database connection at a time, regardless of how many requests it was servicing. I tried running php as fastcgi, cgi, and isapi module. I tried using mysql and mysqli extensions. Same thing every time. Then I happened to turn off auto-start sessions and commented out my session_start() calls, and all of the sudden I get multiple connections like I expected!

Don't let this happen to you -- don't freak out! Apparently something somewhere tries to make sure your visitors don't get more than their share of your resources, so they get one db connection per session. I can't say it is what I would like to happen, but now that I know, it doesn't bother me much :) Hope this saves someone some time and headache!

[#94] jorrizza at gmail dot com [2005-04-02 05:33:28]

If you open a popup window (please no commercial ones!) with javascript window.open it might happen IE blocks the session cookie.
A simple fix for that is opening the new window with the session ID in a GET value. Note I don't use SID for this, because it will not allways be available.

----page.php----
//you must have a session active here
window.open('popup.php?sid= <?php echo session_id(); ?> ', '700x500', 'toolbar=no, status=no, scrollbars=yes, location=no, menubar=no, directories=no, width=700, height=500');

----popup.php----
<?php
session_id
(strip_tags($_GET['sid']));
session_start();
//and go on with your session vars
?>

[#95] hbertini at sapo dot pt [2005-03-13 12:29:42]

workaround when using session variables in a .php file referred by a frame (.html, or other file type) at a different server than the one serving the .php:

Under these conditions IE6 or later silently refuses the session cookie that is attempted to create (either implicitly or explicitly by invoquing session_start()).

As a consequence, your session variable will return an empty value.

According to MS kb, the workaround is to add a header that says your remote .php page will not abuse from the fact that permission has been granted.

Place this header on the .php file that will create/update the session variables you want:

<?php header('P3P: CP="CAO PSA OUR"'); ?>

Regards,
Hugo

[#96] raphael at cynage dot com [2005-02-22 08:35:51]

Quick point, since this had been going round in circles for days...

IE will not accept sessions from a domain that has an non alpha-numeric character in it. My development site was running under the vhost mos_dev and it was killing me, trying to work out why IE kept dropping my sessions.

[#97] m dot kuiphuis at hccnet dot nl [2003-06-24 03:37:29]

[Editors Note: For more information about this
http://www.zvon.org/tmRFC/RFC882/Output/chapter5.html ]
 
I use name-based virtual hosting on Linux with Apache and PHP 4.3.2. 
Every time when I refreshed (by pressing F5 in Internet Explorer) I noticed that I got a new session_id. Simultaneously browsing the same site with Netscape didn't give me that problem. First I thought this was some PHP issue (before I tested it with Netscape), but after searching a lot on the internet I found the problem.
Since I was using name based virtual hosting for my testserver and we have different webshops for different customers I used the syntax webshop_customername.servername.nl as the domain-name.
The _ in the domain name seemed to be the problem. Internet Explorer just denies setting the cookie on the client when there is a special character (like an _ ) in the domain name. For more information regarding this issue: http://support.microsoft.com/default.aspx?scid=kb;EN-US;316112 
Stupidly enough, this information was related to asp (yuk :o)

[#98] gadgetguy03 at lycos dot com [2003-06-20 19:18:18]

上一篇:下一篇: