diff options
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1687,3 +1687,14 @@ function build_querystring($params, $name=null) { } return $ret; } + + +// much better way of dealing with c-style args + +function argc() { + return get_app()->argc; +} + +function argv($x) { + return get_app()->argv[$x]; +} |