1--TEST-- 2Bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds) 3--SKIPIF-- 4<?php 5 if(!extension_loaded('gd')){ die('skip gd extension not available'); } 6?> 7--FILE-- 8<?php 9$img = imagerotate(imagecreate(10,10),45,0x7ffffff9); 10var_dump($img); 11?> 12--EXPECTF-- 13resource(5) of type (gd) 14