Bug #3980: No execution of pretokenized scripts

From: Date: Thu, 30 Mar 2000 13:49:10 +0000
Subject: Bug #3980: No execution of pretokenized scripts
Groups: php.dev 
Request: Send a blank email to php-dev+get-17409@lists.php.net to get a copy of this message
From: t.rogall@jensen-stuart.de Operating system: Windows NT / IIS 4 PHP version: 3.0.11 PHP Bug Type: Other Bug description: No execution of pretokenized scripts I want to use pretokenized scripts. There is no problem to pretokenize and to execute scripts with 'php -p file.php' and 'php -e file.php.php3p' on the COMMANDLINE. Since pretokenized scripts are not directly recognized by php, I configured my IIS to handle .php3p as a CGI with 'c:/php3/php.exe -e %s %s'. In the browser I get the message 'Fatal error: Unable to open -e in - on line 0. No input file specified.'. Obviously php ignores commandline switches when it detects an HTTP-Environment. Is that the intended behaviour ? BTW: I didn't find ANY documentation of handling pretokenized scripts in php on the internet ...

« previous php.dev (#17409) next »