Для просмотра скрытого содержимого вы должны войти или зарегистрироваться.
Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
namespace ns1;
class Model
{
const c1 = "222";
public $v = '1';
public static $v2 = "123";
public static $s1;
public static function find()
{
print "123";
}
public function f() {
print "2";
}
}
class Product extends Model {
const c2 = "11";
public static $s2;
public function f2() {
print "3";
}
}
class Product2 extends Product{}
namespace ns2;
class Product {
const cc2 = "44";
public static $ss2;
public function ff2() {
print "4";
}
}
class Product2 extends Product {}
${"var1{$varname}"} = '1';
${"foo$one"} = '2';
${'foo' . ONE} = '3';
${'foo' . one()} = '4';
$output = $controller->{$controller->action}($this->params);
$output = $controller->$controller->action($this->params);
$r = $aaa->{"aabbn"."asdsa"}();
$r = $aaa->{"aabbn"}();
pp::w12( );
@${"authorized$qq"};
${"authorized$qq"};
$this->$vname = 123;
print __DIR__;
list($v->a, $v->b) = fn(); // расклеивал на 2 неработающих строки
print ("a" . "b" . "c" . "d"); // print ("abcd");
$id = "a" . "b". $v . "c"; // $id = "ab".$v."c";
$q = "";
$v = "{$a}";
$c = $d;
$c = $e. $h["{$h2}"]. $h["{$h1}"]. $h["{$h1}"];
$m = $z["{$h2}"]. $q. $z["{$h1}"];
$r = "kk $vr $q->e {$a->b->c} \n\ra$v[0]a\ta $b\0asd{$v['0']}qw{$v[0][2]}er".$v."\$te\\st";
$r = "a{$v}aa ' bbb \' \\ \\\'";
list($a, $b, $c) = each($var);
print ("a" . "b" . "c" . "d");
$id = "a" . "b". $v . "c";
preg_match("/[A-Z]\\$\t[a-z0-9]*$\37/"."asdasd", $a, $b);
preg_match("/[A-Z]\$[a-z0-9]*$\37/"."asdf"."asdsad{$dsdf}sadf", $a, $b);
$v = "a{$b}c{$e}sdfsdf{$as->dd}asdsdfgdflkfj";
$k = fn(preg_replace(array("/([A-Z])/"), array('${1}'), $k));
$k = preg_replace(array("/([A-Z])/"), array('${1}'), $k);
print fn("\$var \"str\" pass");
if (preg_match("/(\d+)\D+/", $s, $n));
if (CN == '\\');
for ($i = 0,$p = strlen ($q); ($i < $p); ++$i)
{
for ($p = &$q; ($i < $p); ++$i)
{
for ($p[0] = strlen ($q); ($i < $p); ++$i)
{
for ($p->v = strlen ($q); ($i < $p); ++$i)
{
}
}
}
}
while($i) { print "1"; }
do {
try {
echo 'outer try 2';
}
catch (OuterException $e) {
echo $e;
}
} while ($v);
1 && ($a->f = 1);
1 || ($a->f = 1);
1 || ($a = 1);
1 || ($a[1] = 1);
1 || ($a = &$b);
1 && $a->f = 1;
1 || $a->f = 1;
1 || ($a = 1);
1 || $a[1] = 1;
1 || ($a = &$b);
try
{
return 1;
}
catch ( Exception $e )
{
if ($v)
{
throw $e;
}
}
class cl
{
const C = "123";
static $v = array(Cl::C=>"aaa");
static $v2 = array(self::C=>"aaa");
}
class cl
{
const C = "123";
static public $v = array("Cl::C\000\b" => NULL);
static public $v2 = array("self::C\000\b" => NULL);
}