PageRenderTime 400ms queryFilters 23ms Sphinxql 162ms GetByIds 201ms meta 0ms repositoryFilters 17ms languageFilters 2ms sourceFilters 2ms

15,647 results for 'php getopt repo:appmode/nagiosplugins-php' (400 ms)

Source

Language

Repository

mkdist.php https://github.com/artemzi/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/awakmu/PHP.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
240	"win32/install.txt" => "install.txt",
250$general_files = array(
251	"php.gif"			=>	"php.gif",
252);
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/barracudanetworks/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/beckbikang/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/billschaller/php-src.git | PHP | 546 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
459}
460copy('run-tests.php', $test_dir . '/run-test.php');
461
493
494	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
495	 * broken out of the tarballs */
497	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
498	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
499}
mkdist.php https://github.com/bnovoa/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/bondezbond/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/bottleFriday/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/brighub/php-src.git | PHP | 548 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
240	"win32/install.txt" => "install.txt",
241	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
242	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
461}
462copy('run-tests.php', $test_dir . '/run-test.php');
463
495
496	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
497	 * broken out of the tarballs */
499	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
500	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
501}
mkdist.php https://github.com/brtriver/php-src.git | PHP | 547 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
460}
461copy('run-tests.php', $test_dir . '/run-test.php');
462
494
495	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
496	 * broken out of the tarballs */
498	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
499	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
500}
mkdist.php https://github.com/kennyb/php-broken.git | PHP | 420 lines
197/* the core dll */
198copy("$build_dir/php.exe", "$dist_dir/php.exe");
199copy("$build_dir/$phpdll", "$dist_dir/$phpdll");
225	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
226	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
227);
234$general_files = array(
235	"php.gif"			=>	"php.gif",
236);
367
368	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
369	 * broken out of the tarballs */
371	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
372	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
373}
mkdist.php https://gitlab.com/renyunhuang/php-src.git | PHP | 574 lines
15
16$dist_dir = $build_dir . "/php-" . phpversion();
17$test_dir = $build_dir . "/php-test-pack-" . phpversion();
237	"README.REDIST.BINS" => "readme-redist-bins.txt",
238	"php.ini-development" => "php.ini-development",
239	"php.ini-production" => "php.ini-production",
487}
488copy('run-tests.php', $test_dir . '/run-test.php');
489
521
522	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
523	 * broken out of the tarballs */
525	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
526	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
527}
mkdist.php https://github.com/ifeghali/php-src.git | PHP | 486 lines
15$dist_dir = $build_dir . "/php-" . phpversion();
16$test_dir = $build_dir . "/php-test-pack-" . phpversion();
17$pecl_dir = $build_dir . "/pecl-" . phpversion();
225	"win32/install.txt" => 	"install.txt",
226	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
227	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
412	echo "Downloading go-pear\n";
413	copy("http://pear.php.net/go-pear", "$dist_dir/PEAR/go-pear.php");
414
433
434	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
435	 * broken out of the tarballs */
437	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
438	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
439}
mkdist.php https://github.com/vpj/PHP-Extension-API.git | PHP | 493 lines
15$dist_dir = $build_dir . "/php-" . phpversion();
16$test_dir = $build_dir . "/php-test-pack-" . phpversion();
17$pecl_dir = $build_dir . "/pecl-" . phpversion();
234	"win32/install.txt" => 	"install.txt",
235	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
236	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
419	echo "Downloading go-pear\n";
420	copy("http://pear.php.net/go-pear", "$dist_dir/PEAR/go-pear.php");
421
440
441	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
442	 * broken out of the tarballs */
444	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
445	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
446}
mkdist.php https://github.com/practicalweb/php-src.git | PHP | 494 lines
15$dist_dir = $build_dir . "/php-" . phpversion();
16$test_dir = $build_dir . "/php-test-pack-" . phpversion();
17$pecl_dir = $build_dir . "/pecl-" . phpversion();
234	"win32/install.txt" => 	"install.txt",
235	"win32/pws-php5cgi.reg" => "pws-php5cgi.reg",
236	"win32/pws-php5isapi.reg" => "pws-php5isapi.reg",
421	echo "Downloading go-pear\n";
422	copy("http://pear.php.net/go-pear", "$dist_dir/PEAR/go-pear.php");
423
442
443	/* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar)
444	 * broken out of the tarballs */
446	extract_file_from_tarball('Archive_Tar', 'Archive/Tar.php', "$dist_dir/PEAR/go-pear-bundle");
447	extract_file_from_tarball('Console_Getopt', 'Console/Getopt.php', "$dist_dir/PEAR/go-pear-bundle");
448}
Xinc.php https://gitlab.com/Tiger66639/xinc.git | PHP | 335 lines
1<?php
2/**
5 *
6 * PHP version 5
7 *
14 * @copyright 2007 David Ellis, One Degree Square
15 * @license   http://www.gnu.org/copyleft/lgpl.html GNU/LGPL, see license.php
16 *            This file is part of Xinc.
77
78        $opts = getopt(
79            'r:w:s:f:l:v:o',
142     *
143     * @param array $opts The options after php getopt function call.
144     * @param array $mapping Mapping from short to long argument names.
Cli.php https://gitlab.com/Tiger66639/xinc.git | PHP | 262 lines
1<?php
2/**
33
34        $opts = getopt(
35            'p:c:j:i:u:a:d:',
78    /**
79     * Returns path to the directory where configuration should be (PackageStates.php) but not tested.
80     *
151     *
152     * @param array $opts The options after php getopt function call.
153     * @param array $mapping Mapping from short to long argument names.
zend.console.getopt.configuration.rst https://github.com/gullij/zf2-documentation.git | Unknown | 205 lines
1.. EN-Revision: none
2.. _zend.console.getopt.configuration:
3
6
7.. _zend.console.getopt.configuration.addrules:
8
12Vous pouvez ajouter de nouvelles règles d'option en complément de celles indiquées dans le constructeur de
13``Zend\Console\Getopt``, en utilisant la méthode ``addRules()``. L'argument d'``addRules()`` est identique au
14premier argument du constructeur de classe. C'est soit une chaîne dans le format d'options de syntaxe courte, soit
14premier argument du constructeur de classe. C'est soit une chaîne dans le format d'options de syntaxe courte, soit
15un tableau associatif dans le format d'options de syntaxe longue. Voir :ref:`"Déclarer les règles Getopt"
16<zend.console.getopt.rules>` pour les détails sur la syntaxe de déclaration des options.
161
162- ``Zend\Console\Getopt::CONFIG_RULEMODE`` ("ruleMode") peut avoir les valeurs ``Zend\Console\Getopt::MODE_ZEND``
163  ("zend") ou ``Zend\Console\Getopt::MODE_GNU`` ("gnu"). Il ne devrait pas être nécessaire d'employer cette
zend.console.getopt.configuration.rst https://github.com/gullij/zf2-documentation.git | Unknown | 192 lines
1.. _zend.console.getopt.configuration:
2
5
6.. _zend.console.getopt.configuration.addrules:
7
10
11You can add more option rules in addition to those you specified in the ``Zend\Console\Getopt`` constructor, using
12the ``addRules()`` method. The argument to ``addRules()`` is the same as the first argument to the class
13constructor. It is either a string in the format of the short syntax options specification, or else an associative
14array in the format of a long syntax options specification. See :ref:`Declaring Getopt Rules
15<zend.console.getopt.rules>` for details on the syntax for specifying options.
16
17.. _zend.console.getopt.configuration.addrules.example:
18
151
152- ``Zend\Console\Getopt::CONFIG_RULEMODE`` ("ruleMode") may have values ``Zend\Console\Getopt::MODE_ZEND`` ("zend")
153  and ``Zend\Console\Getopt::MODE_GNU`` ("gnu"). It should not be necessary to use this option unless you extend
zend.console.getopt.configuration.rst https://github.com/gullij/zf2-documentation.git | Unknown | 205 lines
1.. EN-Revision: none
2.. _zend.console.getopt.configuration:
3
6
7.. _zend.console.getopt.configuration.addrules:
8
11
12Man kann mehr Optionsregeln hinzufügen, zusätzlich zu denen die schon im ``Zend\Console\Getopt`` Constructor
13definiert wurden, durch Verwendung der ``addRules()`` Methode. Das Argument für ``addRules()`` ist das gleiche wie
15wie für das Definieren für Optionen definiert, oder ein assoziatives Array im Format der langen Syntax wie für
16das Definieren für Optionen definiert. Siehe :ref:`Definieren von GetOpt Regeln <zend.console.getopt.rules>` für
17Details über die Syntax für die Definition von Optionen.
161
162- ``Zend\Console\Getopt::CONFIG_RULEMODE`` ("ruleMode") kann die Werte ``Zend\Console\Getopt::MODE_ZEND`` ("zend")
163  und ``Zend\Console\Getopt::MODE_GNU`` ("gnu") haben. Diese Option sollte nicht verwendet werden ausser die Klasse
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21