Exemplo n.º 1
0
                echo 'b';
                break;
        }
        break;
}
// ArrayNested->off()
// Fifth: Nested arrays...
$aMyArray = array(array(array(array('el' => 1, 'el' => 2))));
// =
$a = 5;
$b = "";
$c = $a . $b;
$d .= " " . $b;
// Somebody remember callbacks?
// ArrayNested->on()
$aMyArray = array(array(array(array('el' => 1, 'el' => 2))));
// PHP5, dude!
throw new Exception();
$o->getArray()->createNewThing();
MyFunction::singleton()->record();
echo __FUNCTION__ . __LINE__ . __CLASS__;
// Nested ternary operators!!!
$a = $b ? $c ? $d : $e : $f;
// and switch again...
switch ($b) {
    case 'a':
        echo 'a';
    case 'b':
        echo 'b';
        break;
}