<?php $string = "aaa =bbb ccc ddd eee= zzz";$matches = preg_split('/ /', preg_replace('/^.*?=|=.*?$/', '', $string));print_r($matches);
Standard input is empty
Array ( [0] => bbb [1] => ccc [2] => ddd [3] => eee )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!