it was in php at least since php 3.0