0

可能重复:
php中的“=&”/“&=”运算符是什么意思?
参考 - 这个符号在 PHP 中是什么意思?

如果我理解正确,=&则在 php5 和=& new Objequal中已弃用= new Obj。我有一个旧的包裹代码

$V8fa14cdd =& new FileMaker_Field($Vc6140495);

所以在本地主机上它工作得很好,但是当我复制到远程服务器 php 失败。如果我删除&

$V8fa14cdd = new FileMaker_Field($Vc6140495);

脚本适用于两台服务器,但结果不正确。看起来现在它使用相同的副本,所以结果我得到了

Array
(
[town] => town
)

当我将&结果更改添加到

Array
(
[AddrCalc] => AddrCalc
[AllowAccess] => AllowAccess
[ComNameCalc] => ComNameCalc
[DBID] => DBID
[DBexist] => DBexist
[FoundCount] => FoundCount
[Full_Name] => Full_Name
[addr1] => addr1
[business_name] => business_name
[country] => country
[county] => county
[email] => email
[fax] => fax
[firstname] => firstname
[flag] => flag
[fmconfirm] => fmconfirm
[hash] => hash
[id] => id
[lastname] => lastname
[mobile] => mobile
[modified] => modified
[modifiedCalc] => modifiedCalc
[password] => password
[postcode] => postcode
[ref1] => ref1
[ref2] => ref2
[ref3] => ref3
[ref4] => ref4
[telephone] => telephone
[town] => town
)

那么有什么想法为什么会这样吗?

4

0 回答 0