进制转换,不需要函数?直接默认转换整数型么?

<?php

$data_int1 = 123;

echo $data_int1;

echo "<br />";

$data_int2 = -123;

echo $data_int2;

echo "<br />";

$data_int3 = 0123;

echo $data_int3;

echo "<br />";

$data_int4 = 0x123;

echo $data_int4;

echo "<br />";

?>

J2167
浏览 1599回答 0
0回答
打开App,查看更多内容
随时随地看视频慕课网APP