mirror of
https://github.com/igorsimdyanov/php8.git
synced 2025-07-25 17:13:08 +00:00
Глава 43: корректура
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
// Создаем новое изображение
|
||||
$im = imageCreate(100, 100);
|
||||
$w = imageColorAllocate($im, 255, 255, 255);
|
||||
$c1 = imageColorAllocate($im, 0, 0, 255);
|
||||
$c2 = imageColorAllocate($im, 0, 255, 0);
|
||||
$im = imageCreate(100, 100);
|
||||
$w = imageColorAllocate($im, 255, 255, 255);
|
||||
$c1 = imageColorAllocate($im, 0, 0, 255);
|
||||
$c2 = imageColorAllocate($im, 0, 255, 0);
|
||||
// Очищаем фон
|
||||
imageFilledRectangle($im, 0, 0, imageSX($im), imageSY($im), $w);
|
||||
// Устанавливаем стиль пера
|
||||
|
Reference in New Issue
Block a user