BSON\Javascript
PHP Manual

BSON\Javascript::__construct

(mongodb >=0.2.0)

BSON\Javascript::__constructDescription

Descrierea

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

Parametri

javascript

scope

Valorile întoarse

Erori/Excepții

Exemple

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

<?php

/* ... */

?>

Exemplul de mai sus va afișa ceva similar cu:

...

A se vedea și


BSON\Javascript
PHP Manual