} var_dump($b); unset($a, $b); echo "\n" . '$a->b[0]->c' . "\n"; $b = $a->b[0]->c = array('original'); foreach ($a->b[0]->c as $k => &$v) { $v = 'changed'; } var_dump($b); unset($a, $b); class C { public static $a; } echo "\n" . 'C::$a' . "\n"; C::$a = array('original'); $b = C::$a; foreach (C::$a as $k => &$v) { $v = 'changed'; } var_dump($b); unset($a, $b); echo "\n" . 'C::$a[0]' . "\n"; C::$a[0] = array('original'); $b = C::$a[0]; foreach (C::$a[0] as $k => &$v) { $v = 'changed'; } var_dump($b); unset(C::$a[0], $b); echo "\n" . 'C::$a[0]->b' . "\n";
<?php C::a()->b->c($d['e']) && f($g['h']);
<?php namespace A\B\C; // integer error_reporting(0); // wrong constant error_reporting(T_SEMICOLON); error_reporting(E_ALL); error_reporting(E_ALL ^ E_NOTICE); error_reporting(E_PARSE | E_NOTICE | E_ERROR | E_WARNING); error_reporting(\E_PARSE | \E_NOTICE | E_ERROR | E_WARNING); error_reporting(E_PARSE | E_NOTICE | T_SEMICOLON | E_WARNING); get_html_translation_table(HTML_ENTITIES); get_html_translation_table(\HTML_ENTITIES); get_html_translation_table($x); get_html_translation_table($x->b); get_html_translation_table(f()); get_html_translation_table(C::a()); get_html_translation_table(T_COMMENT); get_html_translation_table(HTML_ENTITIES | HTML_ENTITIES); get_html_translation_table(null);
<?php function main() { $y = 20; var_dump($y += 10); $var = 'x'; $x = 20; var_dump(${$var} += 10); $_SERVER = 20; var_dump($_SERVER += 10); class C { public static $a; } C::$a = 20; var_dump(C::$a += 10); } main();
<?php class C { static $a; } C::$a = 1; var_dump(C::$a);
<?php if (!B(C::$a)) { return; } C::$a = E(include __DIR__ . 'F', include __DIR__ . 'G', include __DIR__ . 'H', include __DIR__ . 'I');