# how to return a copy of arguments but using CopyOnWrite scheme?

- Thread: https://externals.io/message/11848
- Original archive: https://news-web.php.net/php.internals/11848
- Started by tinys xuefer on 2004-08-03T03:23:29+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11848 — tinys xuefer — 2004-08-03T03:23:29+00:00

URL: https://externals.io/message/11848#11848

i'm truying to write a ext  for php, personal usage
in some case, my function modify the value and return
for performance issue, i'd like to use CopyOnWrite scheme for the case 
returning without modify
but how?

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail
