<?php
declare(strict_types=1);

$image = imagecreate(2, 2);
imagecolorallocate($image, 255, 0, 0);
imagecolorallocate($image, 0, 0, 255);
echo imagecolorstotal($image), "\n";
