(PECL mongo >= 0.8.3)
MongoCode::__toString — ���ش�����ַ�����ʽ
This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. There is no equivalent for this method in the new extension.
�˺���û�в�����
�ô��룬���᷵��������
Example #1 MongoCode::__toString() ����
<?php
$code = new MongoCode('return x;', array("x"=>"hi"));
echo "$code\n";
$code = new MongoCode('function() { for(i=0;i<10;i++) { db.foo.update({x:i}, {x:i+1}); } }');
echo "$code\n";
?>
�������̵���������ڣ�
return x; function() { for(i=0;i<10;i++) { db.foo.update({x:i}, {x:i+1}); } }