dkanavis

Untitled

Nov 14th, 2015
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.11 KB | None | 0 0
  1. if ($a == 1) {
  2. ...
  3. } elseif(preg_match('/(\d).(\d)/',$a, $matches)) {
  4. ... here we use $matches
  5. } else {
  6. ...
  7. }
Advertisement
Add Comment
Please, Sign In to add comment