打印和数组。 [英] Print and array.

查看:81
本文介绍了打印和数组。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


应该是一个简单的问题...你知道为什么以下两行

打印不是123但只有1?


$ aaa [2] = 123;

打印$ aaa [2];

Hello,

Should be a simple question... Do you know why the following two lines
print not "123" but only "1"?

$aaa[2] = 123;
print $aaa[2];

推荐答案

aaa [2] = 123;

print
aaa[2] = 123;
print


aaa [2];

aaa[2];


2005年7月5日星期二11:51:55 -0700,opt_inf_env写道:
On Tue, 05 Jul 2005 11:51:55 -0700, opt_inf_env wrote:
应该是一个简单的问题...你知道为什么以下两行
打印不是123但只有1?
Should be a simple question... Do you know why the following two lines
print not "123" but only "1"?




他们没有


-

JDS | je*****@example.inva 盖子

| http://www.newtnotes.com

DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/



They don''t

--
JDS | je*****@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/


这篇关于打印和数组。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆