Kamis, 20 Oktober 2011

PHP





PHP PHP
PHP
PHP: Hypertext Preprocessor PHP: Hypertext Preprocessor
Appeared in Muncul di
1995 ; 16 years ago ( 1995 ) [ 1 ] 1995; 16 tahun yang lalu (1995) [1]
Designed by Dirancang oleh
The PHP Group PHP Grup
5.3.8 (August 23, 2011 ; 58 days ago ( 2011-08-23 ) ) 5.3.8 (23 Agustus 2011; 58 hari lalu (2011/08/23))
5.4.0beta1 (September 15, 2011 ; 35 days ago ( 2011-09-15 ) ) 5.4.0beta1 (September 15, 2011, 35 hari lalu (2011/09/15))
Influenced by Dipengaruhi oleh
C , Perl , Java , C++ , Tcl  C , Perl , Java , C + + , Tcl
Influenced Terpengaruh
RadPHP (formerly PHP4Delphi ) RadPHP (sebelumnya PHP4Delphi )
Implementation language Implementasi bahasa
C C
OS OS
.php, .phtml .php4 .php3 .php5 .phps . Php, phtml.. Php4. Php3 php5.. Phps
Website Situs
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages . PHP adalah tujuan umum server-side scripting bahasa awalnya dirancang untuk pengembangan web untuk menghasilkan halaman web dinamis . For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. Untuk tujuan ini, kode PHP tertanam ke dalam HTML dokumen sumber dan diinterpretasikan oleh server web dengan modul PHP prosesor, yang menghasilkan halaman web dokumen. It also has evolved to include a command-line interface capability and can be used in standalone graphical applications . [ 2 ] PHP can be deployed on most web servers and as a standalone interpreter, on almost every operating system and platform free of charge. [ 3 ] A competitor to Microsoft 's Active Server Pages (ASP) server-side script engine [ 4 ] and similar languages, PHP is installed on more than 20 million websites and 1 million web servers . [ 5 ] Hal ini juga telah berkembang untuk menyertakan antarmuka baris perintah kemampuan dan dapat digunakan dalam mandiri aplikasi grafis . [2] PHP dapat digunakan pada web server yang paling dan sebagai penerjemah mandiri, pada hampir setiap sistem operasi dan platform yang gratis. [ 3] Sebuah pesaing Microsoft 's Active Server Pages (ASP) server-side script mesin [4] dan bahasa yang sama, PHP yang terinstal pada lebih dari 20 juta situs dan 1 juta server web . [5]
PHP was originally created by Rasmus Lerdorf in 1995. PHP pada awalnya diciptakan oleh Rasmus Lerdorf pada tahun 1995. The main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification . [ 6 ] PHP is free software released under the PHP License which is incompatible with the GNU General Public License (GPL) due to restrictions on the usage of the term PHP . [ 7 ] Pelaksanaan utama PHP yang sekarang diproduksi oleh Grup PHP dan berfungsi sebagai standar de facto untuk PHP karena tidak ada spesifikasi formal . [6] PHP adalah perangkat lunak bebas yang dirilis di bawah Lisensi PHP yang tidak sesuai dengan GNU General Public License ( GPL) karena pembatasan pada penggunaan PHP panjang. [7]
While PHP originally stood for "Personal Home Page", it is now said to stand for "PHP: Hypertext Preprocessor ", a recursive acronym . [ 8 ] Sementara PHP awalnya berdiri untuk "Personal Home Page", sekarang dikatakan berdiri untuk "PHP: Hypertext Preprocessor ", sebuah singkatan rekursif . [8]

Contents Isi

 [hide

History Sejarah

http://upload.wikimedia.org/wikipedia/commons/thumb/9/9c/Rasmus_Lerdorf_cropped.jpg/100px-Rasmus_Lerdorf_cropped.jpg

http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Andi_Gutmans_1.jpg/100px-Andi_Gutmans_1.jpg

http://upload.wikimedia.org/wikipedia/commons/thumb/c/cf/Zeev_Suraski_2005_cropped.jpg/100px-Zeev_Suraski_2005_cropped.jpg
Rasmus Lerdorf , who wrote the original Common Gateway Interface component, and Andi Gutmans and Zeev Suraski , who rewrote the parser that formed PHP 3 Rasmus Lerdorf , yang menulis asli Gateway Interface umum komponen, dan Andi Gutmans dan Zeev Suraski , yang menulis ulang parser yang terbentuk PHP 3
PHP development began in 1994 when the Danish / Greenlandic / Canadian programmer Rasmus Lerdorf initially created a set of Perl scripts he called "Personal Home Page Tools" to maintain his personal homepage . Pengembangan PHP dimulai pada 1994 ketika Denmark / Greenland / Kanada programmer Rasmus Lerdorf pada awalnya menciptakan satu set Perl script yang ia sebut "Tools Personal Home Page" untuk mempertahankan nya homepage pribadi . The scripts performed tasks such as displaying his résumé and recording his web-page traffic . [ 6 ] [ 9 ] [ 10 ] Lerdorf initially announced the release of PHP on the comp.infosystems.www.authoring.cgi Usenet discussion group on June 8, 1995. [ 11 ] Script melakukan tugas-tugas seperti menampilkan resume dan merekam halaman web nya lalu lintas . [6] [9] [10] Lerdorf awalnya mengumumkan peluncuran PHP pada comp.infosystems.www.authoring.cgi Usenet kelompok diskusi pada tanggal 8 Juni , 1995. [11]
Zeev Suraski and Andi Gutmans , two Israeli developers at the Technion IIT , rewrote the parser in 1997 and formed the base of PHP 3, changing the language's name to the recursive initialism PHP: Hypertext Preprocessor . [ 6 ] Afterwards, public testing of PHP 3 began, and the official launch came in June 1998. Zeev Suraski dan Andi Gutmans , dua Israel pengembang di IIT Technion , menulis ulang parser di tahun 1997 dan membentuk dasar dari PHP 3, mengubah nama bahasa terhadap initialism rekursif PHP:. Hypertext Preprocessor [6] Setelah pengujian, publik PHP 3 dimulai, dan peluncuran resmi itu pada Juni 1998. Suraski and Gutmans then started a new rewrite of PHP's core, producing the Zend Engine in 1999. [ 12 ] They also founded Zend Technologies in Ramat Gan , Israel. [ 6 ] Suraski dan Gutmans kemudian mulai baru menulis ulang inti PHP, menghasilkan Zend Engine pada tahun 1999. [12] Mereka juga mendirikan Zend Technologies di Ramat Gan , Israel. [6]
In 2008 PHP 5 became the only stable version under development. Late static binding had been missing from PHP and was added in version 5.3. [ 13 ] [ 14 ] Pada tahun 2008 PHP 5 menjadi satu-satunya versi yang stabil dalam pengembangan. mengikat statis akhir telah hilang dari PHP dan telah ditambahkan di versi 5.3. [13] [14]
A new major version has been under development alongside PHP 5 for several years. Sebuah versi besar baru sudah dalam pengembangan bersama PHP 5 untuk beberapa tahun. This version was originally planned to be released as PHP 6 as a result of its significant changes, which included plans for full Unicode support. Versi ini awalnya direncanakan akan dirilis sebagai PHP 6 sebagai akibat dari perubahan yang signifikan, termasuk rencana untuk dukungan Unicode penuh. However, Unicode support took developers much longer to implement than originally thought, and the decision was made in March 2010 [ 15 ] to move the project to a branch, with features still under development moved to trunk . Namun, dukungan Unicode mengambil pengembang lebih lama untuk diterapkan daripada awalnya berpikir, dan keputusan itu dibuat Maret 2010 [15] untuk memindahkan proyek ke cabang, dengan fitur masih dalam pengembangan dipindahkan ke bagasi .
Changes in the new code include the removal of register_globals , [ 16 ] magic quotes , and safe mode . [ 17 ] [ 18 ] The reason for the removals was that register_globals had given way to security holes, and the use of magic quotes had an unpredictable nature, and was best avoided. Perubahan dalam kode baru termasuk penghapusan register_globals , [16] kutipan sihir , dan safe mode . [17] [18] Alasan untuk kepindahan adalah bahwa register_globals telah memberikan cara untuk lubang keamanan, dan penggunaan tanda kutip sihir memiliki Sifat tak terduga, dan sebaiknya dihindari. Instead, to escape characters, magic quotes may be replaced with the addslashes() function, or more appropriately an escape mechanism specific to the database vendor itself like mysql_real_escape_string() for MySQL . Sebaliknya, untuk melarikan diri karakter, kutipan sihir dapat digantikan dengan addslashes () fungsi, atau lebih tepat mekanisme melarikan diri khusus untuk vendor database itu sendiri seperti mysql_real_escape_string () untuk MySQL . Functions that will be removed in future versions and have been deprecated in PHP 5.3 will produce a warning if used. [ 19 ] Fungsi yang akan dihapus dalam versi masa depan dan telah usang di PHP 5.3 akan menghasilkan peringatan jika digunakan. [19]
Many high-profile open-source projects ceased to support PHP 4 in new code as of February 5, 2008, because of the GoPHP5 initiative, [ 20 ] provided by a consortium of PHP developers promoting the transition from PHP 4 to PHP 5. [ 21 ] [ 22 ] Banyak profil tinggi proyek open-source lagi mendukung PHP 4 dalam kode baru sebagai tanggal 5 Februari 2008, karena inisiatif GoPHP5, [20] disediakan oleh konsorsium pengembang PHP mempromosikan transisi dari PHP 4 ke PHP 5. [ 21] [22]
As of 2011 [update] PHP does not have native support for Unicode or multibyte strings; Unicode support is under development for a future version of PHP and will allow strings as well as class-, method-, and function-names to contain non- ASCII characters. [ 23 ] [ 24 ] Pada 2011 [update] PHP tidak memiliki dukungan asli untuk Unicode string atau multibyte, dukungan Unicode adalah dalam pengembangan untuk versi masa depan PHP dan akan memungkinkan string serta kelas-, metode-, dan fungsi-nama non-mengandung ASCII karakter. [23] [24]
PHP interpreters are available on both 32-bit and 64-bit operating systems, but on Microsoft Windows the only official distribution is a 32-bit implementation, requiring Windows 32-bit compatibility mode while using Internet Information Services (IIS) on a 64-bit Windows platform. Interpreter PHP yang tersedia di kedua 32-bit dan 64-bit sistem operasi, tetapi pada Microsoft Windows distribusi resmi hanya adalah implementasi 32-bit, mode Windows memerlukan kompatibilitas 32-bit saat menggunakan Internet Information Services (IIS) pada 64 - bit Windows platform. Experimental 64-bit versions of PHP 5.3.0 were briefly available for MS Windows, but have since been removed. [ 25 ] Eksperimental 64-bit versi PHP 5.3.0 yang singkat yang tersedia untuk MS Windows, tetapi sejak telah dihapus. [25]

Licensing Lisensi

PHP is free software released under the PHP License , which insists that: [ 26 ] PHP adalah perangkat lunak bebas yang dirilis di bawah Lisensi PHP , yang menegaskan bahwa: [26]
 4. 4. Products derived from this software may not be called "PHP", nor Produk berasal dari perangkat lunak ini tidak dapat disebut "PHP", atau
    may "PHP" appear in their name, without prior written permission mungkin "PHP" muncul di nama mereka, tanpa izin tertulis
    from group@php.net. dari group@php.net. You may indicate that your software works in Anda dapat menunjukkan bahwa perangkat lunak Anda bekerja di
    conjunction with PHP by saying "Foo for PHP" instead of calling hubungannya dengan PHP dengan mengatakan "Foo untuk PHP" bukan memanggil
    it "PHP Foo" or "phpfoo" itu "PHP Foo" atau "phpfoo"
This restriction on use of the name PHP makes it incompatible with the GNU General Public License (GPL). [ 27 ] Ini pembatasan penggunaan PHP nama membuatnya tidak kompatibel dengan GNU General Public License (GPL). [27]

Release history Sejarah Pers


Meaning Arti
Red Merah
Release no longer supported Rilis tidak lagi didukung
Green Hijau
Release still supported Rilis masih didukung
Blue Biru
Future release Rilis mendatang

Major version Mayor versi
Minor version Minor versi
Release date Tanggal rilis
Notes Catatan
1 1
1.0.0 1.0.0
1995-06-08 1995-06-08
Officially called "Personal Home Page Tools (PHP Tools)". Resmi disebut "Tools Halaman Depan Pribadi (PHP Tools)".
This is the first use of the name "PHP". [ 6 ] Ini adalah penggunaan pertama dari nama "PHP". [6]
2 2
2.0.0 2.0.0
1997-11-01 1997-11-01
Considered by its creator as the "fastest and simplest tool" for creating dynamic web pages. [ 6 ] Dianggap oleh penciptanya sebagai "alat tercepat dan termudah" untuk membuat halaman web dinamis. [6]
3 3
3.0.0 3.0.0
1998-06-06 1998-06-06
Development moves from one person to multiple developers. Pembangunan bergerak dari satu orang ke beberapa pengembang.
Zeev Suraski and Andi Gutmans rewrite the base for this version. [ 6 ] Zeev Suraski dan Andi Gutmans menulis ulang dasar untuk versi ini. [6]
4 4
4.0.0 4.0.0
2000-05-22 2000-05-22
Added more advanced two-stage parse/execute tag-parsing system called the Zend engine. [ 28 ] Ditambahkan lebih maju dua-tahap mengurai / mengeksekusi tag-parsing sistem yang disebut mesin Zend. [28]
4.1.0 4.1.0
2001-12-10 2001-12-10
Introduced 'superglobals' ( $_GET , $_POST , $_SESSION , etc.) [ 28 ] Diperkenalkan 'superglobals' ( $_GET , $_POST , $_SESSION , dll) [28]
4.2.0 4.2.0
2002-04-22 2002-04-22
Disabled register_globals by default. Dinonaktifkan register_globals secara default.
Data received over the network is not inserted directly into the global namespace anymore, closing possible security holes in applications. [ 28 ] Data yang diterima melalui jaringan tidak dimasukkan langsung ke dalam dunia namespace lagi, menutup lubang keamanan mungkin dalam aplikasi. [28]
4.3.0 4.3.0
2002-12-27 2002-12-27
Introduced the CLI , in addition to the CGI . [ 28 ] [ 29 ] Memperkenalkan CLI , di samping CGI . [28] [29]
4.4.0 4.4.0
2005-07-11 2005-07-11
Added man pages for phpize and php-config scripts. [ 28 ] Ditambahkan halaman manual untuk phpize dan php-config script. [28]
4.4.9 4.4.9
2008-08-07 2008-08-07
Security enhancements and bug fixes. Keamanan perangkat tambahan dan perbaikan bug.
The last release of the PHP 4.4 series. [ 30 ] [ 31 ] Rilis terakhir dari seri 4.4 PHP. [30] [31]
5 5
5.0.0 5.0.0
2004-07-13 2004-07-13
Zend Engine II with a new object model. [ 32 ] Zend Mesin II dengan model obyek baru. [32]
5.1.0 5.1.0
2005-11-24 2005-11-24
Performance improvements with introduction of compiler variables in re-engineered PHP Engine. [ 32 ] Kinerja perbaikan dengan pengenalan variabel kompilator dalam re-rekayasa mesin PHP. [32]
5.2.0 5.2.0
2006-11-02 2006-11-02
Enabled the filter extension by default. Diaktifkan perpanjangan penyaring secara default.
Native JSON support. [ 32 ] Asli JSON dukungan. [32]
5.2.17 5.2.17
2011-01-06 2011-01-06
Fix of critical vulnerability connected to floating point. Memperbaiki kerentanan kritis dihubungkan ke floating point.
5.3.0 5.3.0
2009-06-30 2009-06-30
Namespace support; Late static bindings , Jump label (limited goto ), Native closures , Native PHP archives (phar), garbage collection for circular references, improved Windows support, sqlite3, mysqlnd as a replacement for libmysql as underlying library for the extensions that work with MySQL , fileinfo as a replacement for mime_magic for better MIME support, the Internationalization extension, and deprecation of ereg extension. Namespace dukungan; binding statis Akhir , Langsung label (terbatas goto ), asli penutupan , Bahasa PHP arsip (farmasi), pengumpulan sampah untuk referensi melingkar, meningkatkan Windows dukungan, sqlite3, mysqlnd sebagai pengganti libmysql sebagai perpustakaan yang mendasari untuk ekstensi yang bekerja dengan MySQL , FileInfo sebagai pengganti mime_magic untuk lebih baik MIME dukungan, ekstensi Internasionalisasi, dan meremehkan dari ereg ekstensi.
5.3.1 5.3.1
2009-11-19 2009-11-19
Over 100 bug fixes , some of which were security fixes. Lebih dari 100 perbaikan bug , beberapa di antaranya adalah perbaikan keamanan.
5.3.2 5.3.2
2010-03-04 2010-03-04
Includes a large number of bug fixes. Termasuk sejumlah besar perbaikan bug.
5.3.3 5.3.3
2010-07-22 2010-07-22
Mainly bug and security fixes; FPM SAPI. Terutama perbaikan bug dan keamanan; FPM SAPI.
5.3.4 5.3.4
2010-12-10 2010-12-10
Mainly bug and security fixes; improvements to FPM SAPI. Terutama perbaikan bug dan keamanan; perbaikan FPM SAPI.
5.3.5 5.3.5
2011-01-06 2011-01-06
Fix of critical vulnerability connected to floating point. Memperbaiki kerentanan kritis dihubungkan ke floating point.
5.3.6 5.3.6
2011-03-10 2011-03-10
Over 60 bug fixes that were reported in the previous version. Lebih dari 60 perbaikan bug yang dilaporkan dalam versi sebelumnya.
5.3.7 5.3.7
2011-08-18 2011-08-18
This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related. Rilis ini berfokus pada peningkatan stabilitas cabang PHP 5.3.x dengan lebih dari 90 perbaikan bug, beberapa di antaranya terkait keamanan.
5.3.8 5.3.8
2011-08-23 2011-08-23
This release fixes two issues introduced in the PHP 5.3.7 release. Rilis ini dua isu perbaikan diperkenalkan di rilis PHP 5.3.7.
5.4.0beta1 5.4.0beta1
2011-09-15 2011-09-15
Trait Support, Removed Sifat Dukungan, Dihapus
Several improvements to existing features. Beberapa perbaikan fitur yang ada.
6 6
?.? .??
No date set Tidak mengatur tanggal
The development of PHP 6 has been delayed because the developers have decided the current approach to handling of instance unicode is not a good one, and are considering alternate ways in the next version of PHP. Perkembangan PHP 6 telah tertunda karena para pengembang telah memutuskan pendekatan saat ini untuk penanganan unicode contoh adalah tidak baik, dan mempertimbangkan cara-cara alternatif dalam versi berikutnya dari PHP.
The updates that were intended for PHP 6 were added to PHP 5.3.0(namespace support, Late Static Bindings, lambda functions, closures, goto) and 5.4.0(traits, closure rebinding) instead. Pembaruan yang dimaksudkan untuk PHP 6 yang ditambahkan untuk PHP 5.3.0 (mendukung namespace, Bindings statis Akhir, fungsi lambda, penutupan, goto) dan 5.4.0 (sifat, rebinding penutupan) sebagai gantinya.