ソースを参照

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


読み込み中…
キャンセル
保存