php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #41481 Execute a string as PHP code
Submitted: 2007-05-24 06:58 UTC Modified: 2007-05-26 00:16 UTC
From: hachque at gmail dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.2.2 OS:
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: hachque at gmail dot com
New email:
PHP Version: OS:

 

 [2007-05-24 06:58 UTC] hachque at gmail dot com
Description:
------------
A function which will execute a string as PHP code.  It should act exactly like include, except take a string argument instead of a file.
E.g. php_exec(string $code)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-24 07:14 UTC] johannes@php.net
Please read the documentation and look for eval...
 [2007-05-26 00:16 UTC] hachque at gmail dot com
Thanks for that.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 05:01:34 2025 UTC