소스 검색

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)
{


불러오는 중...
취소
저장