PHP: Check if PID is running

I needed to write a small function, that can check if a specific PID is running an linux/unix system.

Check it out on Gist:

Symfony2: Doctrine github Repos moved from symfony to doctrine

Today i tried to run php bin/vendors install and got this output:

and this:

You have to change dour deps file like this to resolve the problem:



Official change:

PHP: Remove “empty” elements from Array

I recently read more about functional programming and found some functions in PHP that tend in that direction.

Like this function that removes all empty entrys from a array:

To understand what array_filter does, have a look at this version with foreach():