opt
/
cpanel
/
ea-wappspector
/
vendor
/
squizlabs
/
php_codesniffer
/
src
/
Standards
/
MySource
/
Tests
/
PHP
➕ New
📤 Upload
✎ Editing:
EvalObjectFactoryUnitTest.inc
← Back
<?php function getWidget($type) { eval('$obj = new '.$type.'();'); return $obj; }//end getWidget() function getWidget2($type) { $string = '$obj = new '.$type.'();'; eval($string); eval('$string = "";'); return $obj; }//end getWidget2() function getWidget3($type) { $string = '$obj = new '; eval($string.$type.'();'); return $obj; }//end getWidget3() ?>
💾 Save Changes
Cancel
📤 Upload File
×
Select File
Upload
Cancel
➕ Create New
×
Type
📄 File
📁 Folder
Name
Create
Cancel
✎ Rename Item
×
Current Name
New Name
Rename
Cancel
🔐 Change Permissions
×
Target File
Permission (e.g., 0755, 0644)
0755
0644
0777
Apply
Cancel