php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3980 No execution of pretokenized scripts
Submitted: 2000-03-30 08:49 UTC Modified: 2000-06-23 12:40 UTC
From: t dot rogall at jensen-stuart dot de Assigned:
Status: Closed Package: Other
PHP Version: 3.0.11 OS: Windows NT / IIS 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: t dot rogall at jensen-stuart dot de
New email:
PHP Version: OS:

 

 [2000-03-30 08:49 UTC] t dot rogall at jensen-stuart dot de
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 ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-23 12:40 UTC] hholzgra at cvs dot php dot net
pretokenization was a failed experiment
and is not even supposed to be functional

just don't use it!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 20:01:29 2024 UTC