All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
对GridView数据控件进行绑定
delphiDelphi多彩的菜单实例
XML入门教程-使用CSS显示XML_[XML教程]
PHP编程技巧:看实例学正则表达式_[PHP教程]
推荐:ASP.NET虚拟主机安全漏洞解决方案_.net资料_编程技术
PHP,开发中的中文编码问题_php资料_编程技术
用javascript打造搜索工具栏_JavaScript技术_编程技术
HTML组件HTML COMPONENTS之四_[Html教程]
详细解析Apache服务器实现的用户验证_php资料_编程技术
VS2005中获取新增记录的ID方法总结_[Asp.Net教程]
Reading number is top 10 pictures
Take you to walk into the most true north Korea rural2
接财神,大吉大利,财源滚滚来
2012 national geographic daily picture9
女人化妆前后的对比
Photographed the passion of the clients and prostitutes in the sex trade picture2
Perfect small Laurie2
夕阳下的北京街道
Beauty ZhiHuiLin1
Kim jong il's mistress, national beauty JinYuJi actor2
The money of more than 100 countries and regions2
Download software ranking
asp.netWeb服务器高级编程
Macromedia Dreamweaver 8
Ashlynn Video1
matrix3
Rio big adventure
I'm come from Beijing1
Boxer's Top ten classic battle10
1400篇各类破解文章
Unix video tutorial18
Tram sex maniac 2 (H) rar bag15
归海一刀 published in(发表于) 2014/2/17 7:38:34 Edit(编辑)
PHP的print函数_[PHP教程]

PHP的print函数_[PHP教程]

PHP的print函数_[PHP教程]

PHP的print函数,姑且说是函数吧啊。可以使用在PHP 4, PHP 5的环境中。


print函数的作用就是输出一个字符串。使用方法:

int print ( string arg )



print() 是一个语言结构而非函数,因此它无法被变量函数调用。 请看下面的演示:)


print("Hello World");


print "print() also works without parentheses.";


print "This spans
multiple lines. The newlines will be
output as well";


print "This spans\nmultiple lines. The newlines will be\noutput as well.";


print "escaping characters is done \"Like this\".";


// You can use variables inside of a print statement
foo = "foobar";
bar = "barbaz";


print "foo is foo"; // foo is foobar


// You can also use arrays
bar = array("value" => "foo");


print "this is {bar['value']} !"; // this is foo !


// Using single quotes will print the variable name, not the value
print 'foo is foo'; // foo is foo


// If you are not using any other characters, you can just print variables
print foo; // foobar


print <<This uses the "here document" syntax to output
multiple lines with variable interpolation. Note
that the here document terminator must appear on a
line with just a semicolon no extra whitespace!
END;
?>


注意: 由于这是一个语言结构而非函数,因此它无法被变量函数调用。







添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.