can PHP do what tie does in Perl?
| From: | Bing Du | Date: | Thu, 01 Dec 2005 22:16:23 +0000 |
| Subject: | can PHP do what tie does in Perl? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226743@lists.php.net to get a copy of this message | ||
Hi,
In Perl, hash can be stored in a file like this:
tie(%contact,'SDBM_File',$tmp_file,O_RDWR|O_CREAT,0666);
How the function should be implemented in PHP if it's possible?
Thanks,
Bing