If you are looking for PHP exercises, try this:
http://phpexercises.com/
We've just published the site, with 26 exercises. It's for beginner to intermediate, starting with the very simplest scripts and concepts. The exercises cover variables, control structures, forms, arrays and functions among other things. You start with the problem, then click a button to see the answer script code. There's a link on the answer page to the output of the answer script. Come give it a try, let us know if the instructions are clear.