You are here: Re: [Test Needed] PHP [win32] & CLI required for testing. « All PHP « IT news, forums, messages
Re: [Test Needed] PHP [win32] & CLI required for testing.

Posted by Janwillem Borleffs on 09/28/43 11:58

d43m0n AT shaw DOT ca wrote:
> What I need is someone with Windows to execute the code below, and
> report the results, wether or not it is truely possible for win32
> environments to process such loop.
>

Seems to work

> if (version_compare(phpversion(), '5.0.0', '<')) {
>

Using the following is faster:

if (PHP_VERSION < 5) {

> define('STDIN', fopen('php://stdin', 'r'));
>

PHP only supports scalar values for constants, see:
http://nl3.php.net/manual/en/language.constants.php


JW

 

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

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