Generally speaking, I have been exposed to PHP for nearly two months, and I stopped for nearly two months in order to be busy with exam review, internship, etc.
Now I’m picking it up again to learn it, and I feel like I’ve forgotten a lot. Now PHP5.4 has been released, and this version feels more detail-oriented (it feels a bit like talking about a game, and the blogger is also a sucker, haha!).
Although it has been delayed for nearly two months, some basic things have not been forgotten. Generally speaking, I am a basic introduction to PHP (I am considered a rookie, laugh at myself!).
As a rookie, I can only write some rookie-level programs at the beginning.
Recently changed to a win8 system, and the environment uses the Wamp integration package. I feel that IE10 responds very slowly when debugging PHP, and sometimes I have to use compatibility mode to view it.
I don’t know if there is a conflict between Apache and IE10, if the system is win8 and is not compatible with Wamp, or if it would be better to use IIS.
It’s a bit painful to say that debugging a program is slower than surfing the Internet.
I feel like the programmer is just a hard worker, a pure loser, and it makes me cry if I talk about it too much.
Upload a novice-level program written by a novice.
This is the forward multiplication table
<?<span php </span><span for</span>(<span $a</span>=1;<span $a</span><10;<span $a</span>++<span ){ </span><span for</span>(<span $b</span>=1;<span $b</span><<span $a</span>+1;<span $b</span>++<span ){ </span><span $c</span>=<span $a</span>*<span $b</span><span ; </span><span echo</span> "<span $a</span>*<span $b</span>=".<span $c</span>." "<span ; } </span><span echo</span> "<br>"<span ; } </span>?>
This is the retrograde multiplication table
<?<span php </span><span for</span>(<span $a</span>=9;<span $a</span>>0;<span $a</span>--<span ){ </span><span for</span>(<span $b</span>=<span $a</span>;(<span $b</span>>0 && <span $b</span><<span $a</span>+1);<span $b</span>--<span ){ </span><span $c</span>=<span $a</span>*<span $b</span><span ; </span><span echo</span> "<span $a</span>*<span $b</span>=".<span $c</span>." "<span ; } </span><span echo</span> "<br>"<span ; } </span>?>