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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
43 - 32 = ?
Subscribe to this entry?

 
 [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: Fri May 10 10:01:33 2024 UTC