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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 15:01:28 2024 UTC