<?php $num = (int)012014; echo substr($num, 0, $num < 0 ? 3 : 2);
You have javascript disabled. You will not be able to edit any code.