This is a big issue for creating comments in languages, like Italian, where apostrophes are common.
The following comment in an internal SC project library contains a single quote (’):
<?php
/**
* test [B]' [/B]test
*/
function import_start($param)
{
....
And will result in this error when an app tries to use the function inside the library.
Fatal error: Call to undefined function import_start() in…
The error disappear by just removing the single quote or by ‘closing’ it:
E.g. of a comment not causing a fatal error:
<?php
/**
* test [B]'[/B]test[B]'[/B]
*/
function import_start($param)
{
....