Blog Home


Fatal Error Cannot Redeclare Function II

Putting our function inside a class to avoid collisions

Fatal Error Cannot Redeclare Function I

Fixing the PHP error: Fatal Error Cannot Redeclare Function

Multi-Line Regex Searches in PhpStorm

Searching for regex patterns across multiple lines

Imploding an Associative Array

Display formatted content from an associative array with implode()

Using implode() to Convert an Array to a String

Create a string from an array with implode()

Using explode() to Create Associative Arrays

Creating an associative array with keys and values from a snippet property

Using explode() to create arrays

How to convert a comma-separated list in a snippet property to an array in your snippet

Replacing Strings with an Associative Array (PHP)

Use an associative array to do multiple string-replace operations

A PHP Code Clarity Tip

A more readable alternative to some complex if statements in PHP.

Git Bash Inside PhpStorm

Launch a floating Git bash window inside PhpStorm with a single click