|
|||||||||||||||||||||||||||||||
Loving PHP
I was using the search engine (Google) to get if there is someone else loving PHP, yeah, I got it! www.ilovephp.org, there is a guy loving it, too...
Eventually, I see that there are many script kidies loving this code as their favorite in their web development projects.
Are you one of them?
Yes I love php but I don't know if this is the right place to post.... I like the link though.
Yeah..php is so cool! Most of the scripts I use on my site are php coded.
are you the one who wrote .. the iloveyouphp site?
its cool.... love it...
its cool.... love it...
I'm a php lover.. if it was a woman... well lets not go there 
First of all PHP is a scripting language and not a programming language as you don't compile PHP and run it as an application. That aside, I choose to script with PHP because it's well supported, doesn't require you to limit yourself to a single directory, and it has a C like syntax with everything I hated about the language stripped from it. If PHP did programming chances are I'd be a better programmer. Then again I said the same thing about BASIC when I wanted to have a free QBasic-like compiler that works on modern machines. I still can't do crap because I'm still impatient.
| {name here} wrote: |
| First of all PHP is a scripting language and not a programming language as you don't compile PHP and run it as an application. That aside, I choose to script with PHP because it's well supported, doesn't require you to limit yourself to a single directory, and it has a C like syntax with everything I hated about the language stripped from it. If PHP did programming chances are I'd be a better programmer. Then again I said the same thing about BASIC when I wanted to have a free QBasic-like compiler that works on modern machines. I still can't do crap because I'm still impatient. |
PHP is a programming language. Whether you take one of these criteria
| http://en.wikipedia.org/wiki/Programming_language wrote: |
|
* Function: A programming language is a language used to write computer programs, which involve a computer performing some kind of computation[3] or algorithm and possibly control external devices such as printers, robots[4], and so on. * Target: Programming languages differ from natural languages in that natural languages are only used for interaction between people, while programming languages also allow humans to communicate instructions to machines. Some programming languages are used by one device to control another. For example PostScript programs are frequently created by another program to control a computer printer or display. * Constructs: Programming languages may contain constructs for defining and manipulating data structures or controlling the flow of execution. * Expressive power: The theory of computation classifies languages by the computations they can express (see Chomsky hierarchy). All Turing complete languages can implement the same set of algorithms. ANSI/ISO SQL and Charity are examples of languages that are not Turing complete yet often called programming languages. |
or this definition
| http://www.britannica.com/eb/article-9025054/computer-programming-language wrote: |
|
any of various languages for expressing a set of detailed instructions for a digital computer. Such instructions can be executed directly when they are in the computer manufacturer-specific numerical form known as machine language, after a simple substitution process when expressed in a corresponding assembly language, or after translation from some “higher-level… |
PHP qualifies as a proper programming language. If you only called languages which are compiled to standalone applications proper programming languages then Java, C#, Basic, VB.Net, Javascript etc. wouldn't be programming languages either. And consider languages like Pascal, Perl or Ruby which can both be compiled or interpreted; what would be their 'language status'?
Although PHP is a proper and powerfull programming language it is a crappy one. It is badly designed and misses a lot of features. It was inspired by Perl but all the good things of Perl are thrown away and some bad new things are put back in.
Some problems with PHP are:
* Lack of namespaces
* Language behaviour is changed by configuration settings (gpc_magic_quotes, register_globals, etc.)
* It is bloated
* Function naming is inconsistent
* It doesn't have a native regular expression type
* It doesn't have support for tainted data, although this is a notion which plays an important role when developing webapplications
* Not all functions are Unicode compatible
* Functions are not first-class objects
* It has separate functions for case insensitive operations
* No lexical scope
* No closures or anonymous functions
* No support for modules
* No real references
* From the start it has been ridden with security issues
* It encourages people to write unsafe code ("Please can you turn on register_globals because my script doesn't work without it")
* It makes it easy for beginners to shoot themselves in the foot ("My script doesn't work. It doesn't display an error message.", when using error_reporting(0); )
Voted :- I Love PHP!

| Quote: |
| PHP qualifies as a proper programming language. If you only called languages which are compiled to standalone applications proper programming languages then Java, C#, Basic, VB.Net, Javascript etc. wouldn't be programming languages either. And consider languages like Pascal, Perl or Ruby which can both be compiled or interpreted; what would be their 'language status'? |
BASIC is a programming language. It is compilable into native machine code in addition to being able to be interpereted. I've worked with BASIC for several years now; I've compiled and ran many an application created with BASIC - QuickBASIC or FreeBASIC mainly (In fact, FreeBASIC doesn't even have an interpereter). PHP is not capable of this, so it is at most a scripting langauge, like Javascript, though PHP is a server-side and Javascript is a client-side. Javascript itself is completely a scripting language - it's utterly useless without a web browser of some sort to interperet it.
This is how I define it.
http://en.wikipedia.org/wiki/Scripting_language
| Quote: |
|
Scripting languages (commonly called scripting programming languages or script languages) are computer programming languages that are typically interpreted and can be typed directly from a keyboard. Thus, scripts are often distinguished from programs, because programs are converted permanently into binary executable files (i.e., zeros and ones) before they are run. Scripts remain in their original form and are interpreted command-by-command each time they are run.[1][2] Scripts were created to shorten the traditional edit-compile-link-run process. The name 'script' is derived from the written script of the performing arts, in which dialogue is set down to be interpreted by actors and actresses--the programs. Early script languages were often called batch languages or job control languages. Scripting languages can also be compiled, but because interpreters are simpler to write than compilers, they are interpreted more often than they are compiled. |
Since PHP is a language which is interpereted rather than compiled, it is best described as a scripting language and not a programming language.
| {name here} wrote: |
|
Since PHP is a language which is interpereted rather than compiled, it is best described as a scripting language and not a programming language. |
I can agree with that (although I personally think the dividing line between scripting and non-scripting languages is blurry), but you can't say language x is a scripting language, thus not a (proper) programming language..
| Quote: |
| (Harry Potter) Drank by werewolfs near the full-moon.
This name should leap out, to one of you! |
php is everything that i would want in a web programming language.

PHP is a good programming language....
It isn't a real one though (not even for Webscript programming. There we go the camel way (Perl)).
And Python is a better than good programming language for the webb)
It isn't a real one though (not even for Webscript programming. There we go the camel way (Perl)).
And Python is a better than good programming language for the webb)
I learnt PHP all by my self just by using tutorials. Its so easy to use and have soo much resources around net about it. its easy to use and fast too. most open source web scripts are done in PHP so its a great help knowing PHP
