PHP Hypertext Preprocessor is a scripting language for building dynamic websites on the server. It remains one of the most popular programming languages in the world, powering tools like Wordpress, Laravel, and Symfony. https://fireship.io

#programming #webdev #100SecondsOfCode

🔗 Resources

PHP Docs https://www.php.net/docs.php
PHP usage stats https://w3techs.com/technologies/details/pl-php

📚 Chapters

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- History of PHP
- PHP syntax and features
- Basic Overview of PHP
- What does PHP stand for?
- Does Facebook use PHP?
- Websites that use PHP
2024-02-04T05:42:40.177Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
189417cd-2920-42d6-a0eb-2150e22246ed
86fccb5be9a47d0e8fe865cb1a028a7c25eb9c1e33863de314faf8b214645307
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
PHP, a dynamic interpreted scripting language for building interactive websites on the server.
Despite the haters pronouncing it dead, it remains one of the most popular languages for back end web development.
It powers content management systems like WordPress, top tier websites like Wikipedia, and countless the others via frameworks like Laravel and Symphony.
Hell, man.
Even Facebook uses it.
Although, they built a custom compiler to convert it to machine code on their servers.
It was created in 1994 by Rasmus Leardorf to manage his personal homepage.
Clever acronym, but it sounds lame for a language that powers multi $1,000,000,000 enterprises.
So today, we practice cognitive dissonance to tell ourselves PHP stands for hypertext preprocessor.
It has a special place in history because it predates JavaScript and was one of the first languages to be embedded directly in HTML, allowing websites to be built dynamically on a server.
It's open source and was one of the technologies that revolutionized MistleWeb by making application development accessible to the average person.
Its interpreter is implemented in C and has a syntax inspired by Perl.
To get started, create a PHP file and add some basic HTML to it.
Within this file, you can go into PHP mode by opening a question marked PHP tag.
The code within these tags will be rendered on the server.
Use echo to output a value in the location of the tag.
To declare a variable, give it a name that starts with a dollar sign followed by a value.
It's a weekly type language, so no type annotations are necessary.
It also comes with a large number of predefined variables geared towards web development like git, post, and cookie, which contain information about the incoming HTTP request.
Now when this code is rendered on your server, it will output an HTML string with the PHP tags being replaced by whatever you echoed.
The language also supports multiple programming paradigms.
You have first class functions which can be assigned to variables or used anonymously as arguments.
And, it has tons and tons of built in functions to do pretty much anything a web mber could ever imagine doing.
It also has a complete object model where you can define classes with inheritance to implement object oriented patterns.
Most We're currently on PHP version 8, which has all the features you would expect from a modern pragmatic language.
Every web developer should be familiar with it because statistically, there's a 78.5% chance that your client's website is running the personal home page language.
This has been PHP in 100 seconds.
Hit the like button if you wanna see more short videos like this.
Thanks for watching, and I will see you in the next one.

Speaker 0: PHP, a dynamic interpreted scripting language for building interactive websites on the server. Despite the haters pronouncing it dead, it remains one of the most popular languages for back end web development. It powers content management systems like WordPress, top tier websites like Wikipedia, and countless the others via frameworks like Laravel and Symphony. Hell, man. Even Facebook uses it.

Although, they built a custom compiler to convert it to machine code on their servers. It was created in 1994 by Rasmus Leardorf to manage his personal homepage. Clever acronym, but it sounds lame for a language that powers multi $1,000,000,000 enterprises. So today, we practice cognitive dissonance to tell ourselves PHP stands for hypertext preprocessor. It has a special place in history because it predates JavaScript and was one of the first languages to be embedded directly in HTML, allowing websites to be built dynamically on a server.

It's open source and was one of the technologies that revolutionized MistleWeb by making application development accessible to the average person. Its interpreter is implemented in C and has a syntax inspired by Perl. To get started, create a PHP file and add some basic HTML to it. Within this file, you can go into PHP mode by opening a question marked PHP tag. The code within these tags will be rendered on the server.

Use echo to output a value in the location of the tag. To declare a variable, give it a name that starts with a dollar sign followed by a value. It's a weekly type language, so no type annotations are necessary. It also comes with a large number of predefined variables geared towards web development like git, post, and cookie, which contain information about the incoming HTTP request. Now when this code is rendered on your server, it will output an HTML string with the PHP tags being replaced by whatever you echoed.

The language also supports multiple programming paradigms. You have first class functions which can be assigned to variables or used anonymously as arguments. And, it has tons and tons of built in functions to do pretty much anything a web mber could ever imagine doing. It also has a complete object model where you can define classes with inheritance to implement object oriented patterns. Most We're currently on PHP version 8, which has all the features you would expect from a modern pragmatic language.

Every web developer should be familiar with it because statistically, there's a 78.5% chance that your client's website is running the personal home page language. This has been PHP in 100 seconds. Hit the like button if you wanna see more short videos like this. Thanks for watching, and I will see you in the next one.
PHP, a dynamic interpreted scripting language for building interactive websites on the server. Despite the haters pronouncing it dead, it remains one of the most popular languages for back end web development. It powers content management systems like WordPress, top tier websites like Wikipedia, and countless the others via frameworks like Laravel and Symphony. Hell, man. Even Facebook uses it. Although, they built a custom compiler to convert it to machine code on their servers. It was created in 1994 by Rasmus Leardorf to manage his personal homepage. Clever acronym, but it sounds lame for a language that powers multi $1,000,000,000 enterprises. So today, we practice cognitive dissonance to tell ourselves PHP stands for hypertext preprocessor. It has a special place in history because it predates JavaScript and was one of the first languages to be embedded directly in HTML, allowing websites to be built dynamically on a server.
languages
microsoft
software
websites
linguistics
software development
It's open source and was one of the technologies that revolutionized MistleWeb by making application development accessible to the average person. Its interpreter is implemented in C and has a syntax inspired by Perl. To get started, create a PHP file and add some basic HTML to it. Within this file, you can go into PHP mode by opening a question marked PHP tag.
software development
software
The code within these tags will be rendered on the server. Use echo to output a value in the location of the tag. To declare a variable, give it a name that starts with a dollar sign followed by a value. It's a weekly type language, so no type annotations are necessary. It also comes with a large number of predefined variables geared towards web development like git, post, and cookie, which contain information about the incoming HTTP request.
Now when this code is rendered on your server, it will output an HTML string with the PHP tags being replaced by whatever you echoed. The language also supports multiple programming paradigms. You have first class functions which can be assigned to variables or used anonymously as arguments. And, it has tons and tons of built in functions to do pretty much anything a web mber could ever imagine doing.
programming
It also has a complete object model where you can define classes with inheritance to implement object oriented patterns. Most We're currently on PHP version 8, which has all the features you would expect from a modern pragmatic language. Every web developer should be familiar with it because statistically, there's a 78.5% chance that your client's website is running the personal home page language.
This has been PHP in 100 seconds. Hit the like button if you wanna see more short videos like this. Thanks for watching, and I will see you in the next one.
youtube
PHP, a dynamic interpreted scripting language for building interactive websites on the server. Despite the haters pronouncing it dead, it remains one of the most popular languages for back end web development. It powers content management systems like WordPress, top tier websites like Wikipedia, and countless the others via frameworks like Laravel and Symphony. Hell, man. Even Facebook uses it. Although, they built a custom compiler to convert it to machine code on their servers. It was created in 1994 by Rasmus Leardorf to manage his personal homepage. Clever acronym, but it sounds lame for a language that powers multi $1,000,000,000 enterprises. So today, we practice cognitive dissonance to tell ourselves PHP stands for hypertext preprocessor. It has a special place in history because it predates JavaScript and was one of the first languages to be embedded directly in HTML, allowing websites to be built dynamically on a server. It's open source and was one of the technologies that revolutionized MistleWeb by making application development accessible to the average person. Its interpreter is implemented in C and has a syntax inspired by Perl. To get started, create a PHP file and add some basic HTML to it. Within this file, you can go into PHP mode by opening a question marked PHP tag. The code within these tags will be rendered on the server. Use echo to output a value in the location of the tag. To declare a variable, give it a name that starts with a dollar sign followed by a value. It's a weekly type language, so no type annotations are necessary. It also comes with a large number of predefined variables geared towards web development like git, post, and cookie, which contain information about the incoming HTTP request. Now when this code is rendered on your server, it will output an HTML string with the PHP tags being replaced by whatever you echoed. The language also supports multiple programming paradigms. You have first class functions which can be assigned to variables or used anonymously as arguments. And, it has tons and tons of built in functions to do pretty much anything a web mber could ever imagine doing. It also has a complete object model where you can define classes with inheritance to implement object oriented patterns. Most We're currently on PHP version 8, which has all the features you would expect from a modern pragmatic language. Every web developer should be familiar with it because statistically, there's a 78.5% chance that your client's website is running the personal home page language. This has been PHP in 100 seconds. Hit the like button if you wanna see more short videos like this. Thanks for watching, and I will see you in the next one.
PHP,
php
a
a
dynamic
dynamic
interpreted
interpreted
scripting
scripting
language
language
for
for
building
building
interactive
interactive
websites
websites
on
on
the
the
server.
server
Despite
despite
the
the
haters
haters
pronouncing
pronouncing
it
it
dead,
dead
it
it
remains
remains
one
one
of
of
the
the
most
most
popular
popular
languages
languages
for
for
back
back
end
end
web
web
development.
development
It
it
powers
powers
content
content
management
management
systems
systems
like
like
WordPress,
wordpress
top
top
tier
tier
websites
websites
like
like
Wikipedia,
wikipedia
and
and
countless
countless
the
the
others
others
via
via
frameworks
frameworks
like
like
Laravel
laravel
and
and
Symphony.
symphony
Hell,
hell
man.
man
Even
even
Facebook
facebook
uses
uses
it.
it
Although,
although
they
they
built
built
a
a
custom
custom
compiler
compiler
to
to
convert
convert
it
it
to
to
machine
machine
code
code
on
on
their
their
servers.
servers
It
it
was
was
created
created
in
in
1994
1994
by
by
Rasmus
rasmus
Leardorf
leardorf
to
to
manage
manage
his
his
personal
personal
homepage.
homepage
Clever
clever
acronym,
acronym
but
but
it
it
sounds
sounds
lame
lame
for
for
a
a
language
language
that
that
powers
powers
multi
multi
$1,000,000,000
$1,000,000,000
enterprises.
enterprises
So
so
today,
today
we
we
practice
practice
cognitive
cognitive
dissonance
dissonance
to
to
tell
tell
ourselves
ourselves
PHP
php
stands
stands
for
for
hypertext
hypertext
preprocessor.
preprocessor
It
it
has
has
a
a
special
special
place
place
in
in
history
history
because
because
it
it
predates
predates
JavaScript
javascript
and
and
was
was
one
one
of
of
the
the
first
first
languages
languages
to
to
be
be
embedded
embedded
directly
directly
in
in
HTML,
html
allowing
allowing
websites
websites
to
to
be
be
built
built
dynamically
dynamically
on
on
a
a
server.
server
It's
it's
open
open
source
source
and
and
was
was
one
one
of
of
the
the
technologies
technologies
that
that
revolutionized
revolutionized
MistleWeb
mistleweb
by
by
making
making
application
application
development
development
accessible
accessible
to
to
the
the
average
average
person.
person
Its
its
interpreter
interpreter
is
is
implemented
implemented
in
in
C
c
and
and
has
has
a
a
syntax
syntax
inspired
inspired
by
by
Perl.
perl
To
to
get
get
started,
started
create
create
a
a
PHP
php
file
file
and
and
add
add
some
some
basic
basic
HTML
html
to
to
it.
it
Within
within
this
this
file,
file
you
you
can
can
go
go
into
into
PHP
php
mode
mode
by
by
opening
opening
a
a
question
question
marked
marked
PHP
php
tag.
tag
The
the
code
code
within
within
these
these
tags
tags
will
will
be
be
rendered
rendered
on
on
the
the
server.
server
Use
use
echo
echo
to
to
output
output
a
a
value
value
in
in
the
the
location
location
of
of
the
the
tag.
tag
To
to
declare
declare
a
a
variable,
variable
give
give
it
it
a
a
name
name
that
that
starts
starts
with
with
a
a
dollar
dollar
sign
sign
followed
followed
by
by
a
a
value.
value
It's
it's
a
a
weekly
weekly
type
type
language,
language
so
so
no
no
type
type
annotations
annotations
are
are
necessary.
necessary
It
it
also
also
comes
comes
with
with
a
a
large
large
number
number
of
of
predefined
predefined
variables
variables
geared
geared
towards
towards
web
web
development
development
like
like
git,
git
post,
post
and
and
cookie,
cookie
which
which
contain
contain
information
information
about
about
the
the
incoming
incoming
HTTP
http
request.
request
Now
now
when
when
this
this
code
code
is
is
rendered
rendered
on
on
your
your
server,
server
it
it
will
will
output
output
an
an
HTML
html
string
string
with
with
the
the
PHP
php
tags
tags
being
being
replaced
replaced
by
by
whatever
whatever
you
you
echoed.
echoed
The
the
language
language
also
also
supports
supports
multiple
multiple
programming
programming
paradigms.
paradigms
You
you
have
have
first
first
class
class
functions
functions
which
which
can
can
be
be
assigned
assigned
to
to
variables
variables
or
or
used
used
anonymously
anonymously
as
as
arguments.
arguments
And,
and
it
it
has
has
tons
tons
and
and
tons
tons
of
of
built
built
in
in
functions
functions
to
to
do
do
pretty
pretty
much
much
anything
anything
a
a
web
web
mber
mber
could
could
ever
ever
imagine
imagine
doing.
doing
It
it
also
also
has
has
a
a
complete
complete
object
object
model
model
where
where
you
you
can
can
define
define
classes
classes
with
with
inheritance
inheritance
to
to
implement
implement
object
object
oriented
oriented
patterns.
patterns
Most
most
We're
we're
currently
currently
on
on
PHP
php
version
version
8,
8
which
which
has
has
all
all
the
the
features
features
you
you
would
would
expect
expect
from
from
a
a
modern
modern
pragmatic
pragmatic
language.
language
Every
every
web
web
developer
developer
should
should
be
be
familiar
familiar
with
with
it
it
because
because
statistically,
statistically
there's
there's
a
a
78.5%
78.5%
chance
chance
that
that
your
your
client's
client's
website
website
is
is
running
running
the
the
personal
personal
home
home
page
page
language.
language
This
this
has
has
been
been
PHP
php
in
in
100
100
seconds.
seconds
Hit
hit
the
the
like
like
button
button
if
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
like
like
this.
this
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
In this video, a speaker explains the history and use of Whenever it is used, including the use of it in coding for websites and applications. They also discuss the various programming language and its features, including its use in various file formats and its use in web development. The speaker concludes by encouraging viewers to check out their videos and thanks them for watching.
PHP in 100 Seconds
PHP, a dynamic interpreted scripting language for building interactive websites on the server. Despite the haters pronouncing it dead, it remains one of the most popular languages for back end web development. It powers content management systems like WordPress, top tier websites like Wikipedia, and countless the others via frameworks like Laravel and Symphony. Hell, man. Even Facebook uses it. Although, they built a custom compiler to convert it to machine code on their servers. It was created in 1994 by Rasmus Leardorf to manage his personal homepage. Clever acronym, but it sounds lame for a language that powers multi $1,000,000,000 enterprises. So today, we practice cognitive dissonance to tell ourselves PHP stands for hypertext preprocessor. It has a special place in history because it predates JavaScript and was one of the first languages to be embedded directly in HTML, allowing websites to be built dynamically on a server. It's open source and was one of the technologies that revolutionized MistleWeb by making application development accessible to the average person. Its interpreter is implemented in C and has a syntax inspired by Perl. To get started, create a PHP file and add some basic HTML to it. Within this file, you can go into PHP mode by opening a question marked PHP tag. The code within these tags will be rendered on the server. Use echo to output a value in the location of the tag. To declare a variable, give it a name that starts with a dollar sign followed by a value. It's a weekly type language, so no type annotations are necessary. It also comes with a large number of predefined variables geared towards web development like git, post, and cookie, which contain information about the incoming HTTP request. Now when this code is rendered on your server, it will output an HTML string with the PHP tags being replaced by whatever you echoed. The language also supports multiple programming paradigms. You have first class functions which can be assigned to variables or used anonymously as arguments. And, it has tons and tons of built in functions to do pretty much anything a web mber could ever imagine doing. It also has a complete object model where you can define classes with inheritance to implement object oriented patterns. Most We're currently on PHP version 8, which has all the features you would expect from a modern pragmatic language. Every web developer should be familiar with it because statistically, there's a 78.5% chance that your client's website is running the personal home page language. This has been PHP in 100 seconds. Hit the like button if you wanna see more short videos like this. Thanks for watching, and I will see you in the next one.
In this video, a speaker explains the history and use of Whenever it is used, including the use of it in coding for websites and applications. They also discuss the various programming language and its features, including its use in various file formats and its use in web development. The speaker concludes by encouraging viewers to check out their videos and thanks them for watching.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : PHP in 100 Seconds 
        and a small summary : In this video, a speaker explains the history and use of Whenever it is used, including the use of it in coding for websites and applications. They also discuss the various programming language and its features, including its use in various file formats and its use in web development. The speaker concludes by encouraging viewers to check out their videos and thanks them for watching.
        [/INST]
        
        Generate the video : PHP, a dynamic interpreted scripting language for building interactive websites on the server. Despite the haters pronouncing it dead, it remains one of the most popular languages for back end web development. It powers content management systems like WordPress, top tier websites like Wikipedia, and countless the others via frameworks like Laravel and Symphony. Hell, man. Even Facebook uses it. Although, they built a custom compiler to convert it to machine code on their servers. It was created in 1994 by Rasmus Leardorf to manage his personal homepage. Clever acronym, but it sounds lame for a language that powers multi $1,000,000,000 enterprises. So today, we practice cognitive dissonance to tell ourselves PHP stands for hypertext preprocessor. It has a special place in history because it predates JavaScript and was one of the first languages to be embedded directly in HTML, allowing websites to be built dynamically on a server. It's open source and was one of the technologies that revolutionized MistleWeb by making application development accessible to the average person. Its interpreter is implemented in C and has a syntax inspired by Perl. To get started, create a PHP file and add some basic HTML to it. Within this file, you can go into PHP mode by opening a question marked PHP tag. The code within these tags will be rendered on the server. Use echo to output a value in the location of the tag. To declare a variable, give it a name that starts with a dollar sign followed by a value. It's a weekly type language, so no type annotations are necessary. It also comes with a large number of predefined variables geared towards web development like git, post, and cookie, which contain information about the incoming HTTP request. Now when this code is rendered on your server, it will output an HTML string with the PHP tags being replaced by whatever you echoed. The language also supports multiple programming paradigms. You have first class functions which can be assigned to variables or used anonymously as arguments. And, it has tons and tons of built in functions to do pretty much anything a web mber could ever imagine doing. It also has a complete object model where you can define classes with inheritance to implement object oriented patterns. Most We're currently on PHP version 8, which has all the features you would expect from a modern pragmatic language. Every web developer should be familiar with it because statistically, there's a 78.5% chance that your client's website is running the personal home page language. This has been PHP in 100 seconds. Hit the like button if you wanna see more short videos like this. Thanks for watching, and I will see you in the next one.
        