createfromwbmp.phpt
来自「PHP v6.0 For Linux 运行环境:Win9X/ WinME/ Wi」· PHPT 代码 · 共 19 行
PHPT
19 行
--TEST--imagecreatefromwbmp--SKIPIF--<?php if (!function_exists('imagecreatefromwbmp')) die("skip gd extension not available\n"); if (!GD_BUNDLED) die('skip external GD libraries always fail');?>--FILE--<?php$file = dirname(__FILE__) . '/src.wbmp';$im2 = imagecreatefromwbmp($file);echo 'test create from wbmp: ';echo imagecolorat($im2, 3,3) == 0x0 ? 'ok' : 'failed';echo "\n";?>--EXPECT--test create from wbmp: ok
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?