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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 03:01:28 2025 UTC