<?php $num = 1234; $first = preg_split("//", $num)[0]; var_dump($first);
You have javascript disabled. You will not be able to edit any code.