php - Can i use two quotations with Array()? -
i translate website french, know if correct
$lang = array(  "tittle" => "c'est bien", "desc" => "bienvenue sur mon site", ); if use:
'tittle' => 'c'est bien', i error.
there nothing can't mix string delimiters convenient
$lang = array(     'tittle' => "c'est bien",     'desc' => 'bienvenue sur mon site', ); personally, use single quotes around simple strings, rather use double quotes in case rather escape. me seems more readable.
Comments
Post a Comment