Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Run Geek Radio:
Episode 009 – Crawling Before We Can Walk
Oct 15, 2015 @ 13:43:15

The Run Geek Radio podcast, hosted by PHP community member Adam Culp, has posted its latest episode - Episode 099: Crawling Before We Can Walk.

So many startups attempt to skip the crawling stages and the MPV (minimum viable product) as they push to become successful. Just as many developers attempt to skip the vital stages of learning and forge ahead to create bugs, security holes, and poor code. Adam Culp, the host of Run Geek Radio, talks about how important it is to crawl before we can walk.

He also talks about the ZendCon and Sunshine PHP conferences (he's an organizer for both) and an update on some of his own personal speaking and running happenings. You can listen to this latest episode using either the in-page audio player or by downloading the mp3 of the show. You can also subscribe to the feed to get info about future episodes as they're released.

tagged: rungeekradio ep9 podcast adamculp crawl walk startup learning zendcon sunshinephp

Link: https://rungeekradio.com/episode-009-crawling-before-we-can-walk/

Array Manipulation in PHP, the Correct Way
Nov 08, 2013 @ 10:08:04

On the Leve.rs blog there's a recent post showing what they consider is the right way to work with arrays in PHP. It shows three things you can do to use PHP's own functionality to more correctly perform some common array operations.

More often than not, when PHP developers debug others’ code, the majority of each method is taken up by array manipulations. Spending this much time on array manipulations is a huge hassle when trying to understand any given method. In order to speed up the debugging process, it’s important to start writing array manipulations the correct way, first. Here are a few examples of code I have either written myself or had to fix in the past. It is time every PHP developer knows how to manipulate arrays properly!

Their three tips relate to:

  • Merging Arrays
  • Array Value Manipulation (with array_walk)
  • Array Value Manipulation (append with the plus sign, "+")
tagged: array manipulation correct merge value walk plus

Link: http://leve.rs/blog/correct-array-manipulation-in-php/