+ All Categories
Home > Documents > PHPnu e php

PHPnu e php

Date post: 03-Jun-2018
Category:
Upload: simene-robert
View: 242 times
Download: 0 times
Share this document with a friend

of 21

Transcript
  • 8/12/2019 PHPnu e php

    1/21

    ntnscriere. n moment ce agenia colabora cu mai multe firme- companii din Italia,gsea locuri de munca sau studiipentru ceteni straini(n acest caz ceteni romni.) Prin contractul de colaborare ntre firme i agenie se intocmeaucontracte de munca ( la consulatul din Bucuresti), se efectuau legalizri ale actelor necesare pentru viza de munca saustudiii i se asigura transportul.Una din cauzele principale ale migraiei ilegale peste hotare, preponderent a forei de munca din Romnia soldat nmajoritatea cazurilor cu consecinte grave) trafic de fiine umane, n mod special de femei,decese,munca la negru,destramarea multor familii, copii orfani etc.) rezida n lipsa accesului la informaii veridice despre modalitaile de

    angajare legal n straintate.Astfel , n 2002 au fost aprobai agenii economici titulari ai licenelor pentru activitatea legal de plasare n cmpulmuncii al lucratorilor emigrani n alte state, n urma careia a aprut Agenia Cronos .Studiul i La realizarea acestui proiect se vor folosi metode de proiectarea a sistemelor informatice, programarea nPHP i MySQL a aplicaiei.Capitolul 1

    Studiul , analiza i prezentarea sistemului actual Rolul i poziia ageniei n sistemul economico- social naional i n ramura de activitateAgenia CRONOS este o firma cu sediul n Bucureti, Romnia i a fost nfiinat n anul 2004 de ctre un ceteanromn. Ea a aprut datorit faptului ca s-a nregistrat un numr mare de persoane plecate ilegal la munc n Italia dinRomnia. Prin intermediul acestei agenii omerii, dorind angajarea la munca peste hotare, se nregistrau n baza dedate a ageniei , cu toate datele personale(nume,vrsta,specialitate,diplom de studii , etc.) ndeplinind formularul de UPS

    Pota, Fax sau Internet

    Reprezentantul, nregistreaz n baza de date omeri, specialiti, persoane ce doresc s se angajeze la munca pestehotare, conform cererii . Sptmnal, sunt trimise rapoarte prin aceleai mijloace sediului central .Vicedirectorul analizeaz cererea i oferta de muca si trimite Directorului central propuneri si sugestii. Acesta din urmanalizeaz, accepta, aproba sau respinge propunerea. Propunerea acceptat este trimisa Directorului Adjunct . Acestanumete agentul care trebuie s ntocmeasc actele cu firma, compania care cere brae de munca. n acelai timpreprezentana caut persoanele solicitate.Urmeaz eliberarea Contractelor de Munc i al Vizelor cu ajutorul consultanilor reprezentani . Dup ridicarea vizelorare loc plecarea angajailor la locul de munc organizat de catre agentul reprezentant. Dupa expirarea termenului demunca sunt obligai s se intoarc n ar.

    analiza sitemului existent al Ageniei CronosAgenia Cronos , este o agenie care are sediul central n Bucuresti1.2.1 Caracteristici generale ale sistemului

    Agenia Cronos caut firme, organizaii, companii care ofera locuri de munca pentru strini. ntocmete contracte decolaborare cu acestea, primesc informaii sptmnal de cereri i respectiv, n urma analizei , datele, informaiile setrimit reprezentanilor din Romnia prin :Pot diplomaticDHLTNTroducere

    Proiectul cu Tema : Realizarea unei pagin web interactive la firma Agenia Cronos utliznd PHP si MySQL a fostrealizat n urma analizei asupra sistemului de activitate al unei firme care are nevoie de o paginta web pe internet.Scopul acestei lucrari este analiza sistemului existent, analiza ageniei din punct de vedere economic, construirea

    arhitecturii noului sitem si proiectarea logic i fizic a componentelor lui. Astfel se va obine proiectarea sistemuluiinformatic n condiiile abordrii structurate a noului sitem. Pe baza proiectului se va realiza o aplicaie utiliznd PHP i MySQL.

    Pe aceast pagina se vor gasi toate informaiile despre firm si baza de date a candidailor (pentru angajarea saustudiul peste hotare) i companiilor (care ofera locuri de munca sau de studii), ct i date adiministrative ale firmei. Prin realizarea acestei aplicaii membrii ageniei vor avea acces la bazele de date de pe internet, vor puteamodifica(aduga sau terge) datele prin introducerea numelui de utilizator i parola.n urma analizei sistemului vor fi evideniate puctele slabe si cele forte ale firmei , se va propune o noua soluieinformatica pentru mbunatirea , rezolvarea problemelor de transfer de date, ct si securizarea lor din cadrulageniei.

  • 8/12/2019 PHPnu e php

    2/21

    Incearca pe www.documentareonline.comDocumentareonline.com are ca principal obiect de activitate oferirea de consultanta sibibliografie pentru realizarea diferitelor proiecte stiintifice. Documentareonline.comdispune de cea mai mare arhiva cu disertatii din Romania, oferind o mare parte din

    resursele necesare in procesul de documentare si aprofundare a cunostintelor, cuprecadere in vederea sustinerii examenului de licenta. Toate disertatiile sunt binedocumentate,

    During the years before the release of PHP 5.3 and 5.4, some books were published based on

    the expected feature set of PHP 6.0, including both the Unicode work and the features which

    were later backported to other releases. There is therefore some debate over whether a new

    major version of PHP, with or without Unicode support, should be called "PHP 6", or if the version

    should be skipped to avoid confusion.

    Release history[edit]

    Key

    Color Meaning Development

    Red Old release No development

    Yellow Stable release Security fixes

    Green Stable release Bug and security fixes

    Blue Future release New features

    Ver

    sio

    n

    Release

    date

    Support

    ed

    until[37]

    Notes

    1.0

    8 June 1995beneficiazade otehnoredac

    tareimpecabila,

    Officially called "Personal Home Page Tools (PHP Tools)". This is the

    first use of the name "PHP".[6]

    http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3
  • 8/12/2019 PHPnu e php

    3/21

    folosescdiacritice,au note desubsol,tabele,graficeanexe sistudii decaz.

    eased.[19][20]

    On July 13,

    2004, PHP

    5 was

    released,

    powered by

    the new

    Zend

    Engine

    II.[6]

    PHP 5

    included

    new

    features

    such as

    improvedsupport

    forobject-

    oriented

    programmin

    g,the PHP

    Data

    Objects

    (PDO)

    extension(which

    defines a

    lightweight

    and

    consistent

    interface for

    accessing

    databases),

    and

    numerous

    http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19
  • 8/12/2019 PHPnu e php

    4/21

    performanc

    e

    enhanceme

    nts.[21]

    In

    2008 PHP 5

    became the

    only stable

    version

    under

    developmen

    t.Late static

    bindinghad

    been

    missing

    from PHP

    and was

    added in

    version

    5.3.[22][23]

    Many high-

    profile

    open-source

    projects

    ceased to

    support

    PHP 4 in

    new code

    as of

    February 5,

    2008,

    because of

    the

    GoPHP5

    initiative,[24]

    provided by

    a

    consortium

    of PHP

    developers

    http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/PHP#cite_note-21
  • 8/12/2019 PHPnu e php

    5/21

    promoting

    the

    transition

    from PHP 4

    to PHP

    5.[25][26]

    PHP

    interpreters

    are

    available on

    most

    existing32-

    bitand64-bitoperating

    systems,

    either by

    building

    them from

    the PHP

    source

    code, or by

    using pre-built

    binaries.[27]

    For the PHP

    versions 5.3

    and 5.4, the

    only

    availableMi

    crosoft

    Windowsbi

    nary

    distributions

    were 32-

    bitx86build

    s,[28][29]

    requi

    ring

    Windows

    32-bit

    compatibility

    http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25
  • 8/12/2019 PHPnu e php

    6/21

    mode while

    usingIntern

    et

    Information

    Services(II

    S) on a 64-

    bit Windows

    platform.

    PHP

    version 5.5

    made the

    64-bitx86-

    64builds

    available for

    Microsoft

    Windows.[30]

    PHP 6andUnicode[edit]

    PHP

    receivedmixed

    reviews due

    to lacking

    nativeUnico

    desupport

    at the core

    language

    level.[31][32]

    I

    n 2005, a

    project

    headed by

    Andrei

    Zmievski

    was initiated

    to bring

    native

    Unicode

    support

    http://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Services
  • 8/12/2019 PHPnu e php

    7/21

    throughout

    PHP, by

    embedding

    theInternati

    onal

    Component

    s for

    Unicode(IC

    U) library,

    and

    representin

    g text

    strings

    asUTF-

    16internally

    .[33]

    Since

    this would

    cause major

    changes

    both to the

    internals of

    the

    language

    and to user

    code, it was

    planned to

    release this

    as version

    6.0 of the

    language,

    along withother major

    features

    then in

    developmen

    t.[34]

    However, a

    shortage of

    developers

    who

    http://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicode
  • 8/12/2019 PHPnu e php

    8/21

    understood

    the

    necessary

    changes,

    and

    performanc

    e problems

    arising from

    conversion

    to and from

    UTF-16,

    which is

    rarely used

    in a web

    context, led

    to delays in

    the

    project.[35]

    A

    s a result, a

    PHP 5.3

    release was

    created in

    2009, with

    many non-

    Unicode

    features

    back-ported

    from PHP 6,

    notably

    namespace

    s. In March2010, the

    project in its

    current form

    was

    officially

    abandoned,

    and a

    PHP 5.4

    release wasprepared

    http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35
  • 8/12/2019 PHPnu e php

    9/21

    containing

    most

    remaining

    non-

    Unicode

    features

    from PHP 6,

    such as

    traits and

    closure re-

    binding.[36]

    I

    nitial hopes

    were that a

    new plan

    would be

    formed for

    Unicode

    integration,

    but as of

    2014 none

    has been

    adopted.

    2.01 November

    1997

    3.0 6 June 1998

    20

    October

    200

    0

    Development moves from one person to multiple developers. Zeev

    Suraski and Andi Gutmans rewrite the base for this version.[6]

    4.022 May

    2000

    23

    Janu

    ary

    200

    Added more advanced two-stage parse/execute tag-parsing system

    called the Zend engine.[38]

    http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-36
  • 8/12/2019 PHPnu e php

    10/21

    1

    4.110December

    2001

    12

    March

    200

    2

    Introduced 'superglobals' ($_GET, $_POST, $_SESSION, etc.)[38]

    4.222 April

    2002

    6

    Sept

    emb

    er200

    2

    Disabled register_globalsby default. Data received over the network

    is not inserted directly into theglobalnamespace anymore, closing

    possible security holes in applications.[38]

    4.3

    27

    December

    2002

    31

    Mar

    ch

    200

    5

    Introduced thecommand-line interface(CLI), to supplement the

    CGI.[38][39]

    4.411 July

    2005

    7

    Aug

    ust

    200

    8

    Fixed a memory corruption bug, which required breaking binary

    compatibility with extensions compiled against PHP version 4.3.x.[40]

    5.013 July

    2004

    5

    Sept

    emb

    er

    200

    5

    Zend Engine II with a new object model.[41]

    5.1 24

    November

    24

    Aug

    Performance improvements with introduction of compiler variables in re-

    engineered PHP Engine.[41]Added PHP Data Objects (PDO) as a

    http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38
  • 8/12/2019 PHPnu e php

    11/21

    2005 ust

    200

    6

    consistent interface for accessing databases.[42]

    5.22 November

    2006

    6

    Janu

    ary

    201

    1

    Enabled the filter extension by default. NativeJSONsupport.[41]

    5.330 June

    2009

    July

    201

    4[43]

    Namespacesupport;late static bindings,Jump label (limitedgoto),

    Nativeclosures,Native PHP archives (phar),garbage collectionforcircular references, improvedWindowssupport, sqlite3, mysqlnd as a

    replacement for libmysql as underlying library for the extensions that

    work withMySQL,fileinfo as a replacement for mime_magic for

    betterMIMEsupport, the Internationalization extension, and deprecation

    of ereg extension.

    5.41 March

    2012

    1

    March

    201

    5[44]

    Traitsupport, short array syntax support. Removed

    items: register_globals, safe_mode, allow_call_time_pass_reference,session_register() , session_unregister()and session

    _is_registered(). Built-in web server.[45]

    Several improvements to

    existing features, performance and reduced memory requirements.

    5.520 June

    2013

    20

    June

    201

    6

    [44]

    Support forgenerators,finallyblocks for exceptions handling,

    OpCache (based on Zend Optimizer+) bundled in official distribution.[46]

    5.6 No date set

    3

    year

    s

    after

    rele

    ase[4

    4]

    Constant scalar expressions,variadic functions,argument unpacking,

    new exponentiation operator, extensions of the useoperator,

    new phpdbgdebugger as a SAPI module, and other smaller

    improvements.[47]

    http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42
  • 8/12/2019 PHPnu e php

    12/21

    Beginning on June 28, 2011, the PHP Group began following a timeline for when new versions of

    PHP will be released.[44]

    Under this timeline, at least one release should occur every month. Once

    per year, a minor release should occur which can include new features. Every minor release

    should at least have 2 years of security and bug fixes, followed by at least 1 year of only security

    fixes, for a total of a 3 year release process for every minor release. No new features (unless

    small and self-contained) will be introduced into a minor release during the 3-year release

    process.

    Syntax[edit]

    Main article:PHP syntax and semantics

    eased.[19][20]

    On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II.[6]

    PHP 5 included

    new features such as improved support forobject-oriented programming,the PHP Data Objects

    (PDO) extension (which defines a lightweight and consistent interface for accessing databases),

    and numerous performance enhancements.[21]

    In 2008 PHP 5 became the only stable version

    under development.Late static bindinghad been missing from PHP and was added in version

    5.3.[22][23]

    Many high-profile open-source projects ceased to support PHP 4 in new code as of February 5,

    2008, because of the GoPHP5 initiative,[24]

    provided by a consortium of PHP developers

    promoting the transition from PHP 4 to PHP 5.[25][26]

    PHP interpreters are available on most existing32-bitand64-bitoperating systems, either by

    building them from the PHP source code, or by using pre-built binaries.[27]

    For the PHP versions

    5.3 and 5.4, the only availableMicrosoft Windowsbinary distributions were 32-

    bitx86builds,[28][29]

    requiring Windows 32-bit compatibility mode while usingInternet Information

    Services(IIS) on a 64-bit Windows platform. PHP version 5.5 made the 64-bitx86-64builds

    available for Microsoft Windows.[30]

    PHP 6 and Unicode[edit]

    PHP received mixed reviews due to lacking nativeUnicodesupport at the core language

    level.[31][32]

    In 2005, a project headed by Andrei Zmievski was initiated to bring native Unicode

    support throughout PHP, by embedding theInternational Components for Unicode(ICU) library,

    and representing text strings asUTF-16internally.[33]

    Since this would cause major changes both

    to the internals of the language and to user code, it was planned to release this as version 6.0 of

    the language, along with other major features then in development.[34]

    However, a shortage of developers who understood the necessary changes, and performance

    problems arising from conversion to and from UTF-16, which is rarely used in a web context, led

    to delays in the project.[35]

    As a result, a PHP 5.3 release was created in 2009, with many non-

    http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44
  • 8/12/2019 PHPnu e php

    13/21

    Unicode features back-ported from PHP 6, notably namespaces. In March 2010, the project in its

    current form was officially abandoned, and a PHP 5.4 release was prepared containing most

    remaining non-Unicode features from PHP 6, such as traits and closure re-binding.[36]

    Initial

    hopes were that a new plan would be formed for Unicode integration, but as of 2014 none has

    been adopted.

    During the years before the release of PHP 5.3 and 5.4, some books were published based on

    the expected feature set of PHP 6.0, including both the Unicode work and the features which

    were later backported to other releases. There is therefore some debate over whether a new

    major version of PHP, with or without Unicode support, should be called "PHP 6", or if the version

    should be skipped to avoid confusion.

    Release history[edit]

    Key

    Color Meaning Development

    Red Old release No development

    Yellow Stable release Security fixes

    Green Stable release Bug and security fixes

    Blue Future release New features

    Ver

    sio

    n

    Rele

    ase

    date

    Sup

    port

    ed

    until[

    37]

    Notes

    1.0

    8

    June

    199

    5

    Officially called "Personal Home Page Tools (PHP Tools)". This is the first use

    of the name "PHP".[6]

    http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/wiki/PHP#cite_note-36
  • 8/12/2019 PHPnu e php

    14/21

    2.0

    1

    Nov

    emb

    er199

    7

    3.0

    6

    June

    199

    8

    20

    Octo

    ber

    2000

    Development moves from one person to multiple developers. Zeev Suraski and

    Andi Gutmans rewrite the base for this version.[6]

    4.0

    22

    May

    200

    0

    23

    Janu

    ary

    2001

    Added more advanced two-stage parse/execute tag-parsing system called the

    Zend engine.[38]

    4.1

    10

    Dec

    emb

    er

    200

    1

    12

    Marc

    h

    2002

    Introduced 'superglobals' ($_GET, $_POST, $_SESSION, etc.)[38]

    4.2

    22

    April

    2002

    6

    Sept

    emb

    er

    2002

    Disabled register_globals by default. Data received over the network is not

    inserted directly into theglobalnamespace anymore, closing possible security

    holes in applications.[38]

    4.3

    27

    Dec

    emb

    er

    200

    2

    31

    Marc

    h

    2005

    Introduced thecommand-line interface(CLI), to supplement the CGI.[38][39]

    http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6
  • 8/12/2019 PHPnu e php

    15/21

    4.4

    11

    July

    200

    5

    7

    Augu

    st

    2008

    Fixed a memory corruption bug, which required breaking binary compatibility

    with extensions compiled against PHP version 4.3.x.[40]

    5.0

    13

    July

    200

    4

    5

    Sept

    emb

    er

    2005

    Zend Engine II with a new object model.[41]

    5.1

    24

    Nov

    emb

    er

    200

    5

    24

    Augu

    st

    2006

    Performance improvements with introduction of compiler variables in re-

    engineered PHP Engine.[41]

    Added PHP Data Objects (PDO) as a consistent

    interface for accessing databases.[42]

    5.2

    2

    Nov

    emb

    er

    200

    6

    6

    Janu

    ary

    2011

    Enabled the filter extension by default. NativeJSONsupport.[41]

    5.3

    30

    June

    200

    9

    July2014[43]

    Namespacesupport;late static bindings,Jump label (limitedgoto),

    Nativeclosures,Native PHP archives (phar),garbage collectionfor circular

    references, improvedWindowssupport, sqlite3, mysqlnd as a replacement for

    libmysql as underlying library for the extensions that work withMySQL,fileinfo

    as a replacement for mime_magic for betterMIMEsupport, the

    Internationalization extension, and deprecation of ereg extension.

    5.4

    1

    Mar

    ch

    201

    1

    Marc

    h

    2015

    Traitsupport, short array syntax support. Removed

    items: register_globals, safe_mode, allow_call_time_pass_referenc

    e,session_register() , session_unregister() and session_is_regist

    ered(). Built-in web server.[45]Several improvements to existing features,

    http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40
  • 8/12/2019 PHPnu e php

    16/21

    2[44]

    performance and reduced memory requirements.

    5.5

    20

    June201

    3

    20

    June2016[44]

    Support forgenerators,finallyblocks for exceptions handling, OpCache(based on Zend Optimizer+) bundled in official distribution.

    [46]

    5.6

    No

    date

    set

    3

    year

    s

    after

    release

    [44]

    Constant scalar expressions,variadic functions,argument unpacking, new

    exponentiation operator, extensions of the useoperator, new phpdbgdebugger

    as a SAPI module, and other smaller improvements.[47]

    Beginning on June 28, 2011, the PHP Group began following a timeline for when new versions of

    PHP will be released.[44]

    Under this timeline, at least one release should occur every month. Once

    per year, a minor release should occur which can include new features. Every minor release

    should at least have 2 years of security and bug fixes, followed by at least 1 year of only security

    fixes, for a total of a 3 year release process for every minor release. No new features (unless

    small and self-contained) will be introduced into a minor release during the 3-year release

    process.

    Syntax[edit]

    Main article:PHP syntax and semantics

    eased.[19][20]

    On July 13, 2004, PHP 5 was released, powered by the new Zend Engine II.[6]

    PHP 5 included

    new features such as improved support forobject-oriented programming,the PHP Data Objects(PDO) extension (which defines a lightweight and consistent interface for accessing databases),

    and numerous performance enhancements.[21]

    In 2008 PHP 5 became the only stable version

    under development.Late static bindinghad been missing from PHP and was added in version

    5.3.[22][23]

    Many high-profile open-source projects ceased to support PHP 4 in new code as of February 5,

    2008, because of the GoPHP5 initiative,[24]

    provided by a consortium of PHP developers

    promoting the transition from PHP 4 to PHP 5.[25][26]

    PHP interpreters are available on most existing32-bitand64-bitoperating systems, either bybuilding them from the PHP source code, or by using pre-built binaries.

    [27]For the PHP versions

    http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/PHP#cite_note-27http://en.wikipedia.org/wiki/64-bithttp://en.wikipedia.org/wiki/32-bithttp://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5-25http://en.wikipedia.org/wiki/PHP#cite_note-gophp5_projects-24http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/PHP#cite_note-22http://en.wikipedia.org/wiki/Late_static_bindinghttp://en.wikipedia.org/wiki/PHP#cite_note-21http://en.wikipedia.org/wiki/Object-oriented_programminghttp://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP#cite_note-2007_news-19http://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44
  • 8/12/2019 PHPnu e php

    17/21

    5.3 and 5.4, the only availableMicrosoft Windowsbinary distributions were 32-

    bitx86builds,[28][29]

    requiring Windows 32-bit compatibility mode while usingInternet Information

    Services(IIS) on a 64-bit Windows platform. PHP version 5.5 made the 64-bitx86-64builds

    available for Microsoft Windows.[30]

    PHP 6 and Unicode[edit]

    PHP received mixed reviews due to lacking nativeUnicodesupport at the core language

    level.[31][32]

    In 2005, a project headed by Andrei Zmievski was initiated to bring native Unicode

    support throughout PHP, by embedding theInternational Components for Unicode(ICU) library,

    and representing text strings asUTF-16internally.[33]

    Since this would cause major changes both

    to the internals of the language and to user code, it was planned to release this as version 6.0 of

    the language, along with other major features then in development.[34]

    However, a shortage of developers who understood the necessary changes, and performance

    problems arising from conversion to and from UTF-16, which is rarely used in a web context, led

    to delays in the project.[35]

    As a result, a PHP 5.3 release was created in 2009, with many non-

    Unicode features back-ported from PHP 6, notably namespaces. In March 2010, the project in its

    current form was officially abandoned, and a PHP 5.4 release was prepared containing most

    remaining non-Unicode features from PHP 6, such as traits and closure re-binding.[36]

    Initial

    hopes were that a new plan would be formed for Unicode integration, but as of 2014 none has

    been adopted.

    During the years before the release of PHP 5.3 and 5.4, some books were published based on

    the expected feature set of PHP 6.0, including both the Unicode work and the features whichwere later backported to other releases. There is therefore some debate over whether a new

    major version of PHP, with or without Unicode support, should be called "PHP 6", or if the version

    should be skipped to avoid confusion.

    Release history[edit]

    Key

    Color Meaning Development

    Red Old release No development

    Yellow Stable release Security fixes

    Green Stable release Bug and security fixes

    http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=3http://en.wikipedia.org/wiki/PHP#cite_note-36http://en.wikipedia.org/wiki/PHP#cite_note-35http://en.wikipedia.org/wiki/PHP#cite_note-34http://en.wikipedia.org/wiki/PHP#cite_note-33http://en.wikipedia.org/wiki/UTF-16http://en.wikipedia.org/wiki/International_Components_for_Unicodehttp://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/PHP#cite_note-31http://en.wikipedia.org/wiki/Unicodehttp://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=2http://en.wikipedia.org/wiki/PHP#cite_note-30http://en.wikipedia.org/wiki/X86-64http://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/Internet_Information_Serviceshttp://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/PHP#cite_note-28http://en.wikipedia.org/wiki/X86http://en.wikipedia.org/wiki/Microsoft_Windows
  • 8/12/2019 PHPnu e php

    18/21

    Blue Future release New features

    Ver

    sio

    n

    Rele

    ase

    date

    Support

    ed

    until[

    37]

    Notes

    1.0

    8

    June

    199

    5

    Officially called "Personal Home Page Tools (PHP Tools)". This is the first use

    of the name "PHP".[6]

    2.0

    1

    Nov

    emb

    er

    199

    7

    3.0

    6

    June

    199

    8

    20

    Octo

    ber

    2000

    Development moves from one person to multiple developers. Zeev Suraski and

    Andi Gutmans rewrite the base for this version.[6]

    4.0

    22

    May

    200

    0

    23

    Janu

    ary

    2001

    Added more advanced two-stage parse/execute tag-parsing system called the

    Zend engine.[38]

    4.1

    10

    Dec

    emb

    er

    200

    12

    Marc

    h

    2002

    Introduced 'superglobals' ($_GET, $_POST, $_SESSION, etc.)[38]

    http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-about_PHP-6http://en.wikipedia.org/wiki/PHP#cite_note-37http://en.wikipedia.org/wiki/PHP#cite_note-37
  • 8/12/2019 PHPnu e php

    19/21

    1

    4.2

    22

    April

    200

    2

    6

    Septemb

    er

    2002

    Disabled register_globals by default. Data received over the network is notinserted directly into theglobalnamespace anymore, closing possible security

    holes in applications.[38]

    4.3

    27

    Dec

    emb

    er200

    2

    31

    Marc

    h2005

    Introduced thecommand-line interface(CLI), to supplement the CGI.[38][39]

    4.4

    11

    July

    200

    5

    7

    Augu

    st

    2008

    Fixed a memory corruption bug, which required breaking binary compatibility

    with extensions compiled against PHP version 4.3.x.[40]

    5.0

    13

    July

    200

    4

    5

    Sept

    emb

    er

    2005

    Zend Engine II with a new object model.[41]

    5.1

    24

    Nov

    emb

    er

    200

    5

    24

    Augu

    st

    2006

    Performance improvements with introduction of compiler variables in re-

    engineered PHP Engine.[41]

    Added PHP Data Objects (PDO) as a consistent

    interface for accessing databases.[42]

    5.22

    Nov

    emb

    6

    Janu

    ary

    Enabled the filter extension by default. NativeJSONsupport.[41]

    http://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/Global_variablehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/JSONhttp://en.wikipedia.org/wiki/PHP#cite_note-phpPdoDocs-42http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php5changelog-41http://en.wikipedia.org/wiki/PHP#cite_note-php44announcement-40http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Command-line_interfacehttp://en.wikipedia.org/wiki/PHP#cite_note-php4changelog-38http://en.wikipedia.org/wiki/Global_variable
  • 8/12/2019 PHPnu e php

    20/21

    er

    200

    6

    2011

    5.3

    30

    June

    200

    9

    July

    2014[43]

    Namespacesupport;late static bindings,Jump label (limitedgoto),

    Nativeclosures,Native PHP archives (phar),garbage collectionfor circular

    references, improvedWindowssupport, sqlite3, mysqlnd as a replacement for

    libmysql as underlying library for the extensions that work withMySQL,fileinfo

    as a replacement for mime_magic for betterMIMEsupport, the

    Internationalization extension, and deprecation of ereg extension.

    5.4

    1Mar

    ch

    201

    2

    1Marc

    h

    2015[44]

    Traitsupport, short array syntax support. Removeditems: register_globals, safe_mode, allow_call_time_pass_referenc

    e,session_register() , session_unregister() and session_is_regist

    ered(). Built-in web server.[45]

    Several improvements to existing features,

    performance and reduced memory requirements.

    5.5

    20

    June

    2013

    20

    June

    2016[44]

    Support forgenerators,finallyblocks for exceptions handling, OpCache

    (based on Zend Optimizer+) bundled in official distribution.

    [46]

    5.6

    No

    date

    set

    3

    year

    s

    after

    relea

    se

    [44]

    Constant scalar expressions,variadic functions,argument unpacking, new

    exponentiation operator, extensions of the useoperator, new phpdbgdebugger

    as a SAPI module, and other smaller improvements.[47]

    Beginning on June 28, 2011, the PHP Group began following a timeline for when new versions of

    PHP will be released.[44]

    Under this timeline, at least one release should occur every month. Once

    per year, a minor release should occur which can include new features. Every minor release

    should at least have 2 years of security and bug fixes, followed by at least 1 year of only security

    fixes, for a total of a 3 year release process for every minor release. No new features (unless

    small and self-contained) will be introduced into a minor release during the 3-year release

    process.

    Syntax[edit]

    http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/PHP#cite_note-43http://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/w/index.php?title=PHP&action=edit&section=4http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-56changes-47http://en.wikipedia.org/wiki/Variadic_functionhttp://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-55changes-46http://en.wikipedia.org/wiki/Generator_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/PHP#cite_note-45http://en.wikipedia.org/wiki/Trait_(computer_programming)http://en.wikipedia.org/wiki/PHP#cite_note-releaseprocess-44http://en.wikipedia.org/wiki/MIMEhttp://en.wikipedia.org/wiki/MySQLhttp://en.wikipedia.org/wiki/Microsoft_Windowshttp://en.wikipedia.org/wiki/Garbage_collection_(computer_science)http://en.wikipedia.org/wiki/Closure_(computer_science)http://en.wikipedia.org/wiki/Gotohttp://en.wikipedia.org/wiki/Name_bindinghttp://en.wikipedia.org/wiki/Namespacehttp://en.wikipedia.org/wiki/PHP#cite_note-43
  • 8/12/2019 PHPnu e php

    21/21

    Main article:PHP syntax and semantics

    http://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semanticshttp://en.wikipedia.org/wiki/PHP_syntax_and_semantics

Recommended