Writing PHP classes via Magic

When writing .php or .class.php files via TypeStack Magic, you should not include the <?php opening tag in sContent.

The Agent automatically prepends a PHP opening tag on the server side for these files. This avoids security filters that might block PHP code in HTTP request bodies, while still producing a valid PHP file on disk.

In other words: send only the class body, and let the backend handle the <?php tag.