From:             shimon at schoolportal dot co dot il
Operating system: na
PHP version:      4.4.5
PHP Bug Type:     Feature/Change Request
Bug description:  future request:add "safe eval" function

Description:
------------
i would be cool to have a "safe eval" function
for example:
eval($code, $safe=true,$safe_alow,$safe_disalow ,or  $safe_ini_settings);

i do want users to insert some code to use database and simple php
in their free web site to create info boxes and small website components 
or php in their site templates. but i want to stay safe.


-- 
Edit bug report at http://bugs.php.net/?id=40722&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40722&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40722&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40722&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=40722&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=40722&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=40722&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=40722&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=40722&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=40722&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=40722&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=40722&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=40722&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=40722&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40722&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=40722&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=40722&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=40722&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40722&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=40722&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=40722&r=mysqlcfg

Reply via email to