v5:reference:connection:serverinfo
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:serverinfo [2023/06/04 11:41] – ↷ Page moved from v5:dictionary:serverinfo to v5:reference:connection:serverinfo dregad | v5:reference:connection:serverinfo [2026/02/18 15:40] (current) – [Description] mnewnham | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The function | + | The function returns |
| - | See the below note about portability. | + | |
| - | <WRAP clear/> | + | ^ Key ^ Description |
| - | <WRAP tip> | + | | '' |
| - | In portable applications, | + | | '' |
| - | </WRAP> | + | |
| + | ===== Usage ===== | ||
| + | |||
| + | <code php> | ||
| + | /* | ||
| + | * Connecting to a SQL Server database | ||
| + | */ | ||
| + | |||
| + | $info = $db->serverInfo(); | ||
| + | |||
| + | print_r($info) | ||
| + | /* | ||
| + | * Returns | ||
| + | Array | ||
| + | ( | ||
| + | [description] => test-sqlserver.local connected | ||
| + | [version] => 17.00.0925 | ||
| + | ) | ||
| + | */ | ||
| + | </code> | ||
v5/reference/connection/serverinfo.1685871669.txt.gz · Last modified: by dregad
