Home > Backend Development > PHP Tutorial > imagecopy 函数报语法异常,多谢

imagecopy 函数报语法异常,多谢

WBOY
Release: 2016-06-13 12:21:19
Original
1177 people have browsed it

imagecopy 函数报语法错误,在线等,谢谢
源代码是:
$dst_im = imagecreatetruecolor(150, 150);
$src_im = imagecreatefromjpeg("demo_files/sago.jpg");
imagecopy($dst_im,$src_im,0,0,0,0,150,150);


gd已开。报错“PHP Parse error: syntax error, unexpected 'imagecopy' (T_STRING)”。


这是什么情况?好人心帮帮忙。
------解决思路----------------------
语法错误:语法错误,意外的imagecopy”
请贴全错误信息

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template