OSD handled in C i.o. PHP