mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Update new test to use EXTENSIONS section instead of SKIPIF
This commit is contained in:
parent
261a08af65
commit
b4fb66463b
1 changed files with 2 additions and 4 deletions
|
@ -1,9 +1,7 @@
|
||||||
--TEST--
|
--TEST--
|
||||||
Bug #81739 (OOB read due to insufficient validation in imageloadfont())
|
Bug #81739 (OOB read due to insufficient validation in imageloadfont())
|
||||||
--SKIPIF--
|
--EXTENSIONS--
|
||||||
<?php
|
gd
|
||||||
if (!extension_loaded("gd")) die("skip gd extension not available");
|
|
||||||
?>
|
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$s = fopen(__DIR__ . "/font.font", "w");
|
$s = fopen(__DIR__ . "/font.font", "w");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue