PHP 字符串处理

1.使用sprintf来格式化字符串echo和print函数是输出字符串使用最普遍的函数。php$num=3;//定义变量$num为3$location=’desk’;//定义变量$location为desk$format=’Thereare%dapplesonthe%s.<br

网站地图