imagealphablending_error1.phpt 389 B

123456789101112131415
  1. --TEST--
  2. test imagealphablending without arguments
  3. --CREDITS--
  4. Marcelo Diniz <marcelo.leo27 [at] gmail [dot] com
  5. ‪#‎phpspMaisTestFest PHPSP on 2014-07-05
  6. --SKIPIF--
  7. <?php
  8. if (!extension_loaded('gd')) die("skip gd extension not available.");
  9. ?>
  10. --FILE--
  11. <?php
  12. imagealphablending();
  13. ?>
  14. --EXPECTF--
  15. Warning: imagealphablending() expects exactly 2 parameters, 0 given in %s on line %d