1<?php
2
3require_once 'save_handler.inc';
4
5foreach (array ('open', 'close', 'read', 'write', 'destroy', 'gc') as $fn) {
6    ${$fn.'_closure'} = function () use ($fn) { return call_user_func_array ($fn, func_get_args ()); };
7}
8
9?>
10