It kind of works in ideone.com - http://ideone.com/fMr3qY