Sample code for 30+ languages & platforms
PHP ActiveX Requires Chilkat v11.0.0+

Transition from Http.LastJsonData to Http.GetLastJsonData

See more HTTP Examples

Provides instructions for replacing deprecated LastJsonData method calls with GetLastJsonData.

Chilkat PHP ActiveX Downloads

PHP ActiveX
<?php

$http = new COM("Chilkat.Http");

//  ...
//  ...

//  ------------------------------------------------------------------------
//  The LastJsonData method is deprecated:

// json1 is a Chilkat.JsonObject
$json1 = $http->LastJsonData();
print $json1->emit() . "\n";

//  ------------------------------------------------------------------------
//  Do the equivalent using GetLastJsonData.

$json2 = new COM("Chilkat.JsonObject");
$http->GetLastJsonData($json2);
print $json2->emit() . "\n";

?>