prototype 1 in php