[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Update imagesetpixel.xml (#2415)
From: Machou via GitHub <noreply () php ! net>
Date: 2023-04-09 22:52:35
Message-ID: lrW77LPUmnrodCx5eYmEVXJem3H1BK0RGBYlNdN2w () main ! php ! net
[Download RAW message or body]
Author: Machou (Machou)
Committer: GitHub (web-flow)
Pusher: devnexen
Date: 2023-04-09T23:53:15+01:00
Commit: https://github.com/php/doc-en/commit/ee0403b08276f179965318623980378033d34d72
Raw diff: https://github.com/php/doc-en/commit/ee0403b08276f179965318623980378033d34d72.diff
Update imagesetpixel.xml (#2415)
Space missing in PHP example code
Changed paths:
M reference/image/functions/imagesetpixel.xml
Diff:
diff --git a/reference/image/functions/imagesetpixel.xml b/reference/image/functions/imagesetpixel.xml
index 091d9159270..bb20ffd40a9 100644
--- a/reference/image/functions/imagesetpixel.xml
+++ b/reference/image/functions/imagesetpixel.xml
@@ -99,7 +99,7 @@ $corners[2] = array('x' => 200, 'y' => 190);
$red = imagecolorallocate($gd, 255, 0, 0);
for ($i = 0; $i < 100000; $i++) {
- imagesetpixel($gd, round($x),round($y), $red);
+ imagesetpixel($gd, round($x), round($y), $red);
$a = rand(0, 2);
$x = ($x + $corners[$a]['x']) / 2;
$y = ($y + $corners[$a]['y']) / 2;
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic