如何在php中逃避冒号?

时间:2015-02-28 09:32:52

标签: php css

我想用这种格式将新字体添加到数组

font-family: yekan,open_sans;

我怎么能添加这个并逃脱冒号。它一定是这样的:

'yekan,open_sans'=>'yekan+sans'

$my_fonts = array(
'Arial' => 'Arial',
'Times New Roman' => 'Times New Roman',
'DroidArabicKufi' => 'DroidArabicKufi',
'SourceSansSemiBold' => 'SourceSansSemiBold',
'sourceSans' => 'sourceSans'
);

0 个答案:

没有答案