source: src/router/php7/ext/gd/tests/bug39286-mb.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 6 weeks ago

update php

File size: 375 bytes
Line 
1--TEST--
2Bug #39508 (imagefill crashes with small images 3 pixels or less)
3--SKIPIF--
4<?php
5        if (!extension_loaded('gd')) die("skip gd extension not available\n");
6?>
7--FILE--
8<?php
9$img =imagecreatefromgd2part("foo私はガラスを食べられたす.png",0, 100, 0, 100);
10?>
11--EXPECTF--
12
13Warning: imagecreatefromgd2part(): Zero width or height not allowed in %s on line %d
Note: See TracBrowser for help on using the repository browser.