Carl Alexander: Use PHP Arrays Like a Boss

2 responses on “Carl Alexander: Use PHP Arrays Like a Boss

  1. Bridget Willard
  2. Bridget Willard

    Carl’s companion article is here:

    https://carlalexander.ca/php-array-functions-instead-loops/

    Like

Continue the discussion

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Published

September 25, 2016

You’ve heard of the good ol’ school PHP loops. You have your “for” loops, your “foreach” loops, your “while” loops, your “fruit” loops… Well maybe not that last one!

As a WordPress developer, you use arrays and loops all the time. They’re an essential part of your developer toolbox. But do you know everything about them?

PHP has a wealth of array functions. They’re used by PHP experts to make their life easier. They let you reduce the amount of PHP code you need. This helps prevent bugs and makes your code more maintainable.

You’ll learn about functions like array_filter, array_map and array_reduce. All within the context of regular WordPress work. By the end of this talk, loops won’t look at you the same way ever again.

Presentation Slides »

Rate this:

Event

WordCamp Los Angeles 2016 20

Speakers

Carl Alexander 14

Tags

Arrays 1
PHP 61

Language

English 8315

Download
MP4: Low, Med, High
OGG: Low
Subtitles
Subtitle this video →
%d bloggers like this: