1
0
mirror of synced 2024-12-14 15:16:04 +03:00
doctrine2/manual/codes/DQL (Doctrine Query Language) - Functions - Regexp.php
2006-09-16 17:52:58 +00:00

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]'));
?>