Version}\n"; //bring it to front $word-Visible = 1; //open an empty document $w。php大于等于怎么写。" />

php大于等于怎么写

1.PHP中 >=和>;=就是大于等于,一般用于if语句,很好理解
->;用于类操作,举例如下:
$word = new COM("word.application") or die("Unable to instantiate Word");
echo "Loaded Word, version {$word->Version}\n";
//bring it to front
$word->Visible = 1;
//open an empty document
$word->Documents->Add();
//do some weird stuff
$word->Selection->TypeText("This is a test 。");
$word->Documents[1]->SaveAs("Useless test.doc");
//closing word
$word->Quit();
//free the object
$word = null;
?>
【php大于等于怎么写】

php大于等于怎么写

文章插图