You are here: php -r « PHP Programming Language « IT news, forums, messages
php -r

Posted by Daniel Klein on 01/06/08 14:27

Does anyone have a simple example of using 'php -r <code>' ?

I had thought that this would work...

C:\>php -r echo "test";
PHP Parse error: syntax error, unexpected $end in Command line code
on line 1

But as you can see, it doesn't. I've tried Google'ing the answer to no
avail.

I'm using Windows/Apache/MySQL and:

PHP 5.2.5 (cli) (built: Nov 8 2007 23:18:51)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies


Daniel Klein

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация