]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Sat, 10 Jan 2009 22:46:57 +0000 (22:46 +0000)
committerAntony Dovgal <tony2001@php.net>
Sat, 10 Jan 2009 22:46:57 +0000 (22:46 +0000)
ext/gd/tests/imageloadfont_invalid.phpt

index 07bf150ac890a725475f2997c36851aa6251da16..78b6a5bd46d42f6300ac6962d5fc671ce4ba5c46 100644 (file)
@@ -8,7 +8,7 @@ imageloadfont() function crashes
 --FILE--
 <?php
 $filename = dirname(__FILE__) .  '/font.gdf';
-$bin = "\x41\x41\x41\x41\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00";
+$bin = b"\x41\x41\x41\x41\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00";
 $fp = fopen($filename, 'wb');
 fwrite($fp, $bin);
 fclose($fp);