Json phpunit tests updates, fixes in test php with ignore for deprecated

This commit is contained in:
Clemens Schwaighofer
2023-08-02 16:22:09 +09:00
parent d70182a84e
commit 46bc5f2da6
6 changed files with 62 additions and 51 deletions

View File

@@ -63,6 +63,11 @@ print "J/S::E-JSON ERROR: " . $json_class::jsonGetLastError() . ": " . $json_cla
// print "S::JSON: $json: " . DgS::printAr($output) . "<br>";
// print "S::JSON ERROR: " . Jason::jsonGetLastError() . ": " . Jason::jsonGetLastError(true) . "<br>";
// convert an array to json
$array = ['foo' => 'bar'];
$output = Json::jsonConvertArrayTo($array);
print "S::JSON: " . DgS::printAr($array) . " => " . $output . "<br>";
print "</body></html>";
// __END__