language: PHP (php 5.4.4)
date: 134 days 9 hours ago
link:
visibility: private
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php 
$ar =    array
        (
            'Customer' => "xxxx xxxxxxxx",
            "Location" => "Edinburgh",
            "Description" => "Best xxxx xxxx in the UK by a long distance. 
 
Very friendly, would thoroughly recommend to anyone. 
 
xx xxxxxxx.",
            "Rating" => 5.0
        );
 
print_r($ar);
$ar = preg_replace('/[[:space:]]+/', ' ', $ar);
print_r($ar);