Modified php cas file