array_map_recursive (source):

function array_map_recursive($callback, $array)
  $func = function ($item) use (&$func, &$callback) {
    return is_array($item) ? array_map($func, $item) : call_user_func($callback, $item);

  return array_map($func, $array);


Mastering PhpStorm keyboard shortcuts #article - "PhpStorm has keyboard shortcuts for most of its commands related to editing, navigation, refactoring, debugging, and other tasks. Memorizing these hotkeys can help you stay more productive by keeping your hands on the keyboard."



Double Ctrl

Run Anything

Execute commands, such as opening a project, launching a run/debug configuration, running a command-line utility, and so on. The available commands depend on the set of plugins and tools you have configured for your project.

Double Shift

Search Everywhere

Find anything related to PhpStorm or your project and open it, execute it, or jump to it.


Find Action

Find a command and execute it, open a tool window or search for a setting.

⌘O ⇧⌘O ⌥⌘O

Find a class, file, or symbol

Find and jump to the desired class, file, or symbol.


View recent files

Select a recently opened file from the list.


Show intention actions

Improve or optimize a code construct.


Basic code completion

Complete names of classes, methods, fields, and keywords within the visibility scope.

⌥↑ ⌥↓

Extend or shrink selection

Increase or decrease the scope of selection according to specific code constructs.

⌘/ ⌥⌘/

Add/remove line or block comment

Comment out a line or block of code.


Highlight usages in a file

Highlight all occurrences of the selected fragment in the current file.

Slim - "Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs."

Last updated