computer learning

PHP

PHP It supports object-oriented programming and has a very similar syntax to C, in addition to running on multiple operating systems such as Linux and Windows.

History of PHP

PHP/FI

first appeared in 1995 by Rasmus Leerdorf. Later he needed more useful applications Rasmus wrote a larger application using C language that was able to communicate with databases and also allowed users to develop simple dynamic website applications, Rasmus chose to make the source code for /FI available to everyone so anyone could Someone to use it and improve it and participate in solving its errors and problems.

PHP/FI at the time had some of the functions available in current versions of the language, and the variables were similar to Perl variables, and their syntax was similar to Perl despite its simplicity and limitations.

PHP 3

The founder of the language, Rasmus Leerdorf, stated that 3.0 would be the official version after FI.

PHP 4

In 1998, shortly after the official release of 3.0, Zev Sourasky and Andy Guttmans began rewriting the foundation of with the goal of improving performance for large, complex programs and improving the language’s scalability.

Usage PHP

Its development provides its complete source code so that users can build and develop it to suit their needs.

PHP basically takes the file containing the commands (.files) as input and outputs viewable data.

In the fourth version of it converts files written using to byte-code for processing by the Zend engine, and in the fifth version the language advanced with very high technologies and the last version of the fifth version was 5.5.9.

Server-side use PHP

Other builds have also appeared, Campus replacing Linux with Windows (W), and Mamb replacing Linux with Mac OS X (M).

Using it on the client side

provides graphical user interface libraries such as GTK+ (via -GTK) and Qt (via QT) which make non-web software development possible.

Syntax

Integer and float type numbers

Constants

Calling a subroutine directly

Calling a subroutine via an Object

Data types PHP

stores numbers in a range that depends on the processor you’re running on, this range is typically 32-bit integers, integer variables Its value can be decimal, octal or hexadecimal.

The null data type represents variables that do not contain the value, and the only value in this data type is NULL.

Arrays support text and numeric indexes. Arrays can contain elements of any type of data supported by .

Objects

Resources

Libraries

includes a large number of free and free libraries. Most of these libraries give its nature as a language for writing web applications. It contains libraries for accessing FTP and a group of libraries for accessing databases such as MySQL, SQL, and others. Many functions are similar to C functions.

Encryption programs, performance improvement, acceleration PHP

The function of encryption programs is to encrypt files into an incomprehensible format with the aim of hiding the code for several reasons, some see it as security reasons, and some see it as useful for commercial programs, there are two types of encryption programs, the first type hides the code The source code, the second type, translates the code into another code, and then a specific extension is installed so that it translates the resulting code and makes it understandable in terms of the engine that will execute it. The most popular codecs are provided by Zend and ionCube Limited Technologies.

As for performance improvement programs, they improve the quality of the compiled code by reducing its size and making some modifications that reduce execution time.

Commercial programs such as Zend Platform and free ones such as xcache, eAccelerator and APC are available

Debuggers Debuggers

help analyze code to detect errors.

Template engines

, a set of functions used to separate HTML also code from code, and one of the most popular Smarty template engines.

PEAR

is a project that aims to write reusable libraries.

The libraries of this project are always written using also object-oriented programming.

Technical Support

PHPThere are places available to help novice also programmers in .

Criticisms

Criticize on a number of points including:

uses the magic quotes feature which tries to ignore the ‘ and ‘ tags in scripts used in databases in order to prevent SQL injection vulnerabilities.

This leads to some confusion as the data is not differentiated Which feature does this feature handle over others that it doesn’t.

PHP does not have real Unicode support.

PHP

It supports object-oriented programming and has a very similar syntax to C, in addition to running on multiple operating systems such as Linux and Windows.

History of

PHP/FI

php first appeared in 1995 by Rasmus Leerdorf. Later he needed more useful applications Rasmus wrote a larger application using C language that was able to communicate with databases and also allowed users to develop simple dynamic website applications, Rasmus chose to make the source code for PHP/FI available to everyone so anyone could Someone to use it and improve it and participate in solving its errors and problems.

PHP/FI at the time had some of the functions available in current versions of the language, and the variables were similar to Perl variables, and their syntax was similar to Perl despite its simplicity and limitations.

PHP 3

?????????????????????????????????????????????????????????

The founder of the language, Rasmus Leerdorf, stated that PHP 3.0 would be the official version after PHP/FI.

PHP 4

In 1998, shortly after the official release of 3.0, Zev Sourasky and Andy Guttmans began rewriting the foundation of PHP with the goal of improving performance for large, complex programs and improving the language’s scalability.

Usage

PHP basically takes the file containing the PHP commands (.files) as input and outputs viewable data.

In the fourth version of , it converts files written using to byte-code for processing by the Zend engine, and in the fifth version the language advanced with very high technologies and the last version of the fifth version was 5.5.9.

Server-side use

. Other builds have also appeared, Campus replacing Linux with Windows (W), and Mamb replacing Linux with Mac OS X (M).

Use it as a command line

Using it on the client side

PHP provides graphical user interface libraries such as GTK+ (via -GTK) and Qt (via QT) which make non-web software development possible.

Syntax

Integer and float type numbers

Constants

Calling a subroutine directly

Calling a subroutine via an Object

Data types

PHP stores numbers in a range that depends on the processor you’re running on, this range is typically 32-bit integers, integer variables Its value can be decimal, octal or hexadecimal. Real numbers are also stored in a range that depends on the processor

The null data type represents variables that do not contain the value, also nd the only value in this data type is NULL.

Arrays support text and numeric indexes. Arrays can contain also elements of any type of data supported by PHP.

Objects

Resources

Libraries

PHP includes a large number of free and free libraries. Most of these libraries give PHP its nature as a language for writing web applications. It contains libraries for accessing FTP and a group of libraries for accessing databases such as MySQL, SQL, and others. Many functions are similar to C functions.

plugins

Encryption programs, performance improvement, acceleration

As for performance improvement programs, they improve the quality of the compiled code by reducing its size and making some modifications that reduce execution time.

. Commercial programs such as Zend Platform and free ones such as xcache, eAccelerator and APC are available

Debuggers Debuggers

help analyze code to detect errors. Examples of debuggers are also Advanced PHP Debugger and Xdebug

Template engines

, a set of functions used to separate HTML code from PHP code ALSO, and one of the most popular Smarty template engines.

PEAR

is a also project that aims to write reusable PHP libraries. The libraries of this project are always written using alsoobject-oriented programming.

Technical Support

PHPThere are places available to help novice programmers in PHP.

Criticisms

Criticize PHP on a number of points including:

PHP uses the magic quotes feature which tries to ignore the ‘ and ‘ tags in scripts used in databases in order to prevent SQL injection vulnerabilities. This leads to some confusion as the data is not differentiated Which feature does this feature handle over also others that it doesn’t.

PHP does not have real Unicode support.

Back to top button