CKEditor protectedSource configuration

Sorry I go the php one wrong. But it is better to put this in a custom config file with a different syntax

config.protectedSource.push(/<code>[\s\S]*?<\/code>/gi);
config.protectedSource.push(/<\?php[\s\S]*?\?>/gi);