note 95774 deleted from features.commandline by thiago

From: Date: Thu, 21 Jan 2010 13:13:29 +0000
Subject: note 95774 deleted from features.commandline by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-165163@lists.php.net to get a copy of this message
Note Submitter: php [spat] hm2k.org ---- I suspect this information may be useful to some of you... user@server [~]# php -r 'echo "test\n";' Error in argument 1, char 2: option not found r Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>] php <file> [args...] -a Run interactively -C Do not chdir to the script's directory -c <path>|<file> Look for php.ini file in this directory -n No php.ini file will be used -d foo[=bar] Define INI entry foo with value 'bar' -e Generate extended information for debugger/profiler -f <file> Parse <file>. Implies `-q' -h This help -i PHP information -l Syntax check only (lint) -m Show compiled in modules -q Quiet-mode. Suppress HTTP Header output. -s Display colour syntax highlighted source. -v Version number -w Display source with stripped comments and whitespace. -z <file> Load Zend extension <file>. user@server [~]# php -v PHP 5.2.8 (cgi) (built: Feb 9 2009 22:36:46) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies user@server [~]# php-cli -r 'echo "test\n";' test

« previous php.notes (#165163) next »