How should PHP learn?
have been doing. Net before
Recently the company's PHP programmer ran away and pulled me to wipe my butt!
The previous understanding of PHP was 0
This week 2 began to contact PHP also made a lot of water stickers!
A few days down feel PHP
It's not as easy as you think.
The variable declarations inside are not used to it.
Like a variable declaration in a.php.
Then b.php quote
Just in B, you use the variable declared in a, if you don't look closely, you don't know where it comes from. Foggy
Why is it such a wonderful way? Can't you declare a global variable?
The most unpleasant thing that's been found right now is a
Have to complain
The programmer didn't leave anything but the source code.
No document database fields have any comments
Oh, it,!!!!!!!!!!!!!!!.
------Solution--------------------
A programmer left a comment: This code only I and God can understand
LZ received a programmer's work, write a note: Now Only God can understand
------Solution--------------------
PHP also used to learn? Although my php sucks, but I use it directly.
------Solution--------------------
discuss
A programmer left a comment: This code only I and God can understand
LZ received a programmer's work, write a note: Now Only God can understand
------Solution--------------------
Find a PHP API to see it again OK.
------Solution--------------------
First look at the grammar, in the example, it is best to try to write some of their own.
If there is a basis, slowly improve the difficulty.
------Solution--------------------
It's harder to read someone's code than to write.
------Solution--------------------
I think PHP's syntax is the easiest to understand
Landlord do not hurry slowly see you will feel
------Solution--------------------
Code or trivial, a few days ago encountered a code, business logic 10 a few 20 ElseIf branches, and then a comment does not, or a package file, used in many places, directly on the dare to change, so the code is written again rotten or to remember to write notes, do yards to speak conscience.
------Solution--------------------
My understanding is to look at other people's code, and then prepare PHP manuals and other pieces of which will not be consulted at any time. Or remove a plus view feature. Start by looking at the videos that others have written
------Solution--------------------
discuss
Code or trivial, a few days ago encountered a code, business logic 10 a few 20 ElseIf branches, and then a comment does not, or a package file, used in many places, directly on the dare to change, so the code is written again rotten or to remember to write notes, do yards to speak conscience.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.