$vin = '4H27F2G111111';
$part1 = substr($vin,0,1);//returns 4
$part2 = substr($vin,1,1);//returns H
$part3 = substr($vin,2,2);//returns 27
//i think you can figure the rest out.
//after you get each piece. run them through a database to find what they stand for.