note 38982 added to function.func-get-args

From: Date: Wed, 14 Jan 2004 01:02:56 +0000
Subject: note 38982 added to function.func-get-args
Groups: php.notes 
Request: Send a blank email to php-notes+get-63485@lists.php.net to get a copy of this message
Here is a very easy way to make your own array function using func_get_args(): <?php function my_array() { return func_get_args(); // Will act like an array construct } ?> ---- Manual Page -- http://www.php.net/manual/en/function.func-get-args.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38982 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38982&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38982&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#63485) next »