(PECL mongo >= 0.8.1)
MongoRegex::__toString — ������ʽ���ַ��������ʽ
This extension that defines this method is deprecated. Instead, the MongoDB extension should be used. Alternatives to this method include:
���ظ�������ʽ���ַ�����ʾ��ʽ��
�˺���û�в�����
�� "/expr/flags" ��ʽ��������ʽ��
Example #1 MongoRegex::__toString() ����
<?php
$r = new MongoRegex( "/[a-fA-F0-9]{16}/g" );
echo $r->regex . "\n";
echo $r->flags . "\n";
echo "$r\n";
?>
�������̵���������ڣ�
[a-fA-F0-9]{16} g /[a-fA-F0-9]{16}/g