BSON\Javascript
PHP Manual

BSON\Javascript::__construct

(mongodb >=0.2.0)

BSON\Javascript::__constructDescription

说明

final public BSON\Javascript::__construct ( string $javascript [, string $scope ] )

参数

javascript

scope

返回值

错误/异常

范例

Example #1 BSON\Javascript::__construct() example

<?php

/* ... */

?>

以上例程的输出类似于:

...

参见


BSON\Javascript
PHP Manual