is_reference?
| From: | GaM3R | Date: | Wed, 19 Dec 2001 05:29:02 +0000 |
| Subject: | is_reference? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78177@lists.php.net to get a copy of this message | ||
ok, the idea is this
foreach ( $_user_details as $key=>$value ) {
$return_array["$key"] = &$_user_details["$key"];
}
im doing that and i want that when $return_array gets updated and isnt a reference anymore to be
able to add it to the sql for an update, thats no problem IF i can work out a way to test if its a
reference or a new string to update the database with
any suggestions?
i know i can foreach and == test them but an is_reference would be faster if it existed :/
Cameron