Fix fancy whitespaces
Change testcode to valid php code