Back to index

php5  5.3.10
save_handler_closures.inc
Go to the documentation of this file.
00001 <?php
00002 
00003 require_once 'save_handler.inc';
00004 
00005 foreach (array ('open', 'close', 'read', 'write', 'destroy', 'gc') as $fn) {
00006        ${$fn.'_closure'} = function () use ($fn) { return call_user_func_array ($fn, func_get_args ()); };
00007 }
00008 
00009 ?>