Foundation study of PHP