- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.25
- Parse error: syntax error, unexpected ')' in /in/rWSm6 on line 8
Process exited with code 255.
<?php
$newstring = 'Volvo Trucks - Rajnikanth - The Epic Split feat. (Live Test 6) @xyz Thalaivar Epic Split Rajanikanth Rajinikanth Rajani Auto Auto rikshaw and also @xyz.abc http://another.net @bac.def this is tesging @pqr ';
$array = explode(" ", $newstring);
$result=array();
foreach($array as $key=>$value)
{
if( strpos($value, '@', 0) == 0)
$result[$key] = $value);
}
$result = array_values($result);
print_r($result);
?>