PHP

PHP
Paradigmaimperatif, berorientasi objek, prosedural, reflektif
Dirancang olehRasmus Lerdorf
PengembangThe PHP Development Team, Zend Technologies
Rilis perdana8 Juni 1995 (1995-06-08)[1]
Rilis stabil
8.3.4[2] / 14 Maret 2024 (2024-03-14)
Tipe sistemDinamis, lemah

sejak versi 7.0:

bertahap[3]
Implementasi dariC (utama; beberapa komponen C++)
Sistem operasiLintas platform (sistem mirip Unix, Windows, platform 32-bit dan 64-bit lain), IBM i, OpenVMS
LisensiLisensi PHP (sebagian besar mesin Zend di bawah lisensi Zend Engine)
Ekstensi nama berkas.php, .phar, .phtml, .pht, .php3, .php4, .php5, .php7, .phps, .php-s
Situs webwww.php.net
Repositoriwww.php.net
Implementasi utama
Zend Engine, HHVM, Phalanger, Quercus, Project Zero, Parrot
Terpengaruh oleh
Perl, HTML, C, C++, Java, Tcl,[1] JavaScript, Hack[4]
Mempengaruhi
Hack, JSP, ASP
Sunting kotak info
Sunting kotak info • L • B
Info templat
Bantuan penggunaan templat ini

PHP: Hypertext Preprocessor[5] (sebelumnya disebut Personal Home Pages) atau hanya PHP saja, adalah bahasa skrip dengan fungsi umum yang terutama digunakan untuk pengembangan web.[6] Bahasa ini awalnya dibuat oleh seorang pemrogram Denmark-Kanada Rasmus Lerdorf pada tahun 1994.[7] Implementasi referensi PHP sekarang diproduksi oleh The PHP Group.[8] PHP awalnya merupakan singkatan dari Personal Home Page,[7] tetapi sekarang merupakan singkatan dari inisialisasi rekursif PHP: Hypertext Preprocessor.[9]

Kode PHP biasanya diproses di peladen web oleh interpreter PHP yang diimplementasikan sebagai modul, daemon, atau sebagai Common Gateway Interface (CGI) yang bisa dijalankan. Di server web, hasil dari kode PHP yang ditafsirkan dan dieksekusi (dapat berupa semua jenis data, seperti HTML atau data gambar biner) akan membentuk keseluruhan atau sebagian dari respons HTTP. Berbagai sistem templat web, sistem manajemen konten web, dan kerangka kerja web ada yang dapat digunakan untuk mengatur atau memfasilitasi pembuatan respons itu. Selain itu, PHP dapat digunakan untuk banyak tugas pemrograman di luar konteks web, seperti aplikasi grafis mandiri[10] dan kontrol drone robotik.[11] Kode PHP juga dapat langsung dieksekusi dari baris perintah.

  1. ^ a b Lerdorf, Rasmus (2007-04-26). "PHP on Hormones – history of PHP presentation by Rasmus Lerdorf given at the MySQL Conference in Santa Clara, California". The Conversations Network. Diakses tanggal 10 Februari 2024. 
  2. ^ "archive Releases 2024". php.net. 
  3. ^ "PHP: Function arguments - Manual". secure.php.net. 
  4. ^ Stogov, Dmitry (2015-12-04). "It's not a secret that some #PHP7 optimization ideas came from HHVM, LuaJIT and V8". Twitter. 
  5. ^ "What does PHP stand for?". Diarsipkan dari versi asli tanggal 2011-08-11. Diakses tanggal 10 Februari 2024. 
  6. ^ "PHP: Hypertext Preprocessor". www.php.net. Diakses tanggal 10 Februari 2024. 
  7. ^ a b "History of PHP". php.net. 
  8. ^ "History of PHP and related projects". The PHP Group. Diakses tanggal 10 Februari 2024. 
  9. ^ PHP Manual: Preface, www.php.net.
  10. ^ "Introduction: What can PHP do?". PHP Manual. Diakses tanggal 10 Februari 2024. 
  11. ^ helicopter: Port of node-ar-drone which allows user to control a Parrot AR Drone over PHP: jolicode/php-ar-drone, JoliCode, 2019-01-11, diakses tanggal 10 Februari 2024 

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search