php输出出错
程序如下:<?php
$str1=1234567890;
$str2=ox1234567890;
$stt3=o1234567890;
$str4=o1234567;
echo'数字1234567890不同进制的输出结果:<p>';
echo'十进制的输出结果:'.$str1.'<br>';
echo'十六进制的输出结果:'.$str2.'<br>';
echo'八进制的结果:';
if ($str3==$str4)
{
echo'$str3=$str4:'.$str3;
}
else
{
echo'$str3!=str4';
}
?>
执行后出现错误:
Notice: Use of undefined constant ox1234567890 - assumed 'ox1234567890' in D:\php\all\www\jzsc.php on line 3
Notice: Use of undefined constant o1234567890 - assumed 'o1234567890' in D:\php\all\www\jzsc.php on line 4
Notice: Use of undefined constant o1234567 - assumed 'o1234567' in D:\php\all\www\jzsc.php on line 5
数字1234567890不同进制的输出结果:
十进制的输出结果:1234567890
十六进制的输出结果:ox1234567890
八进制的结果:
Notice: Undefined variable: str3 in D:\php\all\www\jzsc.php on line 10
$str3!=str4
请问这是怎么回事怎么改正???