Use php attribute array instead of osl-php