<?php $string = '{[John][16 years old][New York]}{[Michael][22 years old][Las Vegas]}{[Smith][32 years old][Chicago]}';
Standard input is empty
Array ( [0] => John [1] => 16 years old [2] => New York [3] => Michael [4] => 22 years old [5] => Las Vegas [6] => Smith [7] => 32 years old [8] => Chicago )