Submit Search
Upload
An Introduction to PHP... and Why It's Yucky!
•
0 likes
•
302 views
Jorge Silva Jetter
Follow
A short introduction to some of the good parts and bad parts of PHP.
Read less
Read more
Technology
Report
Share
Report
Share
1 of 12
Download now
Download to read offline
Recommended
Richard practica nº2.php
Richard practica nº2.php
richardrq
C A S Sample Php
C A S Sample Php
JH Lee
[Erlang LT] Regexp Perl And Port
[Erlang LT] Regexp Perl And Port
Keiichi Daiba
PHP: The easiest language to learn.
PHP: The easiest language to learn.
Binny V A
[PL] Jak nie zostać "programistą" PHP?
[PL] Jak nie zostać "programistą" PHP?
Radek Benkel
Advanced modulinos trial
Advanced modulinos trial
brian d foy
PHP Programming: Intro
PHP Programming: Intro
Things Lab
GettingStartedWithPHP
GettingStartedWithPHP
Nat Weerawan
Recommended
Richard practica nº2.php
Richard practica nº2.php
richardrq
C A S Sample Php
C A S Sample Php
JH Lee
[Erlang LT] Regexp Perl And Port
[Erlang LT] Regexp Perl And Port
Keiichi Daiba
PHP: The easiest language to learn.
PHP: The easiest language to learn.
Binny V A
[PL] Jak nie zostać "programistą" PHP?
[PL] Jak nie zostać "programistą" PHP?
Radek Benkel
Advanced modulinos trial
Advanced modulinos trial
brian d foy
PHP Programming: Intro
PHP Programming: Intro
Things Lab
GettingStartedWithPHP
GettingStartedWithPHP
Nat Weerawan
Presentation on php string function part-1
Presentation on php string function part-1
Mysoftheaven (BD) Ltd.
Barely Legal Xxx Perl Presentation
Barely Legal Xxx Perl Presentation
Attila Balazs
PHP and Databases
PHP and Databases
Things Lab
Unix shell scripting basics
Unix shell scripting basics
Abhay Sapru
Three Objectionable Things
Three Objectionable Things
Pete Goodliffe
De 0 a 100 con Bash Shell Scripting y AWK
De 0 a 100 con Bash Shell Scripting y AWK
Adolfo Sanz De Diego
Generating Power with Yield
Generating Power with Yield
Jason Myers
Synapseindia php development tutorial
Synapseindia php development tutorial
Synapseindiappsdevelopment
PHP an intro -1
PHP an intro -1
Kanchilug
PHPerのためのPerl入門@ Kansai.pm#12
PHPerのためのPerl入門@ Kansai.pm#12
Kazuki KOMORI
PHP Basics and Demo HackU
PHP Basics and Demo HackU
Anshu Prateek
Scratching the surface of hunky-dory Elixir features
Scratching the surface of hunky-dory Elixir features
Adam Hodowany
Troubleshooting Plone
Troubleshooting Plone
Ricado Alves
"Character sets and iconv" PHP source code
"Character sets and iconv" PHP source code
Daniel_Rhodes
Django Environment
Django Environment
Loren Davie
Bloqueador cmd-sh
Bloqueador cmd-sh
msbertoldi
QNlocal: Docker, Continuous Integration, WordPress e milioni di visite. Si è ...
QNlocal: Docker, Continuous Integration, WordPress e milioni di visite. Si è ...
alessandro mazzoli
Php mysql
Php mysql
Alebachew Zewdu
Introduction to PHP
Introduction to PHP
Bradley Holt
Php Lecture Notes
Php Lecture Notes
Santhiya Grace
Perl basics for Pentesters
Perl basics for Pentesters
Sanjeev Kumar Jaiswal
Php hacku
Php hacku
Tom Praison Praison
More Related Content
What's hot
Presentation on php string function part-1
Presentation on php string function part-1
Mysoftheaven (BD) Ltd.
Barely Legal Xxx Perl Presentation
Barely Legal Xxx Perl Presentation
Attila Balazs
PHP and Databases
PHP and Databases
Things Lab
Unix shell scripting basics
Unix shell scripting basics
Abhay Sapru
Three Objectionable Things
Three Objectionable Things
Pete Goodliffe
De 0 a 100 con Bash Shell Scripting y AWK
De 0 a 100 con Bash Shell Scripting y AWK
Adolfo Sanz De Diego
Generating Power with Yield
Generating Power with Yield
Jason Myers
Synapseindia php development tutorial
Synapseindia php development tutorial
Synapseindiappsdevelopment
PHP an intro -1
PHP an intro -1
Kanchilug
PHPerのためのPerl入門@ Kansai.pm#12
PHPerのためのPerl入門@ Kansai.pm#12
Kazuki KOMORI
PHP Basics and Demo HackU
PHP Basics and Demo HackU
Anshu Prateek
Scratching the surface of hunky-dory Elixir features
Scratching the surface of hunky-dory Elixir features
Adam Hodowany
Troubleshooting Plone
Troubleshooting Plone
Ricado Alves
"Character sets and iconv" PHP source code
"Character sets and iconv" PHP source code
Daniel_Rhodes
Django Environment
Django Environment
Loren Davie
Bloqueador cmd-sh
Bloqueador cmd-sh
msbertoldi
QNlocal: Docker, Continuous Integration, WordPress e milioni di visite. Si è ...
QNlocal: Docker, Continuous Integration, WordPress e milioni di visite. Si è ...
alessandro mazzoli
Php mysql
Php mysql
Alebachew Zewdu
What's hot
(18)
Presentation on php string function part-1
Presentation on php string function part-1
Barely Legal Xxx Perl Presentation
Barely Legal Xxx Perl Presentation
PHP and Databases
PHP and Databases
Unix shell scripting basics
Unix shell scripting basics
Three Objectionable Things
Three Objectionable Things
De 0 a 100 con Bash Shell Scripting y AWK
De 0 a 100 con Bash Shell Scripting y AWK
Generating Power with Yield
Generating Power with Yield
Synapseindia php development tutorial
Synapseindia php development tutorial
PHP an intro -1
PHP an intro -1
PHPerのためのPerl入門@ Kansai.pm#12
PHPerのためのPerl入門@ Kansai.pm#12
PHP Basics and Demo HackU
PHP Basics and Demo HackU
Scratching the surface of hunky-dory Elixir features
Scratching the surface of hunky-dory Elixir features
Troubleshooting Plone
Troubleshooting Plone
"Character sets and iconv" PHP source code
"Character sets and iconv" PHP source code
Django Environment
Django Environment
Bloqueador cmd-sh
Bloqueador cmd-sh
QNlocal: Docker, Continuous Integration, WordPress e milioni di visite. Si è ...
QNlocal: Docker, Continuous Integration, WordPress e milioni di visite. Si è ...
Php mysql
Php mysql
Similar to An Introduction to PHP... and Why It's Yucky!
Introduction to PHP
Introduction to PHP
Bradley Holt
Php Lecture Notes
Php Lecture Notes
Santhiya Grace
Perl basics for Pentesters
Perl basics for Pentesters
Sanjeev Kumar Jaiswal
Php hacku
Php hacku
Tom Praison Praison
Web 8 | Introduction to PHP
Web 8 | Introduction to PHP
Mohammad Imam Hossain
2014 database - course 2 - php
2014 database - course 2 - php
Hung-yu Lin
HackU PHP and Node.js
HackU PHP and Node.js
souridatta
Php Crash Course - Macq Electronique 2010
Php Crash Course - Macq Electronique 2010
Michelangelo van Dam
PHP for hacks
PHP for hacks
Tom Praison Praison
Perl Moderno
Perl Moderno
Tiago Peczenyj
Unix Shell Scripting Basics
Unix Shell Scripting Basics
Dr.Ravi
Top 10 php classic traps php serbia
Top 10 php classic traps php serbia
Damien Seguy
Node.js for PHP developers
Node.js for PHP developers
Andrew Eddie
My shell
My shell
Ahmed Salah
Good Evils In Perl
Good Evils In Perl
Kang-min Liu
My cool new Slideshow!
My cool new Slideshow!
omprakash_bagrao_prdxn
slidesharenew1
slidesharenew1
truptitasol
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Arc & Codementor
Modern Perl
Modern Perl
Marcos Rebelo
Zend Certification Preparation Tutorial
Zend Certification Preparation Tutorial
Lorna Mitchell
Similar to An Introduction to PHP... and Why It's Yucky!
(20)
Introduction to PHP
Introduction to PHP
Php Lecture Notes
Php Lecture Notes
Perl basics for Pentesters
Perl basics for Pentesters
Php hacku
Php hacku
Web 8 | Introduction to PHP
Web 8 | Introduction to PHP
2014 database - course 2 - php
2014 database - course 2 - php
HackU PHP and Node.js
HackU PHP and Node.js
Php Crash Course - Macq Electronique 2010
Php Crash Course - Macq Electronique 2010
PHP for hacks
PHP for hacks
Perl Moderno
Perl Moderno
Unix Shell Scripting Basics
Unix Shell Scripting Basics
Top 10 php classic traps php serbia
Top 10 php classic traps php serbia
Node.js for PHP developers
Node.js for PHP developers
My shell
My shell
Good Evils In Perl
Good Evils In Perl
My cool new Slideshow!
My cool new Slideshow!
slidesharenew1
slidesharenew1
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Building Modern and Secure PHP Applications – Codementor Office Hours with Be...
Modern Perl
Modern Perl
Zend Certification Preparation Tutorial
Zend Certification Preparation Tutorial
Recently uploaded
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April Automation LPDG
MarianaLemus7
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
carlostorres15106
costume and set research powerpoint presentation
costume and set research powerpoint presentation
phoebematthew05
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Patryk Bandurski
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Miki Katsuragi
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
shyamraj55
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Fwdays
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Fwdays
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
gvaughan
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Fwdays
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
Recently uploaded
(20)
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April Automation LPDG
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
costume and set research powerpoint presentation
costume and set research powerpoint presentation
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
An Introduction to PHP... and Why It's Yucky!
1.
<?php ?> echo
`An introduction to PHP`;
2.
<?php ?> echo
`An introduction to PHP`; echo `7 reasons why it’s yucky`;
3.
<?php ?> echo
`First, the good parts`; var_dump([ `Web’s most popular server lang`, `Incredibly easy to deploy`, `WordPress, uber popular framework`, `Templating is built-in` ]);
4.
<?php ?> echo
`Problem #1`; echo `Templating is built-in`; foreach($arr as $el) { echo `<p>`; echo doSomeMysteriousThing($el); echo `</p>`; }
5.
<?php ?> echo
`Problem #2`; echo `It can be very inconsistent`; echo 'hello nworld'; // hello nworld echo "hello nworld"; // hello // world
6.
<?php ?> echo
`Problem #3`; echo `Everything is a function!!!`; array_push($arr, `abc`); // 5.3 array_key_exists($arr, `abc`); // bool $r = array_merge($arr, [`abc`]); $r = array_map(`func`, $arr); $r = count($arr);
7.
<?php ?> echo
`Problem #4`; echo `Equality is unequal`; `6` == ` 6` // true `133` == `0133` && 133 != 0133; // true `foo` == 0 && `foo` == true; // true NULL < -1 && NULL == 0; // true
8.
<?php ?> echo
`Problem #5`; echo `Scope is weird...`; if (1 === 1) { $v = `if`; } function a() { $v = `a`; } function b() { global $v; $v = `b`; } a(); echo $v; // `if` b(); echo $v; // `b`
9.
<?php ?> echo
`Problem #6`; echo `Debugging is terrible!`; echo $arr; // `Array` print_r($arr); // Array ( [0] => 1 [1] var_dump($arr); // array(4) { [0]=> int( var_dump(debug_backtrace());
10.
<?php ?> echo
`Problem #7`; echo `Documentation is terrible`; echo ($documentation == $forum); // 1
11.
<?php ?> echo
`In the end...`;
12.
<?php ?> echo
`In the end...`; echo `...it doesn’t matter that much`; $u = `http://blog.codinghorror.com/`; $u .= `php-sucks-but-it-doesnt-matter`; echo $u;
Download now