浏览代码

cli-only

tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 年前
父节点
当前提交
912c12b68e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      caca-php/examples/unicode.php

+ 4
- 0
caca-php/examples/unicode.php 查看文件

@@ -18,6 +18,10 @@
* http://sam.zoy.org/wtfpl/COPYING for more details.
*/

if (php_sapi_name() != "cli") {
die("You have to run this program with php-cli!\n");
}

$cv = caca_create_canvas(0, 0);
if(! $cv)
{


正在加载...
取消
保存