zoukankan      html  css  js  c++  java
  • PHP函数索引E

    each()

         返回数组中当前的键/单元值并将指针下移一个
    easter_date()
         得到指定年份的复活节午夜时的Unix时间戳
         [Attention] 1970-2037
    easter_days()
         得到指定年份的3月21日到复活节之间的天数
    echo()
         输出一个或者多个字串
    empty()
         检查一个变量是否为空

    Eio函数,本函数提供异步 POSIX I/O 接口
    [win] 本函数在win平台不可用
    eio_busy — Artificially increase load. Could be useful in tests, benchmarking.
    eio_cancel — Cancels a request
    eio_chmod — Change file/direcrory permissions.
    eio_chown — Change file/direcrory permissions.
    eio_close — Close file
    eio_custom — Execute custom request like any other eio_* call.
    eio_dup2 — Duplicate a file descriptor
    eio_event_loop — Polls libeio until all requests proceeded
    eio_fallocate — Allows the caller to directly manipulate the allocated disk space for a file
    eio_fchmod — Change file permissions.
    eio_fchown — Change file ownership
    eio_fdatasync — Synchronize a file's in-core state with storage device.
    eio_fstat — Get file status
    eio_fstatvfs — Get file system statistics
    eio_fsync — Synchronize a file's in-core state with storage device
    eio_ftruncate — Truncate a file
    eio_futime — Change file last access and modification times
    eio_get_event_stream — Get stream representing a variable used in internal communications with libeio.
    eio_grp_add — Adds a request to the request group.
    eio_grp_cancel — Cancels a request group
    eio_grp_limit — Set group limit
    eio_grp — Createsa request group.
    eio_link — Create a hardlink for file
    eio_lstat — Get file status
    eio_mkdir — Create directory
    eio_mknod — Create a special or ordinary file.
    eio_nop — Does nothing, except go through the whole request cycle.
    eio_npending — Returns number of finished, but unhandled requests
    eio_nready — Returns number of not-yet handled requests
    eio_nreqs — Returns number of requests to be processed
    eio_nthreads — Returns number of threads currently in use
    eio_open — Opens a file
    eio_poll — Can be to be called whenever there are pending requests that need finishing.
    eio_read — Read from a file descriptor at given offset.
    eio_readahead — Perform file readahead into page cache
    eio_readdir — Reads through a whole directory
    eio_readlink — Read value of a symbolic link.
    eio_realpath — Get the canonicalized absolute pathname.
    eio_rename — Change the name or location of a file.
    eio_rmdir — Remove a directory
    eio_sendfile — Transfer data between file descriptors
    eio_set_max_idle — Set maximum number of idle threads.
    eio_set_max_parallel — Set maximum parallel threads
    eio_set_max_poll_reqs — Set maximum number of requests processed in a poll.
    eio_set_max_poll_time — Set maximum poll time
    eio_set_min_parallel — Set minimum parallel thread number
    eio_stat — Get file status
    eio_statvfs — Get file system statistics
    eio_symlink — Create a symbolic link
    eio_sync_file_range — Sync a file segment with disk
    eio_sync — Commit buffer cache to disk
    eio_syncfs — Calls Linux' syncfs syscall, if available
    eio_truncate — Truncate a file
    eio_unlink — Delete a name and possibly the file it refers to
    eio_utime — Change file last access and modification times.
    eio_write — Write to file

    迭代器
    EmptyIterator::current()
         本函数不工作?
    EmptyIterator::key()
         本函数不工作?
    EmptyIterator::next()
         本函数不工作?
    EmptyIterator::rewind()
         本函数不工作?
    EmptyIterator::valid()
         本函数不工作?

    enchant拼写函数库是和PHP绑定的Enchant库,Enchant是个顶级的拼写库,但是对中文没有任何用处
    本函数中有两种资源,一种理解成代理(broker)另一种是字典库(dictionary)
    [Attention] 在加载本库的同事需要加载glib库
    [5.3]本版中默认绑定了本库,低于5.3的版本需要自己编译二进制的库
    enchant_broker_describe()
         枚举Enchant提供者的名称和基本信息,同样的信息也在phpinfo函数中出现
    enchant_broker_dict_exists()
         使用一个非空标签来检测一个字典是否存在
    enchant_broker_free()
         释放词典资源操控者和字库
    enchant_broker_free_dict()
         释放字库
    enchant_broker_get_error()
         返回词典代理的最后一次错误
    enchant_broker_init()
         创建一个具有访问能力的新的词典控制
    enchant_broker_list_dicts()
         返回一系列的可用的词典
    enchant_broker_request_dict()
         使用一个标签和词库控制来建立一个新的词库资源
    enchant_broker_request_pwl_dict()
         通过pwl文件来建立一个词库
    enchant_broker_set_ordering()
         声明语言的偏好词典
    enchant_dict_add_to_personal()
         添加一个词到个人词典
    enchant_dict_add_to_session()
         添加一个词到指定的词典,他将添加到活动的字符检测session
    enchant_dict_check()
         检测一个词拼写是否正确
    enchant_dict_describe()
         返回一个词典的详细信息
    enchant_dict_get_error()
         返回session拼写的最后一个错误
    enchant_dict_is_in_session()
         检测词语是否在session拼写中
    enchant_dict_quick_check()
         检测单次是否被正确拼写然后提供相关的建议
    enchant_dict_store_replacement()
         添加一个词的校正,添加的校正的词可能会出现在建议列表的前端
    enchant_dict_suggest()
         根据词典和单词来提供建议

    end()
         将书序的内部指针指向最后一个单元并返回其值

    [Attention]正则表达式匹配,建议使用Perl的正则表达式是最快的替代方案
    ereg()
    ereg_replace()
    eregi()
    eregi_replace()

    error_get_last()
         以数组形式返回最近的一次错误信息
    error_log()
         发送错误消息到服务器指定的地址
    error_reporting()
         设置PHP错误的报道形式

    escapeshellarg()
         转义命令行参数,使用单引号包裹整个参数,并且转义参数中的单引号
    escapeshellcmd()
         转义shell中的元字符
         #&;`|*?~<>^()[]{}$\, \x0A and \xFF
    eval()
         执行给定字串中的代码

    Libevent提供了一个机制当一个指定的事件发生在一个文件标示符或者在时间到期之后来执行回调函数
    [info]http://www.monkey.org/~provos/libevent/
    [PECL libevent >= 0.0.1]
    event_base_free()
         释放资源,这不能摧毁绑定事件
    event_base_loop()
         处理事件,根据指定的base来处理事件循环
    event_base_loopbreak()
         立即取消事件循环,行为和break语句相同
    event_base_loopexit()
         在指定时间后退出循环
    event_base_new()
         创建并且初始事件
    event_base_priority_init()
         设置事件优先级
    event_base_set()
         关联事件到事件base
    event_buffer_base_set()
         关联缓存的事件到event_base
    event_buffer_disable()
         禁用一个缓存的事件
    event_buffer_enable()
         启用一个指定的缓存的事件
    event_buffer_fd_set()
         改变一个缓存的文件系统描述
    event_buffer_free()
         释放缓存事件
    event_buffer_new()
         建立一个新的缓存事件
    event_buffer_priority_set()
         缓存事件优先级设定
    event_buffer_read()
         读取缓存事件中的数据
    event_buffer_set_callback()
         给缓存的事件设置或者重置回调函数
    event_buffer_timeout_set()
         给一个缓存的事件设置超时的读写时间
    event_buffer_watermark_set()
         设置读写事件的水印标记
    event_buffer_write()
         像缓存事件写入数据
    event_add()
         像指定的设置中添加一个执行事件
    event_del()
         从设置的事件中移除事件
    event_free()
         清空事件句柄
    event_new()
         创建一个新的事件
    event_set()
         准备想要在event_add中添加的事件

    本 Exception 类 是所有异常的基类
    Exception::__construct()
         异常构造函数
    Exception::getMessage()
         获取异常消息内容
    Exception::getPrevious()
         返回异常链中的前一个异常
    Exception::getCode()
         获取异常代码
    Exception::getFile()
         获取发生异常的程序文件名称
    Exception::getLine()
         获取发生异常的代码在文件中的行号
    Exception::getTrace()
         以数组形式获取异常追踪信息
    Exception::getTraceAsString()
         获取字符串类型的异常追踪信息
    Exception::__toString()
         将异常对象转换为字符串
    Exception::__clone()
         异常克隆

    ErrorException 继承了 Exception 类
    ErrorException::getSeverity()
         返回此异常的严重性

    exec()
         执行外部命令

    图像元数据访问扩展lib
    [lib]
    [more]windows下启用本函数必须同时启用mbstring扩展,并且将mbstring扩展加载顺序移动到exif之前
    exif_imagetype()
         判断一个图像的类型
    exif_read_data()
         从 JPEG 或 TIFF文件中读取 EXIF 头信息 
    exif_tagname()
         从索引中获取头部名称
    exif_thumbnail()
         去的嵌入在tiff或者jpeg图像中的缩略图
    exit()
         [alias] die()
    exp()
         返回ed的arg次方

      



    这个扩展通过pty和进程交互,
    expect_expectl()
         等待,直到程序匹配一个格式或者指定的时间过去了,或者是到达文件的末尾
    expect_popen()
         通过 Bourne shell 执行命令,并且打开到进程的Pty流
    explode()
         分割字符串

    expm1()
         [实验]返回 exp(number) - 1,甚至当 number 的值接近零也能计算出准确结果 
    extension_loaded()
         检测一个扩展是否被加载
    extract()
         将变量导入到当前的符号列表
    ezmlm_hash()
         计算 EZMLM 所需的散列值
         计算用于在 MySQL 数据库中保存 EZMLM 邮件列表的散列值
  • 相关阅读:
    洛谷P2505||bzoj2750 [HAOI2012]道路 && zkw线段树
    洛谷 P3462 [POI2007]ODW-Weights
    Xor-MST Codeforces
    101 to 010 Atcoder CODE FESTIVAL 2017 qual B D
    bzoj2125 最短路
    洛谷P1823 [COI2007] Patrik 音乐会的等待
    洛谷 P1121 环状最大两段子段和
    noip2017 逛公园
    洛谷 P1578 奶牛浴场
    洛谷 P1169||bzoj1057 [ZJOI2007]棋盘制作
  • 原文地址:https://www.cnblogs.com/imvkmark/p/2296281.html
Copyright © 2011-2022 走看看