$dir = $_GET["dir"]; if (isset($dir)) { echo "<pre>"; system("ls -al " . $dir); echo "</pre>"; }
read -p "please input ip:" IPping $IP -w &> /dev/null && echo $IP is up || echo $IP is down
$a=(2>2)?2:3?++$a:--$a; echo $a;
$count = 5; function get_count() { static $count = 0; return $count++; } ++$count; get_count(); echo get_count();