Welcome visitor
* Login
* Register
It is currently January 22nd, 2019, 8:58 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Server Side » PHP



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  another array question
PostPosted: March 25th, 2009, 1:49 am 
User avatar

Posts: 63
i've heard that there is some way to do like special paste between arrays, so if you modify one of them, the other changes as well, anybody knows about that?


Top
 Profile  
 
  Re: another array question
PostPosted: March 25th, 2009, 1:55 am 
User avatar

Posts: 79
'&' is a reference operator
$arr3 = &$arr1;
//when arr3 is modified arr1 is changed too, and viceversa


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Server Side » PHP


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron