<?php $x = '123456'; $y = intval(substr($x,0,3)); echo $y;
You have javascript disabled. You will not be able to edit any code.