http://ideone.com/37iII