Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 74f4b772aa
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (21 sloc) 0.747 kb
Runkit_Sandbox_Parent Class -- Locked Patricide
<?php if(!extension_loaded("runkit") || !RUNKIT_FEATURE_SANDBOX) print "skip";
/* May not be available due to lack of TSRM interpreter support */
if(!function_exists("runkit_lint")) print "skip"; ?>
$php = new Runkit_Sandbox();
$php['parent_access'] = true;
echo "Before die()\n";
$php->eval('$PARENT = new Runkit_Sandbox_Parent;
echo "After die()\n";
Before die()
Warning: Runkit_Sandbox_Parent::die(): Patricide is disabled. Shame on you Oedipus. in Unknown(0) : Runkit_Sandbox Eval Code on line 2
After die()
Jump to Line
Something went wrong with that request. Please try again.