A library replacement of AOP PECL extension