- var_dump: documentation ( source)
- reset: documentation ( source)
- array_merge: documentation ( source)
- explode: documentation ( source)
<?php
$data['meta'] = array('parameter' => 'jo', 'irgendwas' => 'so');
$data['id'] = 'dsoifjdsf:dsfoijdsoi:dofds';
$mapping = explode(':', $data['id'], 1);
$data['meta'] = array_merge($data['meta'], array('parameter' => reset($mapping)));
var_dump($mapping);