Core of ring-php