We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b0575 commit 3a3ff85Copy full SHA for 3a3ff85
ext/gd/tests/bug67325.phpt
@@ -7,14 +7,14 @@ gd
7
if (!GD_BUNDLED && version_compare(GD_VERSION, '2.2.3', '<=')) {
8
die("skip test requires newer than GD 2.2.3");
9
}
10
- if (!(imagetypes() & IMG_JPG)) die('skip JPEG support not available');
+if (!(imagetypes() & IMG_JPG)) die('skip JPEG support not available');
11
?>
12
--FILE--
13
<?php
14
$filename = __DIR__ . DIRECTORY_SEPARATOR . 'bug67325.jpg';
15
16
$im = imagecreatefromjpeg($filename);
17
-imagetruecolortopalette($im, 0, 256);
+imagetruecolortopalette($im, false, 256);
18
19
$white = 0;
20
for ($i = 0; $i < 256; $i++) {
0 commit comments