I need to use this function :
[PHP]mb_internal_enc oding("UTF-8");[/PHP]
Into class to use it for every mb_ functions into other classes extends from the main class put it give me this error syntax error, unexpected T_STRING, expecting T_FUNCTION
that is my code example :
[PHP]class common{
mb_internal_enc oding("UTF-8");
}
class create extends common{
function call($value){
if(mb_strlen($v alue) < 4){
}
}
}[/PHP]
[PHP]mb_internal_enc oding("UTF-8");[/PHP]
Into class to use it for every mb_ functions into other classes extends from the main class put it give me this error syntax error, unexpected T_STRING, expecting T_FUNCTION
that is my code example :
[PHP]class common{
mb_internal_enc oding("UTF-8");
}
class create extends common{
function call($value){
if(mb_strlen($v alue) < 4){
}
}
}[/PHP]
Comment