<?php $year = 1987; echo (preg_match('/^[0-9]{4}$/', $year)) ? 'yes' : 'no';
You have javascript disabled. You will not be able to edit any code.