script or language ?

Bar discussions . Talk about everything not only php !. Guests are welcome here , forum registration is not required.

Moderators: egami, macek, gesf

Post Reply
cbou
New php-forum User
New php-forum User
Posts: 7
Joined: Thu Feb 18, 2016 6:28 am

Thu Feb 18, 2016 6:39 am

hi :)
what they mean when the say PHP isn't a programming language but a script language ?
I've read something about parser, engine, port (port of PHP for 32-bit Windows is made by Visual C++, for example).. but I couldn't figure it out.

element121
php-forum Fan User
php-forum Fan User
Posts: 606
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Thu Feb 18, 2016 10:04 am

PHP is interpreted at run time versus being compiled as some other languages are.
There are advantages and disadvantages to both as with everything...
You can actually compile PHP into an EXE but that's not what is was designed to do.

cbou
New php-forum User
New php-forum User
Posts: 7
Joined: Thu Feb 18, 2016 6:28 am

Fri Feb 19, 2016 3:35 pm

thanks element but:
wiki wrote:Many languages have been implemented using both compilers and interpreters, including BASIC, C, Lisp, Pascal, and Python. Java and C# are compiled into bytecode, the virtual machine-friendly interpreted language. Lisp implementations can freely mix interpreted and compiled code.
we still call them programming language even when they get interpreted instead of compiled ?

element121
php-forum Fan User
php-forum Fan User
Posts: 606
Joined: Sat Jun 06, 2015 11:46 am
Contact:

Fri Feb 19, 2016 4:20 pm

Yes it's a still a programming language.

johnmacd
New php-forum User
New php-forum User
Posts: 72
Joined: Wed Jun 12, 2013 9:30 pm
Contact:

Mon Apr 11, 2016 5:04 am

Basically php is scripting language that not compiled. But these days it doesn't matter anymore, PHP programmer is probably the more accurate term.

Post Reply