![Picture of Alessandro Picture of Alessandro](/graphics/unknown.gif)
Alessandro - 2013-05-10 17:05:43
I would like to use your php-barcode, but in the server at the fallow link i see this error:
Parse error: syntax error, unexpected T_FUNCTION in /hsphere/local/home/alessand/multisede.it/admin/barcode2/php/php-barcode.php on line 166
at the line 166, there is this code:
$fn = function($points) use ($gd, $color) {
imagefilledpolygon($gd, $points, 4, $color);
};
return self::digitToRenderer($fn, $xi, $yi, $angle, $mw, $mh, $digit);
when I use this code in my local computer in windows all work fine.
the server is in linux from ixwebhosting.com
can you help me please ?
Alessandro Cusumano
PROGEST INFORMATICA
ITALY