php基础练习–图片缩放:复制代码 代码如下:<?php /** * image zoom. */ function imageZoom($filename, $w, $h) { /* Arguments meaning */ /* $filename: the source of the name */ /* $w: you want get the image’s width */ /* $h: you want get the imgage’s height */ $arr = getim