8 lines
162 B
PHP
8 lines
162 B
PHP
<?php
|
|
$q = new Doctrine_Query();
|
|
|
|
$q->from('User')->where('User.Phonenumber.phonenumber.regexp(?,?)');
|
|
|
|
$users = $q->execute(array('[123]', '^[3-5]'));
|
|
?>
|