PHP extension implements PSR classes in C