V8js/setup-Phpdoc专题
安装/配置
目录
需求
PHP 5.3.3+ and V8 library and headers installed in proper paths.
安装
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/v8js
运行时配置
这些函数的行为受 php.ini 中的设置影响。
| 名字 | 默认 | 可修改范围 | 更新日志 |
|---|---|---|---|
| v8js.max_disposed_contexts | 25 | PHP_INI_ALL | |
| v8js.flags | PHP_INI_ALL |
这是配置指令的简短说明。
v8js.max_disposed_contexts int
Sets limit for disposed contexts before forcing V8 to do garbage
collection.
v8js.flags string
Sets V8 command line flags. The list of available flags can be obtained
in CLI mode by setting this parameter to --help. Example:
$ php -r 'ini_set("v8js.flags", "--help"); new V8Js;' | less
Note:
For these flags to be effective in runtime the ini_set() call has to be done before any V8Js objects are instantiated!
资源类型
此扩展没有定义资源类型。