Sample code for 30+ languages & platforms
PHP Extension

Get Version of Chilkat

Demonstrate how to find out the version of Chilkat at runtime.

Chilkat PHP Extension Downloads

PHP Extension
<?php

include("chilkat.php");

// Most Chilkat classes include a Version property.
// To find the version of Chilkat, such as "9.5.0.94",
// instantiate the object and examine the Version property.

// For example:
$sftp = new CkSFtp();
$chilkatVersion = $sftp->version();
print $chilkatVersion . "\n";

// Most other Chilkat classes also have the Version property
// For example:
$json = new CkJsonObject();
print $json->version() . "\n";

?>