Hey, shrimp, you guys, I'm learning PHP recently.
Is it purely a big age?
Or is it similar to the C language?
Or is the code relatively lightweight?
Reply content:
Simple, easy to get started. Tall on the truth I do not understand, I feel the greatest advantage of PHP is the built-in wheel more.
I also wrote JavaScript and C, C + +, the same thing PHP has been written, other languages are still Chi Chi write wheels, or with third-party wheels, these wheels themselves have a variety of problems (compatibility, conflict, upgrade ...) ), it takes a lot of effort on the wheel.
On the contrary, PHP is good, a lot of various models of built-in wheels, there are a lot of although not built-in but can easily expand out of the official wheels. What is there to do, to handle XML, to process JSON, to handle GZ, to handle strings, to handle various hashes, to handle various encoding transformations, to handle various format images, to regular expressions, to send incoming mail, to HTTP requests, to various databases ...
Although PHP from the language level is sprayed to pieces, but a handsome cover hundred ugly, rely on a lot of wheels can quickly meet the needs is a good ability to settle down. A magical language to give full play to the ability of the writer. Like a sword of the Xuan Iron, you strong it stronger. Open source, simple, low cost, high efficiency. Mainly is completely free of charge, of course, there are many so-called advantages and disadvantages, but in fact, if it is not completely free, the world will not have so many people use, although, for the Chinese people this is not a thing, a variety of billing software cracked version abound, but for the global users, or like free and powerful PHP. This is like Rohan boxing, just learn martial arts entry Kung Fu. The more powerful you are, the more power this effort shows. Although it is more prosaic than a straight punch a big difference. Or you can imagine the Game of Warcraft or StarCraft, easy to get started once you play deep and another piece of the world PHP built-in a lot of functions, other languages to find class libraries or functions, PHP is very simple, operation files, such as a code, other languages to write a lot. Simple, easy to get started, free open source, at the same time there are many good open source programs (DZ, Ecshop, WordPress ...) )。 And many people with PHP, a lot of problems on the Internet can find a good solution. Python and Ruby are less popular than PHP. Shoot the yellow film dirty but quick