标题Figure 2-18: String/Number Conversion
日期:2008-01-22    作者:semirock   来源:http://444p.com
文章打印自: PHP学习之家
访问文章完全地址: http://www.444p.com/example/php-function/aid2047-String-Number-Conversion/
头部广告
Figure 2-18: String/Number Conversion
<HTML>
<HEAD>
<TITLE>Figure 2-18</TITLE>
</HEAD>
<BODY>
<?
print((1 + "1") . "<BR>\n");
print((1 + " 2") . "<BR>\n");
print((1 + "3extra stuff") . "<BR>\n");
print((1 + "4.5e6") . "<BR>\n");
print((1 + "a7") . "<BR>\n");
?>
</BODY>
</HTML>
责任编辑:semirock